How to avoid hacking ionic apk file?


#1

its simple to find the source of ionic apk file, just with rename myapp.apk to myapp.zip and then unzip it.
all the sources like ,css file,www folder , all of the controller etc… completely are accessible…!
is there any way to avoid hacking ionic apk file?


#2

Not an expert in the subject but I don’t think there is. Even if it was fully native you could deconstruct the apk http://ibotpeaches.github.io/Apktool/

What you should do is minify and concatenate js/css files


#3

I agree with @pmigabreu, here is a tutorial on how to uglify, minify and obfuscate your code.


#4

Thanks a lot my friends.