Xieshengqi 5 yıl önce
ebeveyn
işleme
91d0c5f66f
2 değiştirilmiş dosya ile 23 ekleme ve 9 silme
  1. 14 0
      app/proguard-rules.pro
  2. 9 9
      app/src/main/AndroidManifest.xml

+ 14 - 0
app/proguard-rules.pro

@@ -428,3 +428,17 @@
428 428
 
429 429
  -keep class com.gyf.immersionbar.* {*;}
430 430
  -dontwarn com.gyf.immersionbar.**
431
+
432
+
433
+ #华为推送
434
+ -ignorewarning
435
+ -keepattributes *Annotation*
436
+ -keepattributes Exceptions
437
+ -keepattributes InnerClasses
438
+ -keepattributes Signature
439
+ -keepattributes SourceFile,LineNumberTable
440
+ -keep class com.hianalytics.android.**{*;}
441
+ -keep class com.huawei.updatesdk.**{*;}
442
+ -keep class com.huawei.hms.**{*;}
443
+
444
+ -keep class com.huawei.android.hms.agent.**{*;}

+ 9 - 9
app/src/main/AndroidManifest.xml

@@ -27,11 +27,11 @@
27 27
         android:allowBackup="true"
28 28
         android:icon="@mipmap/icon_appicon"
29 29
         android:label="@string/app_name"
30
-        android:usesCleartextTraffic="true"
31 30
         android:largeHeap="true"
32 31
         android:roundIcon="@mipmap/ic_flowpig"
33 32
         android:supportsRtl="true"
34 33
         android:theme="@style/AppTheme"
34
+        android:usesCleartextTraffic="true"
35 35
         tools:replace="android:icon, android:theme">
36 36
 
37 37
 
@@ -42,7 +42,7 @@
42 42
         <!--适配华为(huawei)刘海屏-->
43 43
         <meta-data
44 44
             android:name="android.notch_support"
45
-            android:value="true"/>
45
+            android:value="true" />
46 46
         <!--适配小米(xiaomi)刘海屏-->
47 47
         <meta-data
48 48
             android:name="notch.config"
@@ -53,7 +53,7 @@
53 53
         <meta-data
54 54
             android:name="design_height"
55 55
             android:value="667" />
56
-A
56
+
57 57
         <activity
58 58
             android:name=".moneyplatfrom.activities.MainActivity"
59 59
             android:launchMode="singleTask"
@@ -604,14 +604,14 @@ A
604 604
             android:name=".moneyplatfrom.activities.CardDetailActivity"
605 605
             android:screenOrientation="portrait"
606 606
             android:theme="@style/AppTheme.Main" />
607
-        <activity android:name=".moneyplatfrom.activities.MyBankConver"
607
+        <activity
608
+            android:name=".moneyplatfrom.activities.MyBankConver"
608 609
             android:screenOrientation="portrait"
609
-            android:theme="@style/AppTheme.Main"
610
-            />
611
-        <activity android:name=".moneyplatfrom.activities.MyLinkManActivity"
610
+            android:theme="@style/AppTheme.Main" />
611
+        <activity
612
+            android:name=".moneyplatfrom.activities.MyLinkManActivity"
612 613
             android:screenOrientation="portrait"
613
-            android:theme="@style/AppTheme.Main"
614
-            ></activity>
614
+            android:theme="@style/AppTheme.Main"></activity>
615 615
     </application>
616 616
 
617 617
 </manifest>