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

Modify AndroidManifest.xml to address package visibility issue in Android 11 #107

Open
jpatdu-credovita opened this issue Aug 3, 2021 · 0 comments

Comments

@jpatdu-credovita
Copy link

With the release of Android 11 comes new handling of package visibility

I'm suspecting that because of this, my app on emulated Android 10 works fine; But on my phone with Android 11 the auth activity thinks that there are no browsers installed, thus presenting an error that (incorrectly) states that my phone does not have a web browser to launch the Auth0 website for logging in.

Particularly, I see this on my Logcat:
AppsFilter: interaction: PackageSetting{c742ef3 com.mica.drugstore/10544} -> PackageSetting{115f6c5 com.android.chrome/10187} BLOCKED

What ultimately fixed this was adding the QUERY_ALL_PACKAGES permission in my AndroidManifest.xml, as so:
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/>

Moving forward, I'm practically clueless as to native Android development, so I'm not quite sure how this can be implemented in the project — could a simple PR to the README asking users to add the aforementioned permission alongside the RedirectActivity be enough? Or could this be implemented in code? Or — could the problem be on entirely on my end?

Thanks

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

1 participant