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