I just moved to EAS CI.
I installed the package react-native-share, then create a build with EAS, started the dev client.
When I try to use the library, I get this error :
TypeError: null is not an object (evaluating '_reactNative.NativeModules.RNShare.FACEBOOK')
TypeError: null is not an object (evaluating '_reactNative.NativeModules.RNShare.FACEBOOK')
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:104:6 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:172:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/@react-native/polyfills/error-guard.js:49:36 in ErrorUtils.reportFatalError
at node_modules/metro-runtime/src/polyfills/require.js:203:6 in guardedLoadModule
at http://172.20.10.2:8081/App.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:368423:3 in global code
Try downloading and extracting that and then dragging the RNShare.app to your Simulator to install it. Then open it and try to connect to your dev server from your app (assuming you’re also using SDK 45.)
Otherwise clone my test app, install the dependencies, run expo start and try connecting to it from my dev client.
Thanks for the answer I will check it !
Small question, how is that working on a simulator ? I thought you couldn’t get any social media since there’s no app store on it