I wanted to change the target version to update the app on stores and changed my target framework version to 31 and compile version to Android 12 as well but the build fails with the below exception android:exported needs to be explicitly specified for element <receiver#crc64df999be563077fc4.BootReceiver>. 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.
I have checked the whole android project and added the Exported = true to all the services and receivers but the issue persists. I am not sure where the BootReceiver is coming from and what service is using this. If anyone has any insight on this problem or how to trace this issue would be appreciated.
Steps to Reproduce
Change the targetversion to 31 and compileversion to Android 13
Expected Behavior
Build should be successful
Actual Behavior
Build fails with exception
Basic Information
Version with issue: 5.0.0.2337
Last known good version: N/A
Platform Target Frameworks:
Android: Android API 31
Android Support Library / AndroidX Version:
Not sure on this but here is what I am using
Description
I wanted to change the target version to update the app on stores and changed my target framework version to 31 and compile version to Android 12 as well but the build fails with the below exception
android:exported needs to be explicitly specified for element <receiver#crc64df999be563077fc4.BootReceiver>. 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.
I have checked the whole android project and added the Exported = true to all the services and receivers but the issue persists. I am not sure where the BootReceiver is coming from and what service is using this. If anyone has any insight on this problem or how to trace this issue would be appreciated.
Steps to Reproduce
Expected Behavior
Build should be successful
Actual Behavior
Build fails with exception
Basic Information