jcore-react-native 2.0.4 → 2.0.5

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.
@@ -1,4 +1,4 @@
1
- package cn.jiguang.plugins.push.common;
1
+ package cn.jiguang.plugins.core;
2
2
 
3
3
  public class JConstants {
4
4
 
@@ -20,9 +20,9 @@ import org.json.JSONObject;
20
20
 
21
21
  import java.util.HashSet;
22
22
  import java.util.Set;
23
-
23
+ import cn.jiguang.plugins.core.JConstants;
24
24
  import cn.jiguang.api.utils.JCollectionAuth;
25
-
25
+ import cn.jiguang.api.JCoreInterface;
26
26
 
27
27
  public class JCoreModule extends ReactContextBaseJavaModule {
28
28
 
package/index.js CHANGED
@@ -10,9 +10,7 @@ const JCoreModule = NativeModules.JCoreModule
10
10
  export default class JCore {
11
11
 
12
12
  static setAuth(auth) {
13
- if (Platform.OS == "android") {
14
- JCoreModule.setAuth(auth)
15
- }
13
+ JCoreModule.setAuth(auth)
16
14
  }
17
15
  static testCountryCode(params) {
18
16
  if (Platform.OS == "android") {
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.4",
8
+ "version" : "2.0.5",
9
9
  "repository" : {
10
10
  "type": "git",
11
11
  "url": "https://github.com/jpush/jcore-react-native"