box / box-android-sdk

Apache License 2.0
62 stars 74 forks source link

Android Api 30 package visibility changes #442

Open iyosifov opened 3 years ago

iyosifov commented 3 years ago

The SDK seems to specially integrate with the android box app and checks whether it's installed. For this to work in apps targeting api 30 you need in the manifest:

<queries>
    <intent>
        <action android:name="com.box.android.action.AUTHENTICATE_VIA_BOX_APP" />
    </intent>
</queries>

If you add this to your android library manifest, it will be merged into the containing app.

https://developer.android.com/training/package-visibility