Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CustomTabActivity to open Fallback Feed Link to fix Embedded WebView Error #1235

Open
5 tasks done
chrisgradl opened this issue Feb 21, 2024 · 1 comment
Open
5 tasks done

Comments

@chrisgradl
Copy link

chrisgradl commented Feb 21, 2024

Checklist before submitting a bug report

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

Screenshot_20240221-094526 (1)

Steps to reproduce

No response

Code samples & details

// INSERT YOUR CODE HERE
@chrisgradl chrisgradl changed the title Use CustomTabActivity for Fallback Sharing when using ShareDialog.open to fix Embedded WebView Error Use CustomTabActivity to open Fallback Feed Link to fix Embedded WebView Error Feb 21, 2024
@george5613
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants