facebook-android-sdk
facebook-android-sdk copied to clipboard
Use CustomTabActivity to open Fallback Feed Link to fix Embedded WebView Error
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
17.0.9
Android version
Android 10
Android SDK version
33
Installation platform & version
Gradle
Package
Share
Goals
Users of my App should be able to Share Link on Facebook
Expected results
when calling ShareDialog.open and the Facebook App is not installed, i expect the Fallback Feed Url to be opened in a Chrome Custom Tab so all users can login
Actual results
The Fallback is opened in the Embedded WebView and some users can not login
Steps to reproduce
No response
Code samples & details
// INSERT YOUR CODE HERE
I also have this problem in App share logic. SDK version 16.3.0 . When in another logic of login for user info , it succeed when register CustomTabActivity or with an out app browser callback, but when calling ShareDialog.show it invoke inner webview login and cause error. I have Finding the deprecating-webviews so it seems a bug case now, the correct case should be a login invoke in outside browser app or invoke the CustomTabActivity login case.