2 Replies Latest reply on Jul 14, 2017 2:07 PM by ryanskihead

    Failed to fetch plugin com.phonegap.plugins.facebookconnect via registry.

    va81843703

      I am trying to install com.phonegap.plugins.facebookconnect plugin and phonegap build gives 404

       

      "plugman install --platform android --project /project --plugin com.phonegap.plugins.facebookconnect --var APP_ID=xxxxxx --var APP_NAME=xxxx": Fetching plugin "com.phonegap.plugins.facebookconnect" via npm

      Failed to fetch plugin com.phonegap.plugins.facebookconnect via registry.

      Probably this is either a connection problem, or plugin spec is incorrect.

      Check your connection and plugin name/version/URL.

      Error: Registry returned 404 for GET on https://registry.npmjs.org/com.phonegap.plugins.facebookconnect

       

       

      Does anybody know how to fix this ?

       

      Here is my config.xml :

       

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

       

      <widget id="${APPID}" version="${VERSION}" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">

         <name>${NAME}</name>

         <description>

                ${DESCRIPTION}

         </description>

         <author email="${email}" href="${domain}">

           ${AUTHOR}

         </author>

         <content src="index.html" />

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

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

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

         <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-globalization" source="npm" spec="~1.0.3" />

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

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

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

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

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

         <gap:plugin name="uk.co.workingedge.phonegap.plugin.istablet" source="npm" />

         <gap:plugin name="com.phonegap.plugins.facebookconnect">

         <param name="APP_ID" value="${FB_APP_ID}" />

         <param name="APP_NAME" value="${FB_APP_NAME}" />

         </gap:plugin>

         <platform name="android">

         <icon density="ldpi" src="www/assets/images/HB_icon_36x36.png" />

         <icon density="mdpi" src="www/assets/images/HB_icon_48x48.png" />

         <icon density="hdpi" src="www/assets/images/HB_icon_72x72.png" />

         <icon density="xhdpi" src="www/assets/images/HB_icon_96x96.png" />

         <icon density="xxhdpi" src="www/assets/images/HB_icon_144x144.png" />

         <icon density="xxxhdpi" src="www/assets/images/HB_icon_192x192.png" />

         <splash density="port-ldpi" src="www/assets/images/LoaderPage_200x320.png" />

         <splash density="port-mdpi" src="www/assets/images/LoaderPage_320x480.png" />

         <splash density="port-hdpi" src="www/assets/images/LoaderPage_480x800.png" />

         <splash density="port-xhdpi" src="www/assets/images/LoaderPage_720x1280.png" />

         <splash density="port-xxhdpi" src="www/assets/images/LoaderPage_960x1600.png" />

         <splash density="port-xxxhdpi" src="www/assets/images/LoaderPage_1280x1920.png" />

         <splash density="land-ldpi" src="www/assets/images/LoaderPage_200x320.png" />

         <splash density="land-mdpi" src="www/assets/images/LoaderPage_320x480.png" />

         <splash density="land-hdpi" src="www/assets/images/LoaderPage_480x800.png" />

         <splash density="land-xhdpi" src="www/assets/images/LoaderPage_720x1280.png" />

         <splash density="land-xxhdpi" src="www/assets/images/LoaderPage_960x1600.png" />

         <splash density="land-xxxhdpi" src="www/assets/images/LoaderPage_1280x1920.png" />

         </platform>

         <platform name="ios">

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

         <icon height="87" platform="ios" src="www/res/icon/ios/icon-small@3x.png" width="87" />

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

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

         <splash height="2208" platform="ios" src="www/res/screen/ios/Default-736h.png" width="1242" />

         <splash height="1242" platform="ios" src="www/res/screen/ios/Default-Landscape-736h.png" width="2208" />

         <splash height="1536" platform="ios" src="www/res/screen/ios/Default-Landscape@2x~ipad.png" width="2048" />

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

         <splash height="2048" platform="ios" src="www/res/screen/ios/Default-Portrait@2x~ipad.png" width="1536" />

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

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

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

         </platform>

         <access origin="*" />

         <allow-navigation href="*://${DOMAIN}/*" />

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

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

         <preference name="AndroidLaunchMode" value="singleInstance" />

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

         <param name="URL_SCHEME" value="${domain_name}" />

         </gap:plugin>

      </widget>