File tree Expand file tree Collapse file tree
android/src/main/java/cn/jiguang/plugins/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,14 +47,14 @@ public void enableAutoWakeup(boolean bool) {
4747 JCollectionAuth .enableAutoWakeup (reactContext ,bool );
4848 }
4949 @ ReactMethod
50- public void testCountryCode (ReadableMap readableMap ){
50+ public void setCountryCode (ReadableMap readableMap ){
5151 if (readableMap == null ) {
5252 return ;
5353 }
5454 String code = readableMap .getString ("code" );
5555 if (TextUtils .isEmpty (code )) {
5656 } else {
57- JCoreInterface .testCountryCode (reactContext ,code );
57+ JCoreInterface .setCountryCode (reactContext ,code );
5858 }
5959 }
6060
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ export default class JCore {
1212 static setAuth ( auth ) {
1313 JCoreModule . setAuth ( auth )
1414 }
15- static testCountryCode ( params ) {
15+ static setCountryCode ( params ) {
1616 if ( Platform . OS == "android" ) {
17- JCoreModule . testCountryCode ( params )
17+ JCoreModule . setCountryCode ( params )
1818 }
1919 }
2020 static enableAutoWakeup ( enable ) {
You can’t perform that action at this time.
0 commit comments