cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Soref (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-8278) plugins fail due to missing variables when readding platforms
Date Thu, 08 Jan 2015 17:53:37 GMT
Josh Soref created CB-8278:
------------------------------

             Summary: plugins fail due to missing variables when readding platforms
                 Key: CB-8278
                 URL: https://issues.apache.org/jira/browse/CB-8278
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugman
            Reporter: Josh Soref


List platforms:
{quote}
$ cordova platforms
Installed platforms: android 3.4.0, blackberry10 3.5.0, ios 3.4.0
Available platforms: amazon-fireos, browser, firefoxos
{quote}

Update android
{quote}
$ cordova platform update android
Android project is now at version 3.6.4
If you updated from a pre-3.2.0 version and use an IDE, we now require that you import the
"CordovaLib" library project.
{quote}

Add plugin (partially)
{quote}
$ cordova plugin add ~/Cordova/phonegap-facebook-plugin  --variable APP_ID=616451688482285
--variable APP_NAME="hybrid-app" 
Installing "com.phonegap.plugins.facebookconnect" for android
Installing "com.phonegap.plugins.facebookconnect" for blackberry10
Installing "com.phonegap.plugins.facebookconnect" for ios
Failed to install 'com.phonegap.plugins.facebookconnect':CordovaError: Plugin doesn't support
this project's cordova version. cordova: 3.4.0, failed version requirement: >=3.5.0
...
{quote}

Remove iOS
{quote}
$ cordova platform rm ios
{quote}

Add iOS
{quote}
$ cordova platform add ios
Creating ios project...
Installing "com.phonegap.plugins.facebookconnect" for ios
Failed to install 'com.phonegap.plugins.facebookconnect':Error: Variable(s) missing: APP_ID,
APP_NAME
    at cordova-lib/src/plugman/install.js:304:23
    at _fulfilled (cordova-lib/node_modules/q/q.js:787:54)
    at self.promiseDispatch.done (cordova-lib/node_modules/q/q.js:816:30)
    at Promise.promise.promiseDispatch (cordova-lib/node_modules/q/q.js:749:13)
    at cordova-lib/node_modules/q/q.js:557:44
    at flush (cordova-lib/node_modules/q/q.js:108:17)
    at process._tickCallback (node.js:415:13)
Error: Variable(s) missing: APP_ID, APP_NAME
    at cordova-lib/src/plugman/install.js:304:23
    at _fulfilled (cordova-lib/node_modules/q/q.js:787:54)
    at self.promiseDispatch.done (cordova-lib/node_modules/q/q.js:816:30)
    at Promise.promise.promiseDispatch (cordova-lib/node_modules/q/q.js:749:13)
    at cordova-lib/node_modules/q/q.js:557:44
    at flush (cordova-lib/node_modules/q/q.js:108:17)
    at process._tickCallback (node.js:415:13)
{quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message