react-native-fbsdk broken after publish project


#1

Hello,
in order to use react-native-fbsdk to publish on Facebook (I’ve ejected from Expo
with ExpoKit option), everything works well in the iPhone simulator and in the real device (performed by XCode), but it is broken after publishing with “expo publish” to open it with App Expo on the device.
I can not see the error … simply the method ShareDialog does nothing and interrupts three scripts (no code is executed below), how can I debug it?
On the simulator I can see the log (with browser or console) but after publishing the app to expo server can I debug it?
Thank you


#2

After added try-catch i see the error “TypeError: undefined is not an object (evaluating s.canShow)”, it can be an issue on POD configuration?
I seen a lot of post that say to download react-native-fbsdk and copy RCTFBSDK.xcodeproj into “Libraries” folder but into xCode project a dont see this folder… i see only Products, Pots and Framewordk and one folder with project name

Help me please…


closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.