@sentiance-react-native/legacy 6.0.0-beta.19 → 6.0.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.
|
@@ -312,5 +312,15 @@ public class LegacySentianceModule extends AbstractSentianceModule implements Li
|
|
|
312
312
|
public void onHostDestroy() {
|
|
313
313
|
// Activity `onDestroy`
|
|
314
314
|
}
|
|
315
|
+
|
|
316
|
+
@ReactMethod
|
|
317
|
+
public void addListener(String eventName) {
|
|
318
|
+
// Set up any upstream listeners or background tasks as necessary
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
@ReactMethod
|
|
322
|
+
public void removeListeners(Integer count) {
|
|
323
|
+
// Remove upstream listeners, stop unnecessary background tasks
|
|
324
|
+
}
|
|
315
325
|
}
|
|
316
326
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentiance-react-native/legacy",
|
|
3
|
-
"version": "6.0.0
|
|
3
|
+
"version": "6.0.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.0.0
|
|
17
|
+
"@sentiance-react-native/crash-detection": "6.0.0"
|
|
18
18
|
},
|
|
19
19
|
"author": "",
|
|
20
20
|
"license": "",
|