callstack / react-native-opentok

React Native OpenTok
202 stars 79 forks source link

Return 0 in non-void stopCapture #98

Closed kmiracle86 closed 6 years ago

kmiracle86 commented 6 years ago

My build was failing with a control reaches end of non-void block error. Always return 0 since function expects to return int. Could also change function signature to be void - not an Obj C guy, so let me know if there is a better way to fix this.

thejoelw commented 6 years ago

This was fixed in https://github.com/callstack/react-native-opentok/pull/104