8 Replies Latest reply on Apr 10, 2017 5:06 AM by prospectump88146695

    PhoneGap Build not installing plugins for WP

    prospectump88146695 Level 1

      App ID: 1820817

      <preference name="phonegap-version" value="cli-5.4.1" />

      <engine name="windows" spec="3.8.2" />

       

      I have been struggling all week with my WP builds. I have tried numerous things to fix issues on WP. Now I have come to realization, that plugins haven't been included in my WP builds since 20th December. I have kept all the .xap packages I have created and 20th Dec was my last built with .xap that contains the plugins directory. Every build since that is missing plugins directory. If I use exactly the same codes I used back then, it will still be broken. Something in PhoneGap build has changed.

       

      Any idea what is wrong? Seems there is nothing I can do to fix this.

        • 1. Re: PhoneGap Build not installing plugins for WP
          kerrishotts Adobe Community Professional

          Might help to see your entire config.xml (minus secret/identifying information).

          • 2. Re: PhoneGap Build not installing plugins for WP
            prospectump88146695 Level 1

            <?xml version="1.0" encoding="utf-8"?>

            <widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">

             

             

              <content src="index.html" />

              <preference name="permissions" value="none" />

              <preference name="orientation" value="portrait" />

              <preference name="target-device" value="universal" />

              <preference name="webviewbounce" value="false" />

              <icon height="512" src="icon.png" width="512" />

              <splash height="800" src="splash.jpg" width="480" />

              <preference name="ShowSplashScreenSpinner" value="false" />

              <platform name="windows">

              <preference name="phonegap-version" value="cli-5.4.1" />

              <engine name="windows" spec="3.8.2" />

             

             

              <preference name="fullscreen" value="true" />

              <icon height="48" src="www/res/icon/windows/icon-48.png" width="48" />

              <icon height="173" role="background" src="www/res/icon/windows/icon-173-tile.png" width="173" />

              <splash height="300" src="www/res/screen/windows/splashscreen.png" width="620" />

              <splash height="1920" src="www/res/screen/windows/splashscreenphone.png" width="1152" />

              <preference name="SplashScreenBackgroundColor" value="#FFFFFF" />

              </platform>

              <platform name="ios">

              <preference name="phonegap-version" value="cli-6.3.0" />

              <engine name="ios" spec="4.2.0" />

              <plugin name="de.appplant.cordova.plugin.local-notification" spec="0.8.4" />

              <plugin name="cordova-plugin-fcm" />

              <plugin source="git" spec="myPrivateRepo/cordova-plugin-fcm-config.git" />

              <preference name="AutoHideSplashScreen" value="false" />

              <preference name="DisallowOverscroll" value="true" />

              <preference name="KeyboardDisplayRequiresUserAction" value="false" />

              <icon height="29" src="www/res/icon/ios/icon-settings-29.png" width="29" />

              <icon height="40" src="www/res/icon/ios/icon-40.png" width="40" />

              <icon height="50" src="www/res/icon/ios/icon-50.png" width="50" />

              <icon height="58" src="www/res/icon/ios/icon-settings-2x.png" width="58" />

              <icon height="57" src="www/res/icon/ios/icon-57.png" width="57" />

              <icon height="72" src="www/res/icon/ios/icon-72.png" width="72" />

              <icon height="76" src="www/res/icon/ios/icon-76.png" width="76" />

              <icon height="80" src="www/res/icon/ios/icon-40-2x.png" width="80" />

              <icon height="87" src="www/res/icon/ios/icon-87.png" width="87" />

              <icon height="100" src="www/res/icon/ios/icon-50-2x.png" width="100" />

              <icon height="120" src="www/res/icon/ios/icon-120.png" width="120" />

              <icon height="152" src="www/res/icon/ios/icon-152.png" width="152" />

              <icon height="114" src="www/res/icon/ios/icon-57-2x.png" width="114" />

              <icon height="144" src="www/res/icon/ios/icon-72-2x.png" width="144" />

              <icon height="180" src="www/res/icon/ios/icon-60-3x.png" width="180" />

              <splash height="480" src="www/res/screen/ios/Default~iphone.png" width="320" />

              <splash height="960" src="www/res/screen/ios/iphone-retina@2x.png" width="640" />

              <splash height="1136" src="www/res/screen/ios/Default-568h@2x.png" width="640" />

              <splash height="1334" src="www/res/screen/ios/Default-667h.png" width="750" />

              <splash height="1024" src="www/res/screen/ios/ipad-768.png" width="768" />

              <splash height="2208" src="www/res/screen/ios/iphone6-plus@3x.png" width="1242" />

              <splash height="2048" src="www/res/screen/ios/ipad-portrait.png" width="1536" />

              </platform>

              <platform name="android">

              <preference name="phonegap-version" value="cli-6.3.0" />

              <engine name="android" spec="5.2.1" />

              <plugin name="de.appplant.cordova.plugin.local-notification" spec="0.8.4" />

              <plugin name="cordova-plugin-fcm" />

              <plugin source="git" spec="myPrivateRepo/cordova-plugin-fcm-config.git" />

              <preference name="AutoHideSplashScreen" value="false" />

              <preference name="android-build-tool" value="gradle" />

              <preference name="DisallowOverscroll" value="true" />

              <preference name="android-targetSdkVersion" value="22" />

              <preference name="android-minSdkVersion" value="14" />

              <preference name="android-installLocation" value="auto" />

              <icon density="ldpi" src="www/res/icon/android/icon-36-ldpi.png" />

              <icon density="mdpi" src="www/res/icon/android/icon-48-mdpi.png" />

              <icon density="hdpi" src="www/res/icon/android/icon-72-hdpi.png" />

              <icon density="xhdpi" src="www/res/icon/android/icon-96-xhdpi.png" />

              </platform>

              <preference name="detect-data-types" value="true" />

              <plugin name="cordova-plugin-splashscreen" spec="4.0.1" />

              <plugin name="cordova-plugin-file" spec="4.2.0" />

              <plugin name="cordova-plugin-device" spec="1.1.2" />

              <plugin name="cordova-plugin-inappbrowser" spec="1.6.1" />

              <plugin name="cordova-plugin-network-information" spec="1.2.1" />

              <plugin name="cordova-plugin-app-version" spec="0.1.9" />

              <plugin name="cordova-plugin-compat" spec="1.1.0" />

              <feature name="http://api.phonegap.com/1.0/network" />

              <plugin name="cordova-plugin-whitelist" spec="1.3.0" />

              <allow-navigation href="https://*" /> <!-- Required for iOS to allow iframes -->

              <allow-navigation href="http://*" /> <!-- Required for iOS to allow iframes -->

              <access origin="*" />

              <allow-intent href="tel:*" />

              <allow-intent href="mailto:*" />

              <allow-intent href="http:*" />

              <allow-intent href="https:*" />

            </widget>

            • 3. Re: PhoneGap Build not installing plugins for WP
              kerrishotts Adobe Community Professional

              Just a thought, but try removing your iOS and Android platform settings for now and build only for Windows. Do the plugins get included then?

              • 4. Re: PhoneGap Build not installing plugins for WP
                prospectump88146695 Level 1

                Tried this and nothing changed. Still not icluding plugins directory nor cordova_plugins.js.

                 

                Also noticed PGB now has change notes. And they indeed have done a change on 20th Dec.

                 

                2016-12-20

                • Updated default iOS deployment target from 6.0 to 8.0
                • Added support for CocoaPods on iOS PhoneGap 4.3.0+
                • Updated Plugman to version 1.4.0 - this includes PhoneGap 6.4.0 support
                • 5. Re: PhoneGap Build not installing plugins for WP
                  nialle87056827 Level 1

                  Adobe,

                   

                  How is this still broken, its been nearly a month.

                   

                  Please let us know when you plan to fix this, or is it worth everyone abandoning the service and building ourselves?

                   

                  thanks,

                  • 6. Re: PhoneGap Build not installing plugins for WP
                    prospectump88146695 Level 1

                    It's quite frustrating. PGB has been broken for WP for 2 months now. No communication :/

                    • 7. Re: PhoneGap Build not installing plugins for WP
                      petrij4934675

                      Yes, very frustrating. There's at least 3 open tickets about this issue but no answers in any of them.

                      • 8. Re: PhoneGap Build not installing plugins for WP
                        prospectump88146695 Level 1

                        It seems the issue with the PGB was fixed a few weeks ago. I downloaded the xap and it contained the plugins again!