You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
2.0 KiB
61 lines
2.0 KiB
|
|
# 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_*", |
|
# ] |
|
#}
|
|
|