AHilberink Active Member Licensed User Longtime User Oct 13, 2020 #1 Hi, I use: B4X: Process_Globals Dim ApiUrl As String : ApiUrl ="blabla" The blabla contains an Url with a password. As I understood for my previous thread: https://www.b4x.com/android/forum/threads/publishing-on-playstore.120318/ "Compiled code can be converted back to java" Is obfuscation a way to protect this string to be public? What will you do to prevent this URL to be readable afterwards? BR, André
Hi, I use: B4X: Process_Globals Dim ApiUrl As String : ApiUrl ="blabla" The blabla contains an Url with a password. As I understood for my previous thread: https://www.b4x.com/android/forum/threads/publishing-on-playstore.120318/ "Compiled code can be converted back to java" Is obfuscation a way to protect this string to be public? What will you do to prevent this URL to be readable afterwards? BR, André
Erel B4X founder Staff member Licensed User Longtime User Oct 13, 2020 #2 Write it like this: B4X: Dim ApiUrl As String = "blabla" Obfuscation will make it more difficult to retrieve this string from the compiled APK. There is no 100% safe way to hide a password inside the compiled code. Upvote 0
Write it like this: B4X: Dim ApiUrl As String = "blabla" Obfuscation will make it more difficult to retrieve this string from the compiled APK. There is no 100% safe way to hide a password inside the compiled code.
AHilberink Active Member Licensed User Longtime User Oct 13, 2020 #3 Erel said: Write it like this: B4X: Dim ApiUrl As String = "blabla" Obfuscation will make it more difficult to retrieve this string from the compiled APK. There is no 100% safe way to hide a password inside the compiled code. Click to expand... Thanks, Erel. Upvote 0
Erel said: Write it like this: B4X: Dim ApiUrl As String = "blabla" Obfuscation will make it more difficult to retrieve this string from the compiled APK. There is no 100% safe way to hide a password inside the compiled code. Click to expand... Thanks, Erel.