jcore-react-native 2.0.8 → 2.1.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.
@@ -43,6 +43,10 @@ public class JCoreModule extends ReactContextBaseJavaModule {
43
43
  JCollectionAuth.setAuth(reactContext,bool);
44
44
  }
45
45
  @ReactMethod
46
+ public void enableAutoWakeup(boolean bool) {
47
+ JCollectionAuth.enableAutoWakeup(reactContext,bool);
48
+ }
49
+ @ReactMethod
46
50
  public void testCountryCode(ReadableMap readableMap){
47
51
  if (readableMap == null) {
48
52
  return;
package/index.js CHANGED
@@ -17,5 +17,10 @@ export default class JCore {
17
17
  JCoreModule.testCountryCode(params)
18
18
  }
19
19
  }
20
+ static enableAutoWakeup(enable) {
21
+ if (Platform.OS == "android") {
22
+ JCoreModule.enableAutoWakeup(enable)
23
+ }
24
+ }
20
25
 
21
26
  }
@@ -8,7 +8,7 @@
8
8
 
9
9
  /* Begin PBXBuildFile section */
10
10
  08166A7B27EC622A00C7233B /* RCTJCoreModule.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6212E9EF1F3991D500BDF51A /* RCTJCoreModule.h */; };
11
- 08166A7E27EC62A900C7233B /* jcore-ios-3.2.1.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 08166A7D27EC62A900C7233B /* jcore-ios-3.2.1.a */; };
11
+ 2A47130D29E5582800E9C3D7 /* libjcore-ios-4.2.0.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2A47130C29E5582800E9C3D7 /* libjcore-ios-4.2.0.a */; };
12
12
  6212E9F11F3991D500BDF51A /* RCTJCoreModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 6212E9F01F3991D500BDF51A /* RCTJCoreModule.m */; };
13
13
  /* End PBXBuildFile section */
14
14
 
@@ -27,7 +27,7 @@
27
27
 
28
28
  /* Begin PBXFileReference section */
29
29
  08166A7C27EC628200C7233B /* Lib */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Lib; sourceTree = "<group>"; };
30
- 08166A7D27EC62A900C7233B /* jcore-ios-3.2.1.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "jcore-ios-3.2.1.a"; path = "RCTJCoreModule/Lib/jcore-ios-3.2.1.a"; sourceTree = "<group>"; };
30
+ 2A47130C29E5582800E9C3D7 /* libjcore-ios-4.2.0.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libjcore-ios-4.2.0.a"; path = "RCTJCoreModule/libjcore-ios-4.2.0.a"; sourceTree = "<group>"; };
31
31
  6212E9B41F3990DC00BDF51A /* libRCTJCoreModule.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTJCoreModule.a; sourceTree = BUILT_PRODUCTS_DIR; };
32
32
  6212E9EF1F3991D500BDF51A /* RCTJCoreModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTJCoreModule.h; sourceTree = "<group>"; };
33
33
  6212E9F01F3991D500BDF51A /* RCTJCoreModule.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTJCoreModule.m; sourceTree = "<group>"; };
@@ -38,7 +38,7 @@
38
38
  isa = PBXFrameworksBuildPhase;
39
39
  buildActionMask = 2147483647;
40
40
  files = (
41
- 08166A7E27EC62A900C7233B /* jcore-ios-3.2.1.a in Frameworks */,
41
+ 2A47130D29E5582800E9C3D7 /* libjcore-ios-4.2.0.a in Frameworks */,
42
42
  );
43
43
  runOnlyForDeploymentPostprocessing = 0;
44
44
  };
@@ -48,7 +48,7 @@
48
48
  5CE8168A22FC0295007D710C /* Frameworks */ = {
49
49
  isa = PBXGroup;
50
50
  children = (
51
- 08166A7D27EC62A900C7233B /* jcore-ios-3.2.1.a */,
51
+ 2A47130C29E5582800E9C3D7 /* libjcore-ios-4.2.0.a */,
52
52
  );
53
53
  name = Frameworks;
54
54
  sourceTree = "<group>";
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "author" : "wicked.tc130",
6
6
  "license" : "ISC",
7
7
  "main" : "index.js",
8
- "version" : "2.0.8",
8
+ "version" : "2.1.0",
9
9
  "repository" : {
10
10
  "type": "git",
11
11
  "url": "https://github.com/jpush/jcore-react-native"