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

Android Security Alert: Another app on your phone may be trying to... #293

Open
vikrama opened this issue Oct 30, 2020 · 5 comments
Open

Comments

@vikrama
Copy link

vikrama commented Oct 30, 2020

Using the SDK in a debug build in Android emulator, dropbox.AuthActivity errors out with a Security Alert "There might be more than one app trying to handle....".

I see that it is very similar to : #153 and the error is

  1. My app is the only non-default app in the emulator.
  2. I have verified that there are no multiple declarations of dropbox.AuthActivity in AndroidManifest files.
  3. Have tried uninstalling and re-installing the debug build multiple times.

Any idea what's going on?

@vikrama
Copy link
Author

vikrama commented Oct 30, 2020

With the advent of App Bundle, can the dropbox.AuthActivity declaration continue to be in a module's manifest or should it be in the base module's manifest? For some reason, when AuthActivity starts, it's finding 2 instances of it under my app's packagename.

@greg-db
Copy link
Contributor

greg-db commented Oct 30, 2020

Can you try restarting the emulator's OS, if you haven't already? While not typically necessary, in some cases we've heard that a restart is required for the system to reflect changes to these.

@vikrama
Copy link
Author

vikrama commented Nov 7, 2020

Yes, behavior continues after a cold start and even after restarting the OS.

@greg-db
Copy link
Contributor

greg-db commented Nov 9, 2020

Thanks for checking that. I'm not sure off hand what may be causing this then, so we'll have to look into it. (It may be related to using an App Bundle, but I don't know if the SDK has been tested with that in particular. I believe it predates App Bundles.)

To help us reproduce this, would you be able to share am AndroidManifest.xml file(s) (or a sample project, if possible), that produces this issue? Thanks in advance!

@Sardarwaqas800
Copy link

Clear all issue

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

3 participants