BrowserTabActivity android:exported needs to be explicitly specified
See original GitHub issueXamarin.Forms [5.0.0.2515] Android Issue Microsoft.Identity.Client 4.45.0
We are updating our Xamarin Android project to target android v12.1 (API 32) from v11 to allow for new style splash screen for those users. We have had to explicitly add exported attributes to our activities and services due to this version change.
Getting an error in AndroidManifest.xml on Building/Rebuilding
android:exported needs to be explicitly specified for element <activity#crc648316b0a9aa8cfd61.BrowserTabActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for android:exported
when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
Have tried Updating numerous Nuget Packages with the same error showing.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
@TheMrChaptastic we will test API32. In the meantime, you can take a look at the MAUI samples. They have the
android:exported
attributes that you mentioned. It will be great, if you can move to MAUI as it is the future.Another todo for this is to update App Center tests and add devices for v12.1 (API 32) and v13 (API 33). We currently only have v12 and v11.