Skip to content

Commit dc5fdd9

Browse files
committed
fix(android): using truncated eventName for hash table
1 parent 533bdd2 commit dc5fdd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/io/ionic/portals/reactnative/ReactNativePortalsPubSub.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ internal class PortalsPubSubModule(reactContext: ReactApplicationContext) :
2828
.emit(eventName, result.toJSObject().toReactMap())
2929
}
3030

31-
subscriptionRefs[eventName] = ref
31+
subscriptionRefs[topic] = ref
3232
}
3333

3434
@ReactMethod

0 commit comments

Comments
 (0)