Is there a chance to auto-remove all log() command lines from Code-Modules and Activity-Modules as a first step of the compiling process?
I often write log() commands in my code to observe the app during execution. They contain readable strings with sensitiv informations. I want to keep all log() lines in my code for future development. This makes the development very comfortable for me.
But now my development of the current app reaches the final, where I want to publish my app. Now I want to remove all (~1000) lines with log() for security reasons before compiling starts.
I know how to do this with a VB-Script. But this needs to make Backups of each module, then run the script on each module-file. Then start B4A again and compile the manipulated files and afterwards I have to replace the module with the backups.
now I have two questions:
Is there a compiler-option to remove certain line types automatically during the comping process?
Or is there a chance to insert an EXE as a first step in the compiling process to manipulate code files temporary and offer these files to the compiler?
How do you handle logs() lines?
I often write log() commands in my code to observe the app during execution. They contain readable strings with sensitiv informations. I want to keep all log() lines in my code for future development. This makes the development very comfortable for me.
But now my development of the current app reaches the final, where I want to publish my app. Now I want to remove all (~1000) lines with log() for security reasons before compiling starts.
I know how to do this with a VB-Script. But this needs to make Backups of each module, then run the script on each module-file. Then start B4A again and compile the manipulated files and afterwards I have to replace the module with the backups.
now I have two questions:
Is there a compiler-option to remove certain line types automatically during the comping process?
Or is there a chance to insert an EXE as a first step in the compiling process to manipulate code files temporary and offer these files to the compiler?
How do you handle logs() lines?