FacebookSdk.sdkInitialize(getApplicationContext()) Deprecated

后端 未结 2 1697
独厮守ぢ
独厮守ぢ 2021-02-13 22:26

I\'m integrating facebook SDK in my app as an option to login for the users. But recently I have started getting FacebookSdk.sdkInitialize(getApplicationContext())

相关标签:
2条回答
  • 2021-02-13 22:48

    Simply do not write this line of code in your class

    FacebookSdk.sdkInitialize(getApplicationContext());
    
    0 讨论(0)
  • 2021-02-13 22:57

    So according to the latest facebook documentation we now don't need to initialize the facebook SDK and it automatically gets invoked. So now FacebookSdk.sdkInitialize(getApplicationContext()) can be deleted.

    0 讨论(0)
提交回复
热议问题