facebookarchive / react-native-fbsdk

A React Native wrapper around the Facebook SDKs for Android and iOS. Provides access to Facebook login, sharing, graph requests, app events etc.
https://developers.facebook.com/docs/react-native
Other
2.99k stars 909 forks source link

autoInitEnabled is removed from iOS, should wrap the initialize function #840

Open rnike opened 3 years ago

rnike commented 3 years ago

According to the Changelog of facebook-ios-sdk v9.0.0, the autoInitEnabled has been removed, developers should initialize the sdk manually.

TODO Wrap initialize function for this package, following the instruction

  1. The initializeSDK should be wrapped for iOS.
  2. For Android should wrap fullyInitialize also.

Workaround Call initializeSDK from AppDelegate.m in applicationDidFinishLaunching as the document says