3 Replies Latest reply on Nov 9, 2016 2:35 PM by kerrishotts

    November 15th Plugins Access

    byronlevi

      Hi,

       

      I noticed on the plugins page the message, "Access to public plugins from this repository will be removed on November 15th, 2016.
      Please use Cordova plugins from npm."

       

      Our team is currently in the middle of building with PhoneGap Build. In an effort to be proactive, would you let me know if any of the following plugins from our iOS or Android config files need to be updated?  If so, could you provide the new plugin(s)? I believe we are already up-to-date, but wanted to check before getting in a bind next week.

       

      iOS Config File:

       

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

          <widget xmlns = "http://www.w3.org/ns/widgets"

        xmlns:gap = "http://phonegap.com/ns/1.0"

        id        = "com.company.appname"

        versionCode="5.0.0"

        version   = "2.0.0">

       

        <name>App Name</name>

        <description>Description Here</description>

        <author href="http://www.company.com" email="test@none.com">Author</author>

       

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

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

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

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

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

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

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

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

       

       

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

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

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

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

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

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

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

        <preference name="ios-statusbarstyle"         value="default" />

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

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

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

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

       

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

       

        <platform name="ios">

        </platform>

       

        <!-- iPhone / iPod Touch -->

        <icon src="icon.png" platform="ios" width="57" height="57" />

        <icon src="icon@2x.png" platform="ios" width="114" height="114" />

       

        <!-- iPad -->

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

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

       

        <!-- iPhone Spotlight and Settings Icon -->

        <icon src="icon-small.png" platform="ios" width="29" height="29" />

        <icon src="icon-small@2x.png" platform="ios" width="58" height="58" />

       

        <!-- iPad Spotlight and Settings Icon -->

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

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

                 

          <!-- iPhone 6 / 6+ -->

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

       

        <!-- iPhone / iPod Touch  -->

        <icon src="icon-60.png" platform="ios" width="60" height="60" />

        <icon src="icon-60@2x.png" platform="ios" width="120" height="120" />

       

        <!-- iPad -->

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

        <icon src="icon-76@2x.png" platform="ios" width="152" height="152" />

       

        <!-- Settings Icon -->

        <icon src="icon-small.png" platform="ios" width="29" height="29" />

        <icon src="icon-small@2x.png" platform="ios" width="58" height="58" />

       

        <!-- Spotlight Icon -->

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

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

       

                 

          <gap:splash src="splashios1.png"     gap:platform="ios"     width="320" height="480" />

          <gap:splash src="splashios2.png"     gap:platform="ios"     width="640" height="960" />

          <gap:splash src="splashios3.png"     gap:platform="ios"     width="640" height="1136" />

       

       

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

          <string>2.0</string>

          </gap:config-file>

       

        <access origin="*"/>

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

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

        <allow-navigation href="data:*" />

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

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

       

      </widget>

       

       

      Android Config File:

       

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

      <widget xmlns     = "http://www.w3.org/ns/widgets"

               xmlns:android="http://schemas.android.com/apk/res/android"

              xmlns:gap = "http://phonegap.com/ns/1.0"

              id        = "com.company.appname"

              version   = "2.0.0">

       

       

        <!-- Declare PhoneGap Version -->

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

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

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

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

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

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

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

       

       

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

        <preference name="android-maxSdkVersion"      value="24" />

        <!-- Declare no permissions needed (default is everything) -->

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

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

       

       

        <feature name="debug-server" required="false"></feature>

       

       

        <!-- Disable splash screen hiding automatically (instead JS removes it) -->

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

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

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

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

        <name>App Name</name>

       

       

        <description>

          Add Description

        </description>

       

       

        <author href="http://.com" email="test@none.com">

          Author Name

        </author>

       

       

        <!-- Core plugins -->

        <plugin name="cordova-plugin-battery-status" />

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

        <plugin name="cordova-plugin-media-capture" />

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

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

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

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

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

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

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

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

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

       

        <!-- Define app icon for each platform. -->

        <icon src="icon.png" />

       

        <!-- Define app splash screen for each platform. -->

        <platform name="android">

          <splash src="androidl.png"    density="ldpi" />

          <splash src="androidm.png"    density="mdpi" />

          <splash src="anroidh.png"    density="hdpi" />

          <splash src="androidx.png"   density="xhdpi" />

          <icon src="icon.png"      gap:qualifier="ldpi" />

          <icon src="icon.png"      gap:qualifier="mdpi" />

          <icon src="icon.png"      gap:qualifier="hdpi" />

          <icon src="icon.png"     gap:qualifier="xhdpi" />

        </platform>

       

       

        <!-- Declare required plugins -->

        <gap:plugin name="org.crosswalk.engine" version="1.3.0" source="pgb" />

        <gap:plugin name="cordova-plugin-statusbar" source="npm" />

        <!-- <plugin name="cordova-plugin-whitelist" /> -->

        <gap:plugin name="cordova-plugin-inappbrowser" source="npm" />

        <gap:plugin name="cordova-plugin-splashscreen" source="npm" />

        <gap:plugin name="cordova-plugin-whitelist" source="npm" version="1.0.0" />

       

        <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:*" />

       

        <!-- Android specific Configuration -->

        <gap:config-file platform="android" parent="/manifest" mode="merge">

       

          <!-- Declare supported screens -->

          <supports-screens

              android:xlargeScreens="true"

              android:largeScreens="true"

              android:smallScreens="true" />

       

          <!-- Declare theme which fixes select menu background color -->

          <application android:debuggable="false"

            android:theme="@android:style/Theme.Holo.Light.NoActionBar">

            <activity android:theme="@android:style/Theme.Holo.Light.NoActionBar"></activity>

          </application>

       

        </gap:config-file>

       

        <platform name="android">

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

        </platform>

       

      </widget>