Closed plavelo closed 7 months ago
Android 14 requires RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED to call registerReceiver.
https://developer.android.com/about/versions/14/behavior-changes-14#runtime-receivers-exported https://developer.android.com/reference/android/content/Context#RECEIVER_EXPORTED
android.enableR8=true
RECEIVER_EXPORTED
Sounds good thanks for this!
@jaumard can you help out with the steps to fix this. I have a flutter project and under kotlin folder old mainactivity.kt
Android 14 requires RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED to call registerReceiver.
https://developer.android.com/about/versions/14/behavior-changes-14#runtime-receivers-exported https://developer.android.com/reference/android/content/Context#RECEIVER_EXPORTED
changes
android.enableR8=true
RECEIVER_EXPORTED
to registerReceiver for Android 14