facebook-android-sdk
facebook-android-sdk copied to clipboard
Can't disable auto init
Checklist before submitting a bug report
- [X] I've updated to the latest released version of the SDK
- [X] I've searched for existing Github issues
- [X] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [X] I've read the Code of Conduct
- [X] This issue is not security related and can safely be disclosed publicly on GitHub
Java version
1.8.0.291
Android version
API 28, Android 9
Android SDK version
16.1.3
Installation platform & version
gradle
Package
Core & AppEvents
Goals
Disable Automatic SDK Initialization
Expected results
Facebook SDK doesn't try automatic initialization on app start
Actual results
The error on the app start what means auto initialization still active
Failed to auto initialize the Facebook SDK
A valid Facebook app id must be set in the AndroidManifest.xml or set by calling FacebookSdk.setApplicationId before initializing the sdk.
Steps to reproduce
- Add to Manifest file tag
<meta-data android:name="com.facebook.sdk.AutoInitEnabled" android:value="false"/>
- Run the app
Code samples & details
// INSERT YOUR CODE HERE