@sentiance-react-native/legacy 6.0.0-beta.12 → 6.0.0-beta.13

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.
@@ -7,15 +7,15 @@ var legacyModule
7
7
  if (Platform.OS === 'ios') {
8
8
  if (!SentianceCore) {
9
9
  const nativeModuleName = varToString({SentianceCore});
10
- throw `Could not locate the native ${nativeModuleName} module.
11
- Make sure that your native code is properly linked, and that the module name you specified is correct.`;
10
+ console.error(`Could not locate the native ${nativeModuleName} module.
11
+ Make sure that your native code is properly linked, and that the module name you specified is correct.`);
12
12
  }
13
13
  legacyModule = SentianceCore
14
14
  } else {
15
15
  if (!RNSentiance) {
16
16
  const nativeModuleName = varToString({RNSentiance});
17
- throw `Could not locate the native ${nativeModuleName} module.
18
- Make sure that your native code is properly linked, and that the module name you specified is correct.`;
17
+ console.error(`Could not locate the native ${nativeModuleName} module.
18
+ Make sure that your native code is properly linked, and that the module name you specified is correct.`);
19
19
  }
20
20
  legacyModule = RNSentiance
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentiance-react-native/legacy",
3
- "version": "6.0.0-beta.12",
3
+ "version": "6.0.0-beta.13",
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-beta.12"
17
+ "@sentiance-react-native/crash-detection": "6.0.0-beta.13"
18
18
  },
19
19
  "author": "",
20
20
  "license": "",