Skip to content

Fix of PlatformException about the RECEIVER_EXPORTED flag#3

Open
zxxdanxxz wants to merge 1 commit intoErhannis:masterfrom
zxxdanxxz:feature/ble-android-12-flutter-3.22.0
Open

Fix of PlatformException about the RECEIVER_EXPORTED flag#3
zxxdanxxz wants to merge 1 commit intoErhannis:masterfrom
zxxdanxxz:feature/ble-android-12-flutter-3.22.0

Conversation

@zxxdanxxz
Copy link

Your package worked fine in my application until I upgraded Flutter to 3.29.2 and decided to test it with HC-06 LowEnergy. I found that the Platform Exception "One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts" occurs on Android 12 devices when building an application with Flutter 3.22.0 or higher.

So I decided to add a BluetoothContextCompat class to solve this problem. It would be very nice if we updated the version of your package with these changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant