rn-system-bar 3.2.2 → 3.2.3

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.
@@ -655,9 +655,9 @@ class SystemBarModule(
655
655
  mediaRouter.addCallback(
656
656
  android.media.MediaRouter.ROUTE_TYPE_LIVE_VIDEO,
657
657
  cb,
658
- // CALLBACK_FLAG_REQUEST_DISCOVERY is typed as BigInteger in newer SDK bindings
659
- android.media.MediaRouter.CALLBACK_FLAG_REQUEST_DISCOVERY.toInt() or
660
- android.media.MediaRouter.CALLBACK_FLAG_PERFORM_ACTIVE_SCAN.toInt()
658
+ // CALLBACK_FLAG_REQUEST_DISCOVERY (0x4) and CALLBACK_FLAG_PERFORM_ACTIVE_SCAN (0x2)
659
+ // were removed from the Android SDK — use their raw int values directly.
660
+ 0x4 or 0x2
661
661
  )
662
662
  }
663
663
  emitAppCastChange()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rn-system-bar",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
4
4
  "description": "Control Android & iOS system bars, brightness, volume, orientation and screen flags from React Native.",
5
5
  "main": "lib/index.js",
6
6
  "react-native": "lib/index.js",