react-native-ble-manager 11.5.1 → 11.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -170,8 +170,8 @@ class BleManager extends ReactContextBaseJavaModule {
170
170
  if (Build.VERSION.SDK_INT >= UPSIDE_DOWN_CAKE){
171
171
  // Google in 2023 decides that flag RECEIVER_NOT_EXPORTED or RECEIVER_EXPORTED should be explicit set SDK 34(UPSIDE_DOWN_CAKE) on registering receivers.
172
172
  // Also the export flags are available on Android 8 and higher, should be used with caution so that don't break compability with that devices.
173
- context.registerReceiver(mReceiver, filter, Context.RECEIVER_NOT_EXPORTED);
174
- context.registerReceiver(mReceiver, intentFilter, Context.RECEIVER_NOT_EXPORTED);
173
+ context.registerReceiver(mReceiver, filter, Context.RECEIVER_EXPORTED);
174
+ context.registerReceiver(mReceiver, intentFilter, Context.RECEIVER_EXPORTED);
175
175
  } else {
176
176
  context.registerReceiver(mReceiver, filter);
177
177
  context.registerReceiver(mReceiver, intentFilter);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-ble-manager",
3
- "version": "11.5.1",
3
+ "version": "11.5.2",
4
4
  "description": "A BLE module for react native.",
5
5
  "repository": {
6
6
  "type": "git",