修复 点击去支付无反应 问题
This commit is contained in:
@@ -214,7 +214,7 @@ dependencies {
|
||||
//api project(':lib_huawei')
|
||||
|
||||
//google插件包
|
||||
//api project(':lib_google')
|
||||
api project(':lib_google')
|
||||
|
||||
//samsung插件包
|
||||
api project(':IAP6Helper')
|
||||
|
||||
@@ -55,7 +55,7 @@ public class CommonAppContext extends MultiDexApplication {
|
||||
// RongPushClient.setPushConfig(config); //将推送相关配置设置到 SDK
|
||||
//设置新加坡融云服务器 有时候国内收不到推送是因为这个
|
||||
RongIMClient.setServerInfo("navsg01.cn.ronghub.com", null);
|
||||
if (CommonAppConfig.IS_GOOGLE_PLAY == 1) {
|
||||
if (CommonAppConfig.IS_GOOGLE_PLAY != 2) {
|
||||
//谷歌推送
|
||||
PushConfig gconfig = new PushConfig.Builder().enableFCM(true).build();
|
||||
RongPushClient.setPushConfig(gconfig);
|
||||
|
||||
@@ -331,6 +331,8 @@ public class CommonHttpUtil {
|
||||
isGoogle = "1";
|
||||
} else if (CommonAppConfig.IS_GOOGLE_PLAY == 2) {
|
||||
isGoogle = "2";
|
||||
}else if (CommonAppConfig.IS_GOOGLE_PLAY == 3) {
|
||||
isGoogle = "3";
|
||||
} else {
|
||||
isGoogle = "-1";
|
||||
}
|
||||
|
||||
@@ -97,9 +97,13 @@ public class APKUpdateCustomPopup extends CenterPopupView {
|
||||
if (CommonAppConfig.IS_GOOGLE_PLAY == 2 && APKManager.get().getAPKGoogleIsUp() != 1) {
|
||||
dismiss();
|
||||
}
|
||||
if (CommonAppConfig.IS_GOOGLE_PLAY == 3 && APKManager.get().getAPKGoogleIsUp() != 1) {
|
||||
dismiss();
|
||||
}
|
||||
if (CommonAppConfig.IS_GOOGLE_PLAY == 0 && APKManager.get().getApkIsUp() != 1) {
|
||||
dismiss();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user