@sentiance-react-native/legacy 6.3.0-rc.2 → 6.3.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.
@@ -313,14 +313,20 @@ public class LegacySentianceModule extends AbstractSentianceModule implements Li
313
313
  // Activity `onDestroy`
314
314
  }
315
315
 
316
+ @Override
316
317
  @ReactMethod
317
- public void addListener(String eventName) {
318
- // Set up any upstream listeners or background tasks as necessary
318
+ protected void addListener(String eventName, int subscriptionId, Promise promise) {
319
+
319
320
  }
320
321
 
322
+ @Override
321
323
  @ReactMethod
322
- public void removeListeners(Integer count) {
323
- // Remove upstream listeners, stop unnecessary background tasks
324
+ protected void removeListener(String eventName, int subscriptionId, Promise promise) {
325
+
324
326
  }
327
+
328
+ @Override
329
+ @ReactMethod
330
+ public void removeListeners(Integer count) {}
325
331
  }
326
332
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentiance-react-native/legacy",
3
- "version": "6.3.0-rc.2",
3
+ "version": "6.3.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.3.0-rc.2"
17
+ "@sentiance-react-native/crash-detection": "6.3.0"
18
18
  },
19
19
  "author": "",
20
20
  "license": "",