@sentiance-react-native/legacy 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.
@@ -315,16 +315,20 @@ public class LegacySentianceModule extends AbstractSentianceModule implements Li
315
315
 
316
316
  @Override
317
317
  @ReactMethod
318
- protected void addListener(String eventName, int subscriptionId, Promise promise) {
318
+ protected void addNativeListener(String eventName, int subscriptionId, Promise promise) {
319
319
 
320
320
  }
321
321
 
322
322
  @Override
323
323
  @ReactMethod
324
- protected void removeListener(String eventName, int subscriptionId, Promise promise) {
324
+ protected void removeNativeListener(String eventName, int subscriptionId, Promise promise) {
325
325
 
326
326
  }
327
327
 
328
+ @Override
329
+ @ReactMethod
330
+ protected void addListener(String eventName) {}
331
+
328
332
  @Override
329
333
  @ReactMethod
330
334
  public void removeListeners(Integer count) {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentiance-react-native/legacy",
3
- "version": "6.4.0-rc.2",
3
+ "version": "6.4.0",
4
4
  "description": "React Native Sentiance - This module provides a legacy API.",
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/crash-detection": "6.4.0-rc.2"
17
+ "@sentiance-react-native/crash-detection": "6.4.0"
18
18
  },
19
19
  "author": "",
20
20
  "license": "",