nchutchind / cordova-plugin-app-launcher

Simple Cordova plugin for launching apps.
MIT License
88 stars 92 forks source link

plugin unsupported in phonegap #15

Closed jay6404 closed 7 years ago

jay6404 commented 7 years ago

I have deloped one app in PhoneGap using this plugin i have tested and it's fine but when i try to build using PhoneGap build using my PhoneGap adobe id it shows me this error plugin unsupported: com.hutchind.cordova.plugins.launcher . Does anyone have sloution?

cosmin-petrescu commented 7 years ago

Cordova has also an issue and try to install "com.hutchind.cordova.plugins.launcher" on each prepare. This is cause by the plugin.xml -> widget.id field. Maybe PhoneGap issue is generated by the same field.

hewittv commented 7 years ago

In the short-term try manually editing your config.xml: Old: <plugin name="com.hutchind.cordova.plugins.launcher" spec="^0.3.0" /> New: <plugin name="cordova-plugin-app-launcher" spec="^0.3.0" />

I believe the problem is due to the plugin.xml which needs the id updated: Currently: id="com.hutchind.cordova.plugins.launcher" Should Be: id="cordova-plugin-app-launcher"

The plugin used to work on PhoneGap but clearly something has changed. I'll drop a note to the plugin owner.

nchutchind commented 7 years ago

I have updated the plugin id in the package.json and plugin.xml to match the name of the project on npm. Hopefully this will enable PhoneGap Build to identify it successfully. Thank you, @hewittv for contacting me.