mirror of
https://github.com/Gongxh0901/kunpolibrary
synced 2026-02-17 13:52:27 +00:00
仓库中添加内置的demo
This commit is contained in:
54
demo/native/engine/android/instantapp/proguard-rules.pro
vendored
Normal file
54
demo/native/engine/android/instantapp/proguard-rules.pro
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# By default, the flags in this file are appended to flags specified
|
||||
# in E:\developSoftware\Android\SDK/tools/proguard/proguard-android.txt
|
||||
# You can edit the include path and order by changing the proguardFiles
|
||||
# directive in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# Add any project specific keep options here:
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Proguard Cocos2d-x-lite for release
|
||||
-keep public class com.cocos.** { *; }
|
||||
-dontwarn com.cocos.**
|
||||
|
||||
# Proguard Apache HTTP for release
|
||||
-keep class org.apache.http.** { *; }
|
||||
-dontwarn org.apache.http.**
|
||||
|
||||
# Proguard okhttp for release
|
||||
-keep class okhttp3.** { *; }
|
||||
-dontwarn okhttp3.**
|
||||
|
||||
-keep class okio.** { *; }
|
||||
-dontwarn okio.**
|
||||
|
||||
# Proguard Android Webivew for release. you can comment if you are not using a webview
|
||||
-keep public class android.net.http.SslError
|
||||
-keep public class android.webkit.WebViewClient
|
||||
|
||||
-keep public class com.google.** { *; }
|
||||
|
||||
-dontwarn android.webkit.WebView
|
||||
-dontwarn android.net.http.SslError
|
||||
-dontwarn android.webkit.WebViewClient
|
||||
|
||||
# This is generated automatically by the Android Gradle plugin.
|
||||
-dontwarn android.hardware.BatteryState
|
||||
-dontwarn android.hardware.lights.Light
|
||||
-dontwarn android.hardware.lights.LightState$Builder
|
||||
-dontwarn android.hardware.lights.LightState
|
||||
-dontwarn android.hardware.lights.LightsManager$LightsSession
|
||||
-dontwarn android.hardware.lights.LightsManager
|
||||
-dontwarn android.hardware.lights.LightsRequest$Builder
|
||||
-dontwarn android.hardware.lights.LightsRequest
|
||||
-dontwarn android.net.ssl.SSLSockets
|
||||
-dontwarn android.os.VibratorManager
|
||||
Reference in New Issue
Block a user