dropbox/dropbox-sdk-java

AuthActivity not found when Dropbox app installed with Android target SDK 33 on Android 13 device

michaelkircher opened this issue · 5 comments

Setup: Android app using latest Dropbox SDK 5.4.1, but also with 5.1.1. Android target SDK 33. Testing on device with Android 13.

When authenticating while having the Dropbox app installed on the device the activity is not found:
android.content.ActivityNotFoundException: Unable to find explicit activity class
{my.app.domain/com.dropbox.core.android.AuthActivity}.

Trying the same without the Dropbox app installed and using the browser works.
Trying the same with the Dropbox app installed on a Android 9 device works.

Changing to Android target SDK 32 as single change, will make authentication again work with the Dropbox app installed on also on Android 13 device.

Hey @michaelkircher, could you try the following?

Also, could you let me know what version of the Dropbox App you have installed?

You can find it by navigating to the settings page and scrolling down to App version in the Dropbox app.

Also, could you let me know what version of the Dropbox App you have installed?
You can find it by navigating to the settings page and scrolling down to App version in the Dropbox app.

298.2.2 - so it seems it is still problematic

Entering a second intent-filter entry in the Manifest does the trick, but I guess it can lead to other side effects, when multiple apps expecting Dropbox handshakes are installed on the end user's device?

Thank you for verifying. It's not the ideal workaround, we'll look into further changes in the Dropbox app that will eliminate the need for the generic intent filter.

Duplicate of #406