diff --git a/android/src/main/java/io/ionic/portals/reactnative/ReactNativePortalsPubSub.kt b/android/src/main/java/io/ionic/portals/reactnative/ReactNativePortalsPubSub.kt index df0283b..c74ce82 100644 --- a/android/src/main/java/io/ionic/portals/reactnative/ReactNativePortalsPubSub.kt +++ b/android/src/main/java/io/ionic/portals/reactnative/ReactNativePortalsPubSub.kt @@ -33,11 +33,6 @@ internal class PortalsPubSubModule(reactContext: ReactApplicationContext) : @ReactMethod fun removeListeners(count: Int) { - subscriptionRefs.forEach { - PortalsPubSub.shared.unsubscribe(it.key, it.value) - } - - subscriptionRefs.clear() } } diff --git a/package.json b/package.json index bcd2270..128ce07 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ionic/portals-react-native", - "version": "0.8.1", + "version": "0.8.2", "description": "Portals for React Native", "main": "lib/commonjs/index", "module": "lib/module/index",