EddyVerbruggen / SocialSharing-PhoneGap-Plugin

👨‍❤️‍💋‍👨 Cordova plugin to share text, a file (image/PDF/..), or a URL (or all three) via the native sharing widget
MIT License
1.78k stars 908 forks source link

Plugin "not installed" only in production #997

Open oaxis opened 5 years ago

oaxis commented 5 years ago

Hello everyone, Im facing an issue where the plugin works like a charm in dev / ionic dev app / ionic serve. But when we're pushing the repo on the Ionic Pro deploy system, when clicking on the share button, an error shows up "plugin_not_installed", we added a debug command to check wether or not the plugin is installed : [13:12:24]: ▸ > fastgood@1.0.3 build /builds/oaxis/fastgoodionic [13:12:24]: ▸ > cordova plugin lt **[13:12:24]: ▸ cordova-plugin-x-socialsharing 5.4.3 "SocialSharing"** As you can see, ionic builds with the plugin installed. Here is the version we're using :

Ionic:

ionic (Ionic CLI) : 4.5.0 (C:\Users\kevin\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : ionic-angular 3.6.0 @ionic/app-scripts : 3.2.1

Cordova:

cordova (Cordova CLI) : 7.1.0 Cordova Platforms : android 6.3.0, browser 5.0.4 Cordova Plugins : not available

This is the first time a plugin does that on our app.

Did anyone encounter this before ? Any idea ?

Thanks a lot

Sampath-Lokuge commented 5 years ago

You need to ask this from the Ionic team. It seems the problem on Ionic pro @oaxis