javascript - Make a Secure PhoneGap/Cordova App (Android) -


i developing new app android. tested phonegap last days , think platform develop app. started developing , have security concerns.

online

all javascript gets hosted on server , app needs them start.

offline

i have javascript in app , validates files before startup.

i want app working online , offline.


problem

if files offline every user (with root) can edit code. user can remove example in-app purchase , file validation offline mode.

i searched through internet , need didn't found answer how secure app.

i hope here can give me tips or ideas make app working online , offline beeing secure. thanks!

probably there no bulletproof solution make hybrid apps secure, obfuscate code using tools https://github.com/mishoo/uglifyjs. although not safe reverse engineering, uglification willl make more difficulty modify code.


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -