Code Obfuscation - How to prevent code decipher?

How could I prevent code decipher or ionic 1 and ionic 2 app?

I saw ionic enterprise framework offers this service. How could i make it too?

it seems that ionic entreprise is not a free service and may charges you some money, i think you’ll have to do the obfuscation by yourself.

if you want secure your ionic app from reverse engineering and fully
secured source code i recommended two steps.
First use Enable ProGuard into cordova/ionic project

  1. To implement this, open /platforms/android/ and
    uncomment one line by removing the “#” at left:

2.copy proguard-custom.txt from (
proguard/blob/master/proguard-custom.txt )
$android/assets/www/proguard-custom.txt Remove ‘#’
#-keepclassmembers class android.webkit.WebView {
# public *;
# }

  1. add snippet from to build.gradle
    Find buildTypes by ctrl + F and add like this
    buildTypes {
    debug {
    minifyEnabled true
    useProguard false
    proguardFiles getDefaultProguardFile(‘proguard-android.txt’),
    release {
    minifyEnabled true
    proguardFiles getDefaultProguardFile(‘proguard-android.txt’),

Second use cordova-plugin-crypt-file
obfuscate or encrypt your code like build/main.js
1)Install cordova plugin add cordova-plugin-crypt-file

//Using Refrence of cordova-plugin-crypt

Final step ionic cordova build android --release
Now extreact your apk or try APK decompiler

For remotely secur fetching and sending data use RxJS

The advice in the previous post, while apparently well-intentioned, is pointless. Anything usable by your app, including its code, is available to anybody with a copy of the app binary. Do not burn secrets into your app.

Anyone knew good alternative for Ionic iOS App obfuscation.
Any samples plugin etc

I have the same problem for ios obfuscation, thanks