Facebook Sdk Has Not Been Initialized FacebookSdk.sdkInitialize()

前端 未结 8 1342
隐瞒了意图╮
隐瞒了意图╮ 2020-12-04 23:55

Hey I know this was asked before, but none of the solutions seem to help. I\'m using first time Facebook SDK in my application.

What I\'ve tried:

I had tried

8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-05 00:26

    There is a reason why sdkInitialize() is deprecated.

    Go to your manifest file within the android folder and add following

    
    

    After that append in your strings.xml file (res/values/strings.xml) the string entry:

    APP_ID
    

    Close your Metro Builder and rebuild your Project using react-native run-android

提交回复
热议问题