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

Not working on Android 10 #315

Open
widonwaker opened this issue Feb 12, 2020 · 7 comments
Open

Not working on Android 10 #315

widonwaker opened this issue Feb 12, 2020 · 7 comments

Comments

@widonwaker
Copy link

handleOpenURL never gets invoked on Android 10. Any solution?

@bendspoons
Copy link

Try using

window.handleOpenURL = function handleOpenURL(url) {}

instead of only

handleOpenURL = function handleOpenURL(url) {}

With this it has worked every time (Huawei with Android 10)

@thana-arnam
Copy link

@widonwaker I have the same problem. Can you fix it? How to?

@widonwaker
Copy link
Author

widonwaker commented Apr 6, 2020

Seems like it's related to 2 factors authentication (Google, Facebook) with Android 10

@AhmedSamir74
Copy link

i have same problem any updates?

@widonwaker
Copy link
Author

widonwaker commented Apr 25, 2020

No, I did not manage to make it working yet.

Update: seems to not work even in Android 9, on some devices. It's not related to Android version but something else.

@widonwaker
Copy link
Author

UPDATE: for eveyone using this plugin for social login...check if names contain single quotes...they break the code.

@allnash
Copy link

allnash commented May 5, 2020

@widonwaker Try doing the following to make this work on Android X.

Add these to config.xml

    <plugin name="cordova-plugin-androidx" spec="^1.0.2" />
    <plugin name="cordova-plugin-enable-multidex" spec="^0.2.0" />
    <plugin name="cordova-support-android-plugin" spec="^1.0.2" />
    <plugin name="cordova-plugin-androidx-adapter" spec="~1.1.0" />

These plugins convert the files imports.

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

No branches or pull requests

5 participants