tkyaji / cordova-plugin-crypt-file

This plugin to encrypt the source files.
Apache License 2.0
179 stars 116 forks source link

Fail decryption file after run on device #57

Open monaco11001 opened 6 years ago

monaco11001 commented 6 years ago

I build app on cocoon.io -->my app.apk is Encrypt all file I want to. When install app to device, after splash screen --> app not run and display white screen with unknown text. Somebody know how to fix this ? -Project type: Construct 2 r248 -Engine: webview -Cocoonversion: latest. -Plugin: cocoon googleplay, cocoon native share, admob native.

akudo7 commented 6 years ago

I am hitting the same problem on the iOS too.

Xcode console shows following error.

CDVPlugin class CDVCrypt (pluginName: cdvcrypt) does not exist.

Any idea?

Here is the system information.

node v6.11.1 npm 3.10.10

: 1.19.0 ionic (Ionic CLI) : 3.19.0 global packages:

cordova (Cordova CLI) : 7.0.1 local packages:

: 3.0.1 Cordova Platforms : android 6.3.0 ios 4.5.3 Ionic Framework : ionic-angular 3.8.0 System:

Android SDK Tools : 26.0.2 ios-deploy : 1.9.2 ios-sim : 6.1.2 Node : v6.11.1 npm : 3.10.10 OS : macOS High Sierra Xcode : Xcode 9.2 Build version 9C40b

Podfile platform :ios, '9.0' use_frameworks! target 'MyApp' do project 'MyApp.xcodeproj' pod 'Alamofire', '4.4' pod 'Firebase/Core' pod 'OneSignal', '2.6.0' pod 'SQLite.swift', '~> 0.11.4' end

And here is a simple reproducible project

https://onedrive.live.com/embed?cid=504ED44AEDFEFEE3&resid=504ED44AEDFEFEE3%211020&authkey=ALAfsGbz6e-nuEQ Thank you.

seb64 commented 6 years ago

I think it's a problem with the path to pluginDir being hardcoded in after_prepare hook which is used to modify source code with the random generated keys. It worked for me on android after I changed the path.

A110SHT commented 5 years ago

Hi, @seb64 sir, can you please describe how you solve this issue?