3 Replies Latest reply on Jan 2, 2017 8:37 AM by VectorP

    Plugins are not supported

    as85253343

      I changed all the plugins to npm. After uploading www.zip file, I tried to build. But still, issues with Plugins. The content of config.xml is as below.

       

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

        <name>TEST</name>

        <description>Hello World sample application that responds to the deviceready event.</description>

        <author href="http://phonegap.com" email="support@phonegap.com">PhoneGap Team</author>

        <content src="index.html"/>

       

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

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

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

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

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

        <preference name="prerendered-icon" value="true"/>

        <preference name="stay-in-webview" value="false"/>

        <preference name="ios-statusbarstyle" value="black-opaque"/>

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

        <preference name="exit-on-suspend" value="false"/>

        <preference name="show-splash-screen-spinner" value="true"/>

        <preference name="auto-hide-splash-screen" value="false"/>

        <preference name="disable-cursor" value="false"/>

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

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

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

        <preference name="SplashScreen" value="screen" />

        <preference name="SplashScreenDelay" value="5000" />

       

        <plugin name="cordova-plugin-battery-status" source="npm" spec="~1.1.1" />

          <plugin name="cordova-plugin-camera" source="npm" spec="~2.1.1" />

          <plugin name="cordova-plugin-media-capture" source="npm" spec="~1.2.0" />

          <plugin name="cordova-plugin-console" source="npm" spec="~1.0.2" />

          <plugin name="cordova-plugin-contacts" source="npm" spec="~2.0.1" />

          <plugin name="cordova-plugin-device" source="npm" spec="~1.1.1" />

          <plugin name="cordova-plugin-device-motion" source="npm" spec="~1.2.0" />

          <plugin name="cordova-plugin-device-orientation" source="npm" spec="~1.0.2" />

          <plugin name="cordova-plugin-dialogs" source="npm" spec="~1.2.0" />

          <plugin name="cordova-plugin-file" source="npm" spec="~4.1.1" />

          <plugin name="cordova-plugin-file-transfer" source="npm" spec="~1.5.0" />

          <plugin name="cordova-plugin-geolocation" source="npm" spec="~2.1.0" />

          <plugin name="cordova-plugin-globalization" source="npm" spec="~1.0.3" />

          <plugin name="cordova-plugin-inappbrowser" source="npm" spec="~1.3.0" />

          <plugin name="cordova-plugin-media" source="npm" spec="~2.2.0" />

          <plugin name="cordova-plugin-network-information" source="npm" spec="~1.2.0" />

          <plugin name="cordova-plugin-splashscreen" source="npm" spec="~3.2.1" />

          <plugin name="cordova-plugin-statusbar" source="npm" spec="~2.1.2" />

          <plugin name="cordova-plugin-vibration" source="npm" spec="~2.1.0" />

          <plugin name="cordova-plugin-whitelist" source="npm" spec="~1.2.1" />

       

       

       

        <icon src="www/res/icon/android/icon-36-ldpi.png" gap:platform="android" gap:qualifier="ldpi"/>

        <icon src="www/res/icon/android/icon-48-mdpi.png" gap:platform="android" gap:qualifier="mdpi"/>

        <icon src="www/res/icon/android/icon-72-hdpi.png" gap:platform="android" gap:qualifier="hdpi"/>

        <icon src="www/res/icon/android/icon-96-xhdpi.png" gap:platform="android" gap:qualifier="xhdpi"/>

        <icon src="www/res/icon/blackberry/icon-80.png" gap:platform="blackberry"/>

        <icon src="www/res/icon/blackberry/icon-80.png" gap:platform="blackberry" gap:state="hover"/>

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

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

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

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

        <icon src="www/res/icon/webos/icon-64.png" gap:platform="webos"/>

        <icon src="www/res/icon/windows-phone/icon-48.png" gap:platform="winphone"/> 

        <icon src="www/res/icon/windows-phone/icon-173-tile.png" gap:platform="winphone" gap:role="background"/>

        <icon src="icon.png"/> <!--Default Icon-->

       

        <feature name="SplashScreen">

        <param name="ios-package" value="CDVSplashScreen" />

        </feature>

       

        <gap:splash src="www/res/screen/blackberry/screen-225.png" gap:platform="blackberry"/> 

        <gap:splash src="www/res/screen/windows-phone/screen-portrait.jpg" gap:platform="winphone"/>

       

        <gap:splash src="res/screen/android/screen-ldpi-portrait.png"  gap:platform="android" gap:qualifier="port-ldpi"/>

        <gap:splash src="res/screen/android/screen-mdpi-portrait.png" gap:platform="android"  gap:qualifier="port-mdpi"/>

        <gap:splash src="res/screen/android/screen-hdpi-portrait.png" gap:platform="android"  gap:qualifier="port-hdpi"/>

        <gap:splash src="res/screen/android/screen-xhdpi-portrait.png" gap:platform="android" gap:qualifier="port-xhdpi"/>

        <gap:splash src="res/screen/android/screen-ldpi-landscape.png"  gap:qualifier="land-ldpi"/>

        <gap:splash src="res/screen/android/screen-mdpi-landscape.png"  gap:qualifier="land-mdpi"/>

        <gap:splash src="res/screen/android/screen-hdpi-landscape.png"  gap:qualifier="land-hdpi"/>

        <gap:splash src="res/screen/android/screen-xhdpi-landscape.png" gap:qualifier="land-xhdpi"/> 

        

        <gap:splash src="res/screen/ios/screen-iphone-portrait.png" gap:platform="ios"  width="320" height="480"/>

        <gap:splash src="res/screen/ios/screen-iphone-portrait-2x.png" gap:platform="ios"  width="640" height="960"/>

        <gap:splash src="res/screen/ios/screen-iphone-portrait-568h-2x.png" gap:platform="ios"  width="640" height="1136"/>

        <gap:splash src="res/screen/ios/screen-ipad-portrait.png"  gap:platform="ios" width="768"  height="1024"/>

        <gap:splash src="res/screen/ios/screen-ipad-landscape.png" gap:platform="ios"  width="1024" height="768"/>

        

        <gap:splash src="splash.png"/> <!--Default Spalsh Screen-->

       

        <gap:config-file platform="ios" parent="CFBundleShortVersionString">

          <string>100</string>

        </gap:config-file>

       

        <access origin="*"/>

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

         <allow-intent href="http:m3.nehanet.com/prmlogin.jsp"/>

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

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

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

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

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

        <platform name="android">

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

        </platform>

        <platform name="ios"> 

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

          <allow-intent href="itms-apps:*"/>

        </platform>

      </widget>

        • 1. Re: Plugins are not supported
          VectorP Level 4

          But still, issues with Plugins.

          What are the issues, and why do you think those plugins are 'not supported'?

           

          BTW:

          - do you really need all those plugins?

          - do you set older versions of the plugins for any reason/purpose?

          - could it be that your config isn't found, read and/or parsed?

          - remove all FEATURE elements, since PGB doesn't use these.

          • 2. Re: Plugins are not supported
            as85253343 Level 1

            Hi Vector

            My Project is Legacy Project.

            - do you really need all those plugins? - All plugins are set by default. No I removed everything. No Plugins now.

            - do you set older versions of the plugins for any reason/purpose? - No purpose. By default it was set.

            - could it be that your config isn't found, read and/or parsed? - I guess so. Because even after removing all the Plugins, while building it throws an error message that ' Plugins are not supported'.

            - remove all FEATURE elements, since PGB doesn't use these. - Which Feature elements u meant? I need Preferences, Splash and icon elements for my project.

            • 3. Re: Plugins are not supported
              VectorP Level 4

              All plugins are set by default. No I removed everything. No Plugins now.

              When using Phonegap Build, there is no 'default' per se. You don't have to install Phonegap, create an environment with SDK's, create a project, etc.

              Also, you can't have no plugins, since you have included whitelisting rules and you want splash screens. So, you need at least the whitelist plugin, the splashscreen plugin and the statusbar plugin for the iPad.

               

              Because even after removing all the Plugins, while building it throws an error message that ' Plugins are not supported'.

              Perhaps you have uploaded a full Cordova project, including plugins in a /plugins directory. Perhaps you even included a /hooks directory.

              You should not do that.

              This would be a great time to read the Getting Started section o f the Phonegap Build docs.

               

              Which Feature elements u meant?

              You have a <feature> element in your config.xml. It says:

                <feature name="SplashScreen">

                <param name="ios-package" value="CDVSplashScreen" />

                </feature>

              You should remove that. I have no idea why you included it.

              1 person found this helpful