-
Notifications
You must be signed in to change notification settings - Fork 64
net: ERR_UNKNOWN_URL_SCHEME with targetSdkVersion 30 #180
Comments
Hello - |
Hi, Unfortunately it is no longer possible to build for sdk29 since 1st of November... |
There is a cordova-plugin-safariviewcontroller v2.0.1 (current is v2.0.0) that hasn't yet been merged that contains the fix for this issue. In the meantime, adding this to the end of my AndroidManifest.xml gets my app around this issue:
|
FYI - I got the concept above from this: https://github.com/EddyVerbruggen/cordova-plugin-safariviewcontroller/pull/180/files |
Ok guys i have temporarily resolved this issue before release of fixed plugin cordova-plugin-safariviewcontroller v2.0.1. Thanks to @alexneats for suggestion.
in AndroidManifest.xml (attention, this block must be placed outside the tag
to
You probably have an error also in this case, cause is necessary update distributionUrl located in gradle-wrapper.properties for updated gradle. |
Thank you! You are awesome! |
If you don't want to manually edit your
The plugin |
We would love to see this fixed. For now, we are using the solution from @cels and it works well. |
It showing an error |
Bug Report
Problem
Use auth0 in Ionic cordova app, and when user sign in to app successfully cannot redirect to app because net: ERR_UNKNOWN_URL_SCHEME error. targetSdkVersion 29 was worked, but when upgrade to 30 get this error on Android 11 platform, but works on Android 10.
What is expected to happen?
Successfully redirect to app on Android 11
What does actually happen?
Get net: ERR_UNKNOWN_URL_SCHEME error.
Information
Command or Code
Auth0 integration
Environment, Platform, Device
Android 11
Version information
Cordova CLI: 10.0.0
Cordova platform: Cordova-Android 10.1.1
Frameworks: Ionic 5 with Angular 12.1.0
Checklist
The text was updated successfully, but these errors were encountered: