-
Notifications
You must be signed in to change notification settings - Fork 142
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
Android 11 (SDK 30) - Chrome Custom Tabs not available #179
Comments
I realized, that this plugin is not able to get available browsers from the device anymore (which supports Custom Tabs). After reading google documentation: Following change to <config-file target="AndroidManifest.xml" parent="/manifest">
<queries>
<intent>
<action android:name="android.support.customtabs.action.CustomTabsService" />
</intent>
</queries>
</config-file> Example: <?xml version='1.0' encoding='utf-8'?>
<widget
id="xxx"
version="xxx"
xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
android-versionCode="xxx"
ios-CFBundleVersion="xxx"
>
<name>xxx</name>
<description>xxx</description>
<content src="index.html" />
<access origin="*" />
........
<platform name="android">
<preference name="android-targetSdkVersion" value="30"/>
.........
<config-file target="AndroidManifest.xml" parent="/manifest">
<queries>
<intent>
<action android:name=
"android.support.customtabs.action.CustomTabsService" />
</intent>
</queries>
</config-file>
</platform>
</widget> |
@bbialas I created a pull request implementing your fix. Thanks for figuring this out! @EddyVerbruggen could you please test and merge this fix? Thanks guys! |
…lable (in cordova-plugin-safariviewcontroller). Link to issue resolved here: EddyVerbruggen/cordova-plugin-safariviewcontroller#179
Any idea when this will be released or do I just have to apply the patch myself? |
Confirmed! |
@EddyVerbruggen and @ucsbricks, thanks for this great plugin! This issue is, unfortunately, causing the login process of my app to malfunction. I would also really appreciate this fix to be released soon as the Google Play Store is not going to accept an update to my app without my app targeting Android SDK version 30. |
I'm having the same issues with login. |
@bbialas Fixed my issue aswell. Thanks |
check my plugin (https://github.com/WuglyakBolgoink/cordova-plugin-quick-fix-svc) as a fallback related to #180 |
Thanks all for the work identifying the issue and developing the solution! It would be great to get the fix merged in and released, so workaround approaches can be avoided. |
Hey, same issue and seeing an Any ETA for merging the fix and releasing new update? |
Plugin version used: 2.0.0
After changing Cordova Target SDK version to 30 (Android 11) and app is running on the device with Android 11, this plugin doesn't work anymore.
Code that I use
available
always returnsfalse
.Any ideas?
The text was updated successfully, but these errors were encountered: