2 Replies Latest reply on Jun 13, 2016 10:20 PM by mukula62215012
      • 1. Re: Hi I am using phonegap push notification and can't able to build.
        kerrishotts Adobe Community Professional

        Please provide more information:

         

        1. Are you using PhoneGap CLI, Cordova CLI, PhoneGap Desktop/Developer App, or PhoneGap Build?

        2. What device(s) are you targeting, along with operating system version(s)?

        3. What plugin(s) and version(s) are you using?

        4. What commands are you using to build? What output do you receive?

        5. What does your config.xml look like (minus identifying information)?

        • 2. Re: Hi I am using phonegap push notification and can't able to build.
          mukula62215012 Level 1

          <?xml version="1.0"?>

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

          <name>Cloud9</name>

          <description>School Automation System</description>

          <author href="http://shauryasoft.com" email="support@shauryasoft.com">ShauryaSoft Team</author>

          <content src="index.html"/>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          <gap:plugin name="org.apache.cordova.battery-status"/>

          <gap:plugin name="org.apache.cordova.camera"/>

          <gap:plugin name="org.apache.cordova.media-capture"/>

          <gap:plugin name="org.apache.cordova.console"/>

          <gap:plugin name="org.apache.cordova.contacts"/>

          <gap:plugin name="org.apache.cordova.device"/>

          <gap:plugin name="org.apache.cordova.device-motion"/>

          <gap:plugin name="org.apache.cordova.device-orientation"/>

          <gap:plugin name="org.apache.cordova.dialogs"/>

          <gap:plugin name="org.apache.cordova.file"/>

          <gap:plugin name="org.apache.cordova.file-transfer"/>

          <gap:plugin name="org.apache.cordova.geolocation"/>

          <gap:plugin name="org.apache.cordova.globalization"/>

          <gap:plugin name="org.apache.cordova.inappbrowser"/>

          <gap:plugin name="org.apache.cordova.media"/>

          <gap:plugin name="org.apache.cordova.network-information"/>

          <gap:plugin name="org.apache.cordova.splashscreen"/>

          <gap:plugin name="org.apache.cordova.vibration"/>

          <plugin name="com.indigoway.cordova.whitelist.whitelistplugin" source="pgb" spec="1.1.1"/>

          <plugin name="com.phonegap.plugins.pushplugin" source="pgb" spec="2.5.0"/>

          <icon src="icon.png"/>

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

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

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

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

          <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" height="57" width="57"/>

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

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

          <icon src="www/res/icon/ios/icon-72-2x.png" gap:platform="ios" height="144" width="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 gap:role="background" src="www/res/icon/windows-phone/icon-173-tile.png" gap:platform="winphone"/>

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

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

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

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

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

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

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

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

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

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

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

          <access origin="*"/>

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

          <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>

           

          This is my config.xml. Now I am able to build successfully. But Notification receives on android below 5 version is perfectly fine. I am using android version 5 and receiving notification after 2 to 3 hours. What Should I do.