@cloudflare/realtimekit-react-native 0.1.2-staging.8 → 0.1.2-staging.9

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.
@@ -832,7 +832,8 @@ class LocalMediaHandler extends EventEmitter {
832
832
  this.destructor();
833
833
  }
834
834
  destructor() {
835
- __classPrivateFieldGet(this, _LocalMediaHandler_appStateSubscription, "f").remove();
835
+ if (Platform.OS === 'android')
836
+ __classPrivateFieldGet(this, _LocalMediaHandler_appStateSubscription, "f").remove();
836
837
  broadcastEmitter.removeAllListeners('iOS_BroadcastStarted');
837
838
  broadcastEmitter.removeAllListeners('iOS_BroadcastStopped');
838
839
  BackgroundTimer.stop();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit-react-native",
3
- "version": "0.1.2-staging.8",
3
+ "version": "0.1.2-staging.9",
4
4
  "description": "Cloudflare RealtimeKit SDK for react native",
5
5
  "main": "lib/index.js",
6
6
  "author": "Cloudflare",