I have been doing lot of research on how to prevent people from accessing the manifest and layout files.
i know proguard
is used for obfuscating code, but then it works only on Java code not on the res
folder.
I have been through some answers like download content at run time instead of keeping them in assets and all that. But for now my concern is not to protect asset files. In my case it's manifest and the res folder I need to take care of. I have many types of keys stored in there like analytics xml file app_tracker.xml
for example.
This isn't only about the secret keys I have in xml files, but also the logic of layout designing that is at risk.
These are the threads I found while I was doing research, but nothing was of any help to me.
1) How to avoid reverse engineering of an APK file?
2) How to protect a java application from reverse-engineering or code stealing?
I know reverse engineering cannot be avoided, but is there any way I can protect my manifest from being readable from hackers?