5 ms·
Ask HN: Where to start in making a React Native wrapper for an iOS/Android API?
I've never attempted this before. I'd like to take a shot at making a RN wrapper for the MPRemoteCommandCenter for iOS. How do I get moving in the right direction, assuming that I have zero experience in merging iOS/Android API's into JS?
- ghuntley 9y agoGoogle RCT_EXPORT_METHOD
- templaedhel 9y agoRead the docs - React Native in general has good docs and the native module guides are especially well done in my opinion. IOS - https://facebook.github.io/react-native/docs/native-modules-ios.html https://facebook.github.io/react-native/docs/native-modules-... Android - https://facebook.github.io/react-native/docs/native-modules-android.html https://facebook.github.io/react-native/docs/native-modules-...
- isthispermanent 9y agoThanks. Hadn't seen that section