nativescript-app-encryption
nativescript-app-encryption copied to clipboard
This plugin encrypts all your app/**.js files during a release build. In experimental state.
As a subject, I tried to build Android version as a Release version. After that, My app was crashed when I open it. So, I tried to monitor this issue...
D:\Sample\platforms\android\src\main\java\com\tns\RuntimeHe lper.java:57: error: package com.tns.app_protection does not exist com.tns.app_protection.AppProtection.setKey("qyUMQZhu43KByppjVJFJyRxVG+PZaRAHId2 +mczHiwo="); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error :compileF0F1F2F3F4F5F6F7F8F9F10F11F12F13F14F15F16ReleaseJavaWithJavac...
D:\Sample\platforms\android\src\main\java\com\tns\RuntimeHe lper.java:57: error: package com.tns.app_protection does not exist com.tns.app_protection.AppProtection.setKey("qyUMQZhu43KByppjVJFJyRxVG+PZaRAHId2 +mczHiwo="); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error :compileF0F1F2F3F4F5F6F7F8F9F10F11F12F13F14F15F16ReleaseJavaWithJavac...
It will be nice to have control over deciding what / which files need encryption. Developer may want to encrypt a private / premium plugin under `tns_modules` or all XML...
Currently, the encryption key is stored inside the app. It will be good to enable developers to store the key in a different place they need (on a web server...
I tried but it does not work
I have a question : what's the purpose of the *.js encryption while it's easy to retrieve the AES256 key ( stored somewhere or gathered over network ) to decipher...