H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Mar 23, 2024 #1 Hi, I think it is better when compiling app for publishing, all log should be removed automatically (also code comments) for better performance and prevent code information disclosure. This is my guess.
Hi, I think it is better when compiling app for publishing, all log should be removed automatically (also code comments) for better performance and prevent code information disclosure. This is my guess.
Alexander Stolte Expert Licensed User Longtime User Mar 23, 2024 #2 Hamied Abou Hulaikah said: also code comments Click to expand... code comments are already removed automatically in the final apk.
Hamied Abou Hulaikah said: also code comments Click to expand... code comments are already removed automatically in the final apk.
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Mar 23, 2024 #3 I wish Log also.
Alexander Stolte Expert Licensed User Longtime User Mar 23, 2024 #4 Hamied Abou Hulaikah said: for better performance Click to expand... Question: How to disable logs in release mode. I read "You can add STATS to the build configuration symbols.", but can you please give a little bit more information how to disable the logs? Thank you! www.b4x.com
Hamied Abou Hulaikah said: for better performance Click to expand... Question: How to disable logs in release mode. I read "You can add STATS to the build configuration symbols.", but can you please give a little bit more information how to disable the logs? Thank you! www.b4x.com
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Mar 23, 2024 #5 Hamied Abou Hulaikah said: prevent code information disclosure Click to expand... and this?
Alexander Stolte Expert Licensed User Longtime User Mar 23, 2024 #6 Hamied Abou Hulaikah said: and this? Click to expand... Just use #If Debug or #If Release to not include sensitive log messages in the final apk. B4X: #If Release Log("User Password Cleartext: " & Password) #End If
Hamied Abou Hulaikah said: and this? Click to expand... Just use #If Debug or #If Release to not include sensitive log messages in the final apk. B4X: #If Release Log("User Password Cleartext: " & Password) #End If
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Mar 23, 2024 #7 I think it is not reliable solution, We have a lot of logs in between thousands of codes, so implement #if release is reliable only from the starting projects, not ready projects.
I think it is not reliable solution, We have a lot of logs in between thousands of codes, so implement #if release is reliable only from the starting projects, not ready projects.
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Mar 23, 2024 #8 @Erel can add #nolog : True like #bridgelogger : false something like this condition.