react-native-facebook-login icon indicating copy to clipboard operation
react-native-facebook-login copied to clipboard

Show facebook button but when clicked it crashed.

Open rhenmark opened this issue 7 years ago • 4 comments

Hello. I'm new in developing RN apps. I have an issue on Facebook login. The app suddenly stopped/closed after clicking Facebook button! I don't know why it crashed when it run in emulator it's pretty working but when I installed it on my phone it always crashed. Anyone who encountered the same issue?

rhenmark avatar Mar 13 '17 07:03 rhenmark

Are you getting this crash error in xcode?

Terminating app due to uncaught exception 'InvalidOperationException', reason: 'App ID not found. Add a string value with your app ID for the key FacebookAppID to the Info.plist or call [FBSDKSettings setAppID:].

joaofranca avatar Mar 16 '17 18:03 joaofranca

@joaofranca thanks for pointing that one out. Actually was my mistake.

ddneat avatar May 02 '17 22:05 ddneat

@joaofranca thank you. Could you please show an example here

montaserfzy avatar May 04 '17 19:05 montaserfzy

@montaserfzy my problem was actually not setting up the project correctly. Just followed the guide again and everything worked just fine.

joaofranca avatar May 05 '17 09:05 joaofranca