'Void method '' should not return a value

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



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source