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.
|
@@ -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
|
-
|
|
14
|
-
JCoreModule.setAuth(auth)
|
|
15
|
-
}
|
|
13
|
+
JCoreModule.setAuth(auth)
|
|
16
14
|
}
|
|
17
15
|
static testCountryCode(params) {
|
|
18
16
|
if (Platform.OS == "android") {
|