- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a local copy of com.phonegap.plugins.facebookconnect that I downloaded from github.
It has a change in the code that I need to use. I added the paramValues in to <PROJECT_NAME>.xdk file as follows in the array of cordovaPlugins:
{ "id": "com.phonegap.plugins.facebookconnect", "version": "", "selectedState": "Included", "data": {}, "paramvals": { "APP_ID": "807531449296196", "APP_NAME": "Draw me Crazy" }, "dependsOn": [], "dependedBy": [], "custom": "true", "name": "FBCustom", "origin": "phonegap-facebook-plugin-master", "originType": "local", "sourceLocation": "" }
However, building the project does not fill in the parameter values required for the plugin any more, even though the build is successful. The build log shows:
Calling plugman.fetch on plugin ".../cachedPlugins.blCZ5B.tmp/cache.8hc_TT.pl/com.phonegap.plugins.facebookconnect" Copying plugin ".../cachedPlugins.blCZ5B.tmp/cache.8hc_TT.pl/com.phonegap.plugins.facebookconnect" => ".../<<PROJECT_NAME>/plugins/com.phonegap.plugins.facebookconnect" Variable(s) missing (use: --variable APP_ID=value --variable APP_NAME=value).
The resulting intel.config.android.xml also has "not.yet.specified" for the params, which have no names either:
<intelxdk:plugin intelxdk:name="FBCustom" intelxdk:value="phonegap-facebook-plugin-master" intelxdk:type="local"> <intelxdk:param intelxdk:value="not.yet.specified"/> <intelxdk:param intelxdk:value="not.yet.specified"/></intelxdk:plugin>
I'm not sure how to fix this. Anyone?
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think I just fixed this. Referring to document: https://software.intel.com/en-us/xdk/docs/adding-special-build-options-to-your-xdk-cordova-app-with-the-intelxdk-config-additions-xml-file one of the last sections "Add a third-party plugin, that requires parameters, to all builds:" refers to adding the required params to the intelxdk.config.additions.xml file instead. I also removed the reference from the .xdk file.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page