Plugins not loaded in xap - phonegap build

  • 1
  • Question
  • Updated 4 years ago
Since yesterday, uploading to phonegap build a windows phone package does give back a xap that has not any plugin inside the www folder.


We are compiling with name="phonegap-version" value="cli-5.4.1"


App id is 2210899

Photo of Massimiliano Borgatti

Massimiliano Borgatti

  • 69 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
If your zip file is available online somewhere, please post its url and I'll be happy to have a look.
btw: do you use such old Phonegap Build version for a particular purpose?
Photo of Massimiliano Borgatti

Massimiliano Borgatti

  • 69 Posts
  • 0 Reply Likes
hi, thanks for your reply

the error occurs in various apps / multiple config files (i tested it in variety of situations)

i'm wondering if "cli-5.4.1" is no more supported and, yes, we need to compile for wp8 a particular app...
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
That version should be supported, and plugins should not suddenly 'disappear'. However, some plugins might not be backwards compatible with that version, which might result in the symptoms you see.
Photo of Massimiliano Borgatti

Massimiliano Borgatti

  • 69 Posts
  • 0 Reply Likes
here some of the plugins. they were all present on the 19th of december. missing from 21th...

   <plugin name="cordova-ios-application-queries-schemes" spec="~0.0.1" />   
   <plugin name="cordova-plugin-file-opener2" spec="~2.0.2" />
    <plugin name="cordova-plugin-whitelist" spec="~1.2.1" />
    <plugin name="cordova-plugin-calendar" spec="~4.4.7" />
    <plugin name="cordova-plugin-console" spec="~1.0.2" />
    <plugin name="cordova-plugin-statusbar" spec="~2.1.1" />
    <plugin name="cordova-plugin-device" spec="~1.1.1" />
    <plugin name="cordova-plugin-network-information" spec="~1.2.0" />
    <plugin name="cordova-plugin-splashscreen" spec="~3.1.0" />
    <plugin name="cordova-plugin-inappbrowser" spec="~1.2.1" />
    <plugin name="cordova-plugin-camera" spec="~2.1.1" />
    <plugin name="cordova-plugin-file" spec="~4.1.1" />
    <plugin name="ionic-plugin-keyboard" spec="~1.0.8" />
    <plugin name="cordova-plugin-x-toast" spec="~2.5.0" />

and here follows an extract of pgb logs

Build Date: 2016-12-23 07:58:26 +0000--------------------------------------------------------------------------------PLUGIN OUTPUT--------------------------------------------------------------------------------Fetching plugin "cordova-plugin-device@~1.1.1" via npmInstalling "cordova-plugin-device" at "1.1.4" for wp8Error loading cordova-wp8Fetching plugin "cordova-plugin-network-information@~1.2.0" via npmInstalling "cordova-plugin-network-information" at "1.2.1" for wp8Error loading cordova-wp8Fetching plugin "cordova-plugin-splashscreen@~3.1.0" via npmInstalling "cordova-plugin-splashscreen" at "3.1.0" for wp8Error loading cordova-wp8Fetching plugin "cordova-plugin-statusbar@~2.1.1" via npmInstalling "cordova-plugin-statusbar" at "2.1.3" for wp8Error loading cordova-wp8
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Sorry, I don't have a direct solution (or even a root cause).
I just noticed:

1. You specify older plugin versions for almost each one. Do you do that for any purpose?

2. The error message can only be found once by me:
http://stackoverflow.com/questions/40678457/phonegap-build-windows-phone-from-osx
but I don't find much relevant information in that thread.
Photo of Massimiliano Borgatti

Massimiliano Borgatti

  • 69 Posts
  • 0 Reply Likes
1 i notice same error/logs for these (building another app/list of plugins with cli-5.4.1)
<gap:plugin name="pushwoosh-pgb-plugin" source="npm" />
<gap:plugin name="cordova-plugin-network-information" source="npm" />
<gap:plugin name="cordova-plugin-inappbrowser" source="npm" />
<gap:plugin name="cordova-plugin-device" source="npm" />
<gap:plugin name="cordova-plugin-dialogs" source="npm" />
<gap:plugin name="cordova-plugin-console" source="npm" />
<gap:plugin name="cordova-plugin-vibration" source="npm" />
<gap:plugin name="cordova-plugin-geolocation" source="npm" />
<gap:plugin name="cordova-plugin-whitelist" source="npm" />

2 i also think the link is not relavant :/