Commit 9101734d authored by fallenstardust's avatar fallenstardust

彻底解决安卓9.0收不到更新推送的问题

parent 64c77530
...@@ -8,7 +8,7 @@ android { ...@@ -8,7 +8,7 @@ android {
applicationId "cn.garymb.ygomobile" applicationId "cn.garymb.ygomobile"
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 28 targetSdkVersion 28
versionCode 331200104 versionCode 331200108
versionName "3.3.12" versionName "3.3.12"
flavorDimensions "versionCode" flavorDimensions "versionCode"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
...@@ -101,7 +101,7 @@ dependencies { ...@@ -101,7 +101,7 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
// //
implementation(name: 'paysdk-release-1.2.4', ext: 'aar') implementation(name: 'paysdk-release-1.2.4', ext: 'aar')
implementation 'com.pgyersdk:sdk:3.0.2' implementation 'com.pgyersdk:sdk:3.0.3'
} }
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
android:largeHeap="true" android:largeHeap="true"
android:supportsRtl="false" android:supportsRtl="false"
android:theme="@style/AppTheme" android:theme="@style/AppTheme"
android:networkSecurityConfig="@xml/network_security_config"
tools:replace="android:allowBackup,android:supportsRtl"> tools:replace="android:allowBackup,android:supportsRtl">
<activity <activity
android:name="cn.garymb.ygomobile.ui.activities.LogoActivity" android:name="cn.garymb.ygomobile.ui.activities.LogoActivity"
......
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">www.pgyer.com</domain>
<domain includeSubdomains="true">app-global.pgyer.com</domain>
</domain-config>
</network-security-config>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment