简体   繁体   English

对应用程序进行反向工程时,构建类型资源是否可见?

[英]can Build Types resources be visible while reverse engineering the app?

I have two build variant in my Application, one is release and other is debug. 我的应用程序中有两个构建变体,一个是发布版本,另一个是调试版本。

In a release, I have set my https URL. 在一个版本中,我已经设置了https URL。 In Debug, I have set my local URL for testing purpose. 在调试中,我设置了本地URL以进行测试。

is it possible if I upload my release variant to PlayStore that somebody can reverse engineered it and see my Local testing URL? 如果我将发行版本上载到PlayStore,有人可以对其进行反向工程并查看我的本地测试URL,是否有可能? I dont want to expose my testing URL? 我不想公开我的测试网址?

If you just use flag to switch running environment and sorce code contain the local testing URL, it'll able to find in the disassembled smali files even if you obfuscated it 如果仅使用标志来切换运行环境,并且代码中包含本地测试URL,即使您对其进行了混淆,也可以在反汇编的smali文件中找到

You can try to split building const from resource using gradle, ref here: Change constant values when building a release edition 您可以尝试使用gradle从资源中拆分构建const,请参见此处: 构建发行版时更改常量值

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 可以通过对我的应用程序进行反向工程来篡改Firebase项目中的数据吗? - Can the data in my Firebase project be tampered with by reverse engineering my app? 是否可以通过对apk进行反向工程来破解应用程序? - Is it possible to hack an app by reverse engineering the apk? 保护 flutter 应用程序中的机密免遭逆向工程 - protect secrets in flutter app from reverse engineering 保护 Android 应用程序免受逆向工程 - Protect Android App from reverse engineering 如何保护 Flutter 应用程序免受逆向工程 - How to protect Flutter app from reverse engineering 针对BLE协议的逆向工程中文应用程序的建议 - Advice on reverse engineering Chinese app for BLE protocol 如何避免APK资产文件夹资源项文件的逆向工程? - How to avoid reverse engineering of an APK assets folder resources items file? 防止在Airwatch受管设备上进行Android应用反向工程 - Prevent android app reverse engineering on Airwatch managed devices PubNub安全反对某人逆向工程Android应用程序 - PubNub security against someone reverse engineering an android app 需要有关逆向工程和反编译的一些信息(Android App-JDK) - Need some information about reverse engineering and decompile (android app - jdk)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM