|
|
|
|
|
|
|
# Flutter wrapper
|
|
|
|
-keep class io.flutter.app.** { *; }
|
|
|
|
-keep class io.flutter.plugin.** { *; }
|
|
|
|
-keep class io.flutter.util.** { *; }
|
|
|
|
-keep class io.flutter.view.** { *; }
|
|
|
|
-keep class io.flutter.** { *; }
|
|
|
|
-keep class io.flutter.plugins.** { *; }
|
|
|
|
# -keep class com.google.firebase.** { *; } // uncomment this if you are using firebase in the project
|
|
|
|
-dontwarn io.flutter.embedding.**
|
|
|
|
-ignorewarnings
|
|
|
|
|
|
|
|
# Build the ephemeral app in a module project.
|
|
|
|
# Prevents: Warning: library class <plugin-package> depends on program class io.flutter.plugin.**
|
|
|
|
# This is due to plugins (libraries) depending on the embedding (the program jar)
|
|
|
|
|
|
|
|
-dontwarn io.flutter.plugin.**
|
|
|
|
|
|
|
|
# The android.** package is provided by the OS at runtime.
|
|
|
|
-dontwarn android.**
|
|
|
|
|
|
|
|
|
|
|
|
-keep class cn.sharesdk.**{*;}
|
|
|
|
-keep class com.sina.**{*;}
|
|
|
|
-keep class com.mob.**{*;}
|
|
|
|
-keep class com.bytedance.**{*;}
|
|
|
|
-dontwarn cn.sharesdk.**
|
|
|
|
-dontwarn com.sina.**
|
|
|
|
-dontwarn com.mob.**
|
|
|
|
|
|
|
|
-keep class com.baidu.** {*;}
|
|
|
|
-keep class vi.com.** {*;}
|
|
|
|
-keep class com.baidu.vi.** {*;}
|
|
|
|
-dontwarn com.baidu.**
|
|
|
|
|
|
|
|
-keep public class * extends android.app.Service
|
|
|
|
-keep public class * extends android.content.BroadcastReceiver
|
|
|
|
-keep class com.tencent.android.tpush.** {*;}
|
|
|
|
-keep class com.tencent.tpns.baseapi.** {*;}
|
|
|
|
-keep class com.tencent.tpns.mqttchannel.** {*;}
|
|
|
|
-keep class com.tencent.tpns.dataacquisition.** {*;}
|
|
|
|
|
|
|
|
-keep class com.tencent.bigdata.baseapi.** {*;}
|
|
|
|
-keep class com.tencent.bigdata.mqttchannel.** {*;}
|
|
|
|
|
|
|
|
-keepclassmembers class * extends io.flutter.embedding.engine.plugins.FlutterPlugin {}
|
|
|
|
-keepclassmembers class * implements io.flutter.plugin.common.MethodChannel.MethodCallHandler {}
|
|
|
|
|
|
|
|
#andResGuard {
|
|
|
|
# whiteList = [
|
|
|
|
# "R.layout.mob_authorize_*",
|
|
|
|
# "R.drawable.mobcommon_authorize_*",
|
|
|
|
# "R.drawable.ssdk_*",
|
|
|
|
# "R.drawable.ssdk_oks_*",
|
|
|
|
# "R.string.ssdk_oks_*",
|
|
|
|
# "R.string.ssdk_*",
|
|
|
|
# "R.style.mobcommon_*",
|
|
|
|
# "R.ssdk_strings.*",
|
|
|
|
# "R.string.mobdemo_authorize_*",
|
|
|
|
# ]
|
|
|
|
#}
|