From 99c9dfa219a3c4d57bd8b2c3571f59ea6460d436 Mon Sep 17 00:00:00 2001 From: Joseph Pender Date: Wed, 23 Apr 2025 12:27:55 -0500 Subject: [PATCH 1/2] fix: removing mass unsubscribe in removeListeners --- .../io/ionic/portals/reactnative/ReactNativePortalsPubSub.kt | 5 ----- 1 file changed, 5 deletions(-) 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() } } From db5a5b9f96efa5c01f046b7c8143dfa120149e8a Mon Sep 17 00:00:00 2001 From: theproducer Date: Tue, 6 May 2025 21:31:15 +0000 Subject: [PATCH 2/2] Commit from GitHub Actions (Pre-Release) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",