client_Hale
2018-08-14 e8895951735d4ddb94bbf1030c1ba93e30b028f5
fixed 灵仙记极光推送appkey配置错误; 打包添加极光推送appKey配置
5个文件已修改
27 ■■■■ 已修改文件
Project/app/build.gradle 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Project/app/src/main/AndroidManifest.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Project/app/src/main/java/com/secondworld/univeralsdk/H2EngineSDK.java 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
渠道差异/灵仙记/AndroidManifest.xml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
渠道差异/灵仙记/libs/app-lxj-release.aar 补丁 | 查看 | 原始文档 | blame | 历史
Project/app/build.gradle
@@ -29,24 +29,28 @@
            manifestPlaceholders.put("appId", "com.shandangceshi.snxxz")
            manifestPlaceholders.put("TrackAppID", "5ae23b6b905f98d9b8bd542debf35678")
            manifestPlaceholders.put("TrackChannelID", "_default_")
            manifestPlaceholders.put("JpushAppKey", "22186239fee975f883198cf4")
        }
        djx {
            dimension "default"
            manifestPlaceholders.put("appId", "com.shandangceshi.snxxz")
            manifestPlaceholders.put("TrackAppID", "fa550076116709861b7e9b61bb401710")
            manifestPlaceholders.put("TrackChannelID", "_default_")
            manifestPlaceholders.put("JpushAppKey", "22186239fee975f883198cf4")
        }
        lxj {
            dimension "default"
            manifestPlaceholders.put("appId", "com.zyxhgame.game007")
            manifestPlaceholders.put("TrackAppID", "0c5ad863fb8935d18b3ecefe05389701")
            manifestPlaceholders.put("TrackChannelID", "_default_")
            manifestPlaceholders.put("JpushAppKey", "c848276e83ce1f5761ff4b27")
        }
        secondworld {
            dimension "default"
            manifestPlaceholders.put("appId", "com.secondworld.snxxz")
            manifestPlaceholders.put("TrackAppID", "5ae23b6b905f98d9b8bd542debf35678")
            manifestPlaceholders.put("TrackChannelID", "_default_")
            manifestPlaceholders.put("JpushAppKey", "22186239fee975f883198cf4")
        }
    }
}
Project/app/src/main/AndroidManifest.xml
@@ -26,7 +26,7 @@
    <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
    <permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" android:protectionLevel="signature"/>
    <!-- Required -->
    <permission android:name="${appId}.permission.JPUSH_MESSAGE" android:protectionLevel="signature" />
    <permission android:name="${appId}.permission.JPUSH_MESSAGE" />
    <uses-permission android:name="${appId}.permission.JPUSH_MESSAGE" />
    <uses-permission android:name="android.permission.RECEIVE_USER_PRESENT" />
    <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
@@ -220,7 +220,7 @@
        <!-- Required. AppKey copied from Portal -->
        <meta-data
            android:name="JPUSH_APPKEY"
            android:value="22186239fee975f883198cf4" />
            android:value="${JpushAppKey}" />
    </application>
Project/app/src/main/java/com/secondworld/univeralsdk/H2EngineSDK.java
@@ -307,9 +307,14 @@
                // ------------------------------- è‡ªç”±SDK -------------------------------
                FreePlatformUtil.getInstace().init(activity);
                LogUtil.i(TAG,"步骤: 1");
                // ------------------------------- æžå…‰æŽ¨é€ -------------------------------
                JPushInterface.setDebugMode(true);
                LogUtil.i(TAG,"步骤: 2");
                JPushInterface.init(activity);
                LogUtil.i(TAG,"步骤: 3");
                final long _waitingTime = System.currentTimeMillis();
                while (true)
                {
@@ -318,6 +323,14 @@
                    {
                        break;
                    }
                    long _escapeTime = System.currentTimeMillis() - _waitingTime;
                    if (_escapeTime > 3000)
                    {
                        LogUtil.w(TAG,"等待获取极光推送registrationID超时: 3秒");
                        break;
                    }
                }
                _msgStruct.clear();
ÇþµÀ²îÒì/ÁéÏɼÇ/AndroidManifest.xml
@@ -29,9 +29,7 @@
        android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
        android:protectionLevel="signature" />
    <!-- Required -->
    <permission
        android:name="com.zyxhgame.game007.permission.JPUSH_MESSAGE"
        android:protectionLevel="signature" />
    <permission android:name="com.zyxhgame.game007.permission.JPUSH_MESSAGE" />
    <uses-permission android:name="com.zyxhgame.game007.permission.JPUSH_MESSAGE" />
    <uses-permission android:name="android.permission.RECEIVE_USER_PRESENT" />
@@ -230,7 +228,7 @@
        <!-- Required. AppKey copied from Portal -->
        <meta-data
            android:name="JPUSH_APPKEY"
            android:value="22186239fee975f883198cf4" />
            android:value="c848276e83ce1f5761ff4b27" />
    </application>
</manifest>
ÇþµÀ²îÒì/ÁéÏɼÇ/libs/app-lxj-release.aar
Binary files differ