WhiteList - goldfish07/ResChiper GitHub Wiki

list of resources, dir or file that should not be obfuscated . These resources are excluded from the obfuscation process and will remain unchanged.

whiteList = [ 
               // Whitelist rules (resource name to exclude)
               "*.R.raw.*",
               "*.R.drawable.ic_launcher",
               "*.R.string.google_api_key",

               // Whitelist rules (resource dir to exclude)
               "res/drawable", // drawable dir will not be obfuscated
               "res/raw", // raw dir will not be obfuscated

               // Whitelist rules (resource dir to exclude)
               "res/raw/*", // all files inside raw directory will not be obfuscated      
               "res/raw/success_tick.json" // success_tick.json file will not be obfuscated
    ]

google-services

"*.R.string.google_api_key",
"*.R.string.google_app_id",
"*.R.string.default_web_client_id",
"*.R.string.gcm_defaultSenderId",
"*.R.string.ga_trackingId",
"*.R.string.firebase_database_url",
"*.R.string.google_crash_reporting_api_key",
"*.R.string.google_storage_bucket",
"*.R.integer.google_play_services_version"

Firebase

"*.R.string.project_id"

Firebase Crashlytics

"*.R.string.com.google.firebase.crashlytics.mapping_file_id",
"*.R.bool.com.crashlytics.useFirebaseAppId",
"*.R.string.com.crashlytics.useFirebaseAppId",
"*.R.bool.com.crashlytics.CollectDeviceIdentifiers",
"*.R.string.com.crashlytics.CollectDeviceIdentifiers",
"*.R.bool.com.crashlytics.CollectUserIdentifiers",
"*.R.string.com.crashlytics.CollectUserIdentifiers",
"*.R.string.com.crashlytics.ApiEndpoint",
"*.R.string.com.crashlytics.android.build_id",
"*.R.bool.com.crashlytics.RequireBuildId",
"*.R.string.com.crashlytics.RequireBuildId",
"*.R.bool.com.crashlytics.CollectCustomLogs",
"*.R.string.com.crashlytics.CollectCustomLogs",
"*.R.bool.com.crashlytics.Trace",
"*.R.string.com.crashlytics.Trace",
"*.R.string.com.crashlytics.CollectCustomKeys"

Tradplus

"*.R.string.tp_*",
"*.R.drawable.tp_*",
"*.R.layout.tp_*",
"*.R.id.tp_*"

# Integrate cross promotion, adx
"*.R.string.cp_*",
"*.R.drawable.cp_*",
"*.R.layout.cp_*",
"*.R.id.cp_ *"

# Integrated travel can winKlevin
"*.R.anim.klevin_*",
"*.R.color.klevin_*",
"*.R.drawable.klevin_*",
"*.R.id.klevin_*",
"*.R.layout.klevin_*",
"*.R.mipmap.klevin_*",
"*.R.string.klevin_*",
"*.R.integer.klevin_*",
"*.R.style.klevin_*",
"*.R.dimen.klevin_*",
"*.R.xml.klevin_*"

Pangle

"*.R.layout.tt_*",
"*.R.layout.notification_*",
"*.R.anim.tt_*",
"*.R.drawable.tt_*",
"*.R.string.tt_*",
"*.R.color.tt_*",
"*.R.string.ad*",
"*.R.string.star_*",
"*.R.dimen.tt_*",
"*.R.integer.tt_*",
"*.R.style.tt_*",
"*.R.style.Theme.Dialog.TT_*",
"*.R.style.tt_*",
"*.R.style.quick_*",
"*.R.style.EditTextStyle*",
"*.R.attr.tt_*"

Mintegral

"*.R.string.mbridge*",
"*.R.layout.mbridge*",
"*.R.drawable.mbridge*",
"*.R.anim.mbridge*",
"*.R.color.mbridge*",
"*.R.style.mbridge*",
"*.R.id.mbridge*"