Platform
Android api 34
Plugin
battery_plus
Version
4.0.0
Flutter SDK
Main
Steps to reproduce
Android API 34 will enforce broadcast receivers to declare if they wish to be exported.
Battery plus uses a broadcast receiver and does not specify if it is exported apps targeting api 34 will not be able to compile if using battery plus.
I tried to find publicly available documentation or comment that this is happening but everything I found is internal.
This was found because of a google customer of battery plus trying to compile against the latest 34 implementation.
More context:
https://developer.android.com/guide/components/broadcasts#context-registered-receivers
https://developer.android.com/guide/topics/manifest/receiver-element
https://developer.android.com/reference/androidx/core/content/ContextCompat#registerReceiver(android.content.Context,android.content.BroadcastReceiver,android.content.IntentFilter,int)
Code Sample
No response
Logs
Flutter Doctor
Checklist before submitting a bug
Platform
Android api 34
Plugin
battery_plus
Version
4.0.0
Flutter SDK
Main
Steps to reproduce
Android API 34 will enforce broadcast receivers to declare if they wish to be exported.
Battery plus uses a broadcast receiver and does not specify if it is exported apps targeting api 34 will not be able to compile if using battery plus.
I tried to find publicly available documentation or comment that this is happening but everything I found is internal.
This was found because of a google customer of battery plus trying to compile against the latest 34 implementation.
More context:
https://developer.android.com/guide/components/broadcasts#context-registered-receivers
https://developer.android.com/guide/topics/manifest/receiver-element
https://developer.android.com/reference/androidx/core/content/ContextCompat#registerReceiver(android.content.Context,android.content.BroadcastReceiver,android.content.IntentFilter,int)
Code Sample
No response
Logs
Flutter Doctor
Checklist before submitting a bug
flutter pub upgradeflutter clean