-
Notifications
You must be signed in to change notification settings - Fork 449
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
Dropbox login crash on Android 13 with targetSdk 33 #406
Comments
Thanks for the report! We'll look into it. |
Hey @DynamicG-Android, could you show me what your manifest looks like? Are you using the com.dropbox.core.android.AuthActivity like the example app? I got it working on the example app by adding the following intent filter under the AuthActivity
Let me know if that helps. |
perfect. yes this works. many thanks. (and yes, my manifest entry is like in the example app). recap for those stumbling over the same problem and seeing this - the second intent-filter needs to be added to manifest when targeting Android 13:
|
@DynamicG-Android We're exploring other options to not require that extra intent-filter but those will depend on an update to the Dropbox App which might take some time |
Fixed. We've shipped some changes in our Dropbox application and the extra intent filter is no longer required. Feel free to remove it from your manifest. I just tested this flow with no extra intent filter on Dropbox 298.2.2 and our example app that's being released with |
@devPalacio thank you for fixing this. I assume it is save to leave the intent filter for users which haven't upgraded their dropbox app yet, right? |
Yes, this is a valid as a workaround until you're confident your users are running a newer version of Dropbox. |
FYI: This version @devPalacio mentions v |
We made a mistake when testing our sdk integration with the Dropbox app. Unfortunately the crash still exists with the latest version Dropbox. Please continue to use the extra intent filter until we come up with a better solution. |
We've determined a fix from the Dropbox app side for this issue. We needed to explicitly add in the I'm going to re-open this issue until the fix in the Dropbox application is widely available. WORKAROUND: This issue can be avoided using the answer above #406 (comment) |
This PR updates the Sample app with this workaround when targeting SDK 33. https://github.com/dropbox/dropbox-sdk-java/pull/472/files |
The fix should be fully released now. Please let us know if you're still seeing any issues with the latest SDK/app. |
Hi,
I've lifted my app to targetSdk 33. The Dropbox login flow crashes on my Android 13 device when pressing "Allow" in the "grant access" dialog in the Dropbox app (i.e. throwing ActivityNotFound when trying to call back to my app). Very likely root cause: "Intent filters block non-matching intents" change introduced with Android 13 SDK 33. It works fine when reverting my app to targetSdk 31.
Are you aware of this issue? I assume this needs a patch on your side (?)
Stack trace:
The text was updated successfully, but these errors were encountered: