修改不能加载pag的问题
This commit is contained in:
parent
54e40bd60b
commit
6e10d57808
7
android/app/proguard-rules.pro
vendored
7
android/app/proguard-rules.pro
vendored
@ -34,9 +34,14 @@
|
||||
-keep class com.tencent.** { *; }
|
||||
-dontwarn com.tencent.**
|
||||
|
||||
# PAG / libpag. The native libpag runtime looks up Java entry points through JNI;
|
||||
# obfuscating these classes breaks PAG playback only in minified release builds.
|
||||
-keep class org.libpag.** { *; }
|
||||
-keep class com.example.flutter_pag_plugin.** { *; }
|
||||
|
||||
# Provider
|
||||
-keep class * extends ChangeNotifier { *; }
|
||||
-keep class * implements Listenable { *; }
|
||||
-keep class * implements Listenable { *; }
|
||||
|
||||
# 其他保留
|
||||
-keepattributes *Annotation*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user