Open l0c0luke opened 6 years ago
I believe your ionicframework build should not be affected, as it should start from empty project - no removing+re adding.
Can you paste commands you use?
Building from a blank project still creates this problem. So Ionic framework errors when packaging.
Just a quick fyi ... i know it is a fork of this one, but https://github.com/guatedude2/cordova-plugin-kiosk-launcher suffers from the same problem described here.
I am using android@6.4.0 when i add the platform due to using the cordova-camera-preview plugin. But i see this being used on https://github.com/batout/ionic3-full-kiosk-mode-demo/tree/master/src which is using 6.3.0.
With regards to commands, I try various orders of adding/removing the platform and the plugin. I feel like i have tried all the permutations.
here are a list of the plugins i am using...
cordova-android-support-gradle-release 1.4.4 "cordova-android-support-gradle-release"
cordova-plugin-android-permissions 1.0.0 "Permissions"
cordova-plugin-camera-preview 0.10.0 "cordova-plugin-camera-preview"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-file 6.0.1 "File"
cordova-plugin-fullscreen 1.1.0 "cordova-plugin-fullscreen"
cordova-plugin-hotspot 1.2.10 "Cordova HotSpot Plugin"
cordova-plugin-insomnia 4.3.0 "Insomnia (prevent screen sleep)"
cordova-plugin-ionic 5.0.5 "cordova-plugin-ionic"
cordova-plugin-ionic-keyboard 2.1.2 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 2.0.2 "cordova-plugin-ionic-webview"
cordova-plugin-nativeaudio 3.0.9 "Cordova Native Audio"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-unswipable-android-status-bar 1.0.0 "UnswipableAndroidStatusBarPlugin"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-sqlite-storage 2.3.3 "Cordova sqlite storage plugin"
cordovarduino 0.0.9 "Serial"
It seems the plugin is removing the engine
line in the config.xml when i run it as force?
@l0c0luke https://github.com/l0c0lukeI have the same problem, did you find a way to fix it ?
I can add the plugin fine. but if i remove android platform, then add it back again, i get the following...
Failed to install 'cordova-plugin-kiosk': Error: There was a conflict trying to modify attributes with <edit-config> in plugin cordova-plugin-kiosk. The conflicting plugin, undefined, already modified the same attributes. The conflict must be resolved before cordova-plugin-kiosk can be added. You may use --force to add the plugin and overwrite the conflicting attributes.
I can use force and it will install locally, but then my ionicframework build will break, since i dont think i can force the install during the packaging process. What am I doing wrong?