-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Checklist before submitting a bug report
- I've updated to the latest released version of the SDK
- I've searched for existing Github issues
- I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- I've read the Code of Conduct
- This issue is not security related and can safely be disclosed publicly on GitHub
Java version
21.0.9
Android version
API 35
Android SDK version
18.1.3
Installation platform & version
Gradle 8.13
Package
Core & AppEvents
Goals
We're only using facebook-core (for App-Events) and facebook-applinks of the component SDK.
Therefore FacebookActivity isn't used and doesn't have to be declared in Android Manifest.
Expected results
It shouldn't warn about missing FacebookActivity
Actual results
| Validate.hasFacebookActivity(applicationContext, false) |
It outputs this Logcat warning on every startup:
FacebookActivity is not declared in the AndroidManifest.xml. If you are using the facebook-common module or dependent modules please add com.facebook.FacebookActivity to your AndroidManifest.xml file. See https://developers.facebook.com/docs/android/getting-started for more info.
facebook-android-sdk/facebook-core/src/main/java/com/facebook/internal/Validate.kt
Line 37 in 1b75585
private const val FACEBOOK_ACTIVITY_NOT_FOUND_REASON =
Happens while not using facebook-common module. The link has also no info about FacebookActivity. ( the only guide that mentions FacebookActivity seems to be this: https://developers.facebook.com/docs/facebook-login/android/ )
Steps to reproduce
No response