@sentiance-react-native/user-context 6.4.0-rc.2 → 6.4.0

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.
@@ -74,16 +74,20 @@ public class SentianceUserContextModule extends AbstractSentianceModule {
74
74
 
75
75
  @Override
76
76
  @ReactMethod
77
- protected void addListener(String eventName, int subscriptionId, Promise promise) {
77
+ protected void addNativeListener(String eventName, int subscriptionId, Promise promise) {
78
78
 
79
79
  }
80
80
 
81
81
  @Override
82
82
  @ReactMethod
83
- protected void removeListener(String eventName, int subscriptionId, Promise promise) {
83
+ protected void removeNativeListener(String eventName, int subscriptionId, Promise promise) {
84
84
 
85
85
  }
86
86
 
87
+ @Override
88
+ @ReactMethod
89
+ protected void addListener(String eventName) {}
90
+
87
91
  @Override
88
92
  @ReactMethod
89
93
  public void removeListeners(Integer count) {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentiance-react-native/user-context",
3
- "version": "6.4.0-rc.2",
3
+ "version": "6.4.0",
4
4
  "description": "React Native Sentiance - This module provides an easy API to add user context awareness into your apps.",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -14,7 +14,7 @@
14
14
  "sentiance"
15
15
  ],
16
16
  "peerDependencies": {
17
- "@sentiance-react-native/core": "6.4.0-rc.2"
17
+ "@sentiance-react-native/core": "6.4.0"
18
18
  },
19
19
  "author": "",
20
20
  "license": "",