Void method '' should not return a value

Viewed 47

I am getting this error while running application via xcode. I am trying to do this, I am new to ios development . How I can use this method inside .js file ?

in NativeBridge.m

RCT_EXPORT_METHOD(listDevice)

{ return [meetingSession.audioVideo listDevice]; I get error :

Void method 'listDevice' should not return a value

0 Answers
Related