- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello I have this kind of problem:
1) I need to import a plugin from github to include it locally (this is because this issue @ https://github.com/Wizcorp/phonegap-facebook-plugin Cordova Registry warning iOS)
2) I obtained a clone of the git and I saved automatically from GitHub desktop into phonegap-facebook-plugin folder into my application main directory. Inside this folder there are plugin.xml, platforms and .cordova folder and so on
3) I tried to include the plugin via Include local plugin but it fails when builds (both ios and android). That's why the plugin requires 2 parameters: APP_ID and APP_NAME
4) So, where can I find some example about how to use intelxdk.config.additions.xml (or .crosswalk.xml or .ios.xml) to add local plugin so I can set parameters? i tried with this code into config.additions.xml (and .config.crosswalk.xml) file and it fails during building
<intelxdk:plugin intelxdk:name="my facebook new" intelxdk:value="C:\Developer\XDK\LocalMed\phonegap-facebook-plugin" intelxdk:id="com.phonegap.plugins.facebookconnect"> <intelxdk:param intelxdk:name="APP_ID" intelxdk:value="myappid" /> <intelxdk:param intelxdk:name="APP_NAME" intelxdk:value="myappname" /> </intelxdk:plugin>
please help me
- Tags:
- HTML5
- Intel® XDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was able to replicate this and filed a bug. I will post back when it has been fixed.
Also, it does work in the regular XDK.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The local copy of your plugin needs to be located in the "source" directory of your project directory (usually in the www directory) if you are using 2323.
I recommend that you use the EA edition, it does a much better job of handling this situation. You do not need to uninstall 2323, both can be installed at the same time. The EA project file format is different, so you should create a copy of your project or start a new one for the EA edition. You can download a copy of the EA at the bottom of this page: https://software.intel.com/en-us/intel-xdk/early-access and additional instructions can be found here: https://software.intel.com/en-us/forums/topic/561050
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
so is it impossible to handle the situation with my version of xdk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The local copy of your plugin needs to be located in the "source" directory of your project directory (usually in the www directory) if you are using 2323.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the current version it uploads the entire plugin, along with your sources. In the EA and follow-on versions, there will be some caching to address the size of the upload, but there is no reliable way to completely eliminate the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello I tried with EA/iOS. with local and plugin from web I got this error... normal/armv7/FacebookConnectPlugin.o In file included from .../Visitami/platforms/ios/Visitami/Plugins/com.phonegap.plugins.facebookconnect/FacebookConnectPlugin.m:11: Visitami/Plugins/com.phonegap.plugins.facebookconnect/FacebookConnectPlugin.h:11:9: fatal error: 'FacebookSDK/FacebookSDK.h' file not found #import <FacebookSDK/FacebookSDK.h> ^ 1 error generated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you try building without any plugins and see if that works for you?
Also, can you attach you log file as txt file in the future? It makes it easier for us
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the problem is only facebook plugin. Without it, no problems.
the problem occurs if I use the normal reference (import plugin from github): in this case an error occurs because it's impossible to resolve FacebookSDK.h. I changed it to the correct location and another error occurs (that one I pasted)
the same problem occurs if I use the local plugin (change for FacebookSDK.h then this error)
A question: I have to use IntelXDK EA on a Mac? because I use a Windows computer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does not matter if you use a Mac or a Windows machine.
Are you able to build a new simple app using the Facebook plugin as outlined in this article? https://software.intel.com/en-us/xdk/article/facebook-connect-plugin-android-ios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you tried building it without any plugins? If yes any success in that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ale d. wrote:
Yes i've tried. Of course without plugins (but in particular without fb plugin) the build is ok.
So can you try with a blank project by yourself and make it work with this plugin?
Thank you
I was able to build with the plugin. I created a blank cordova app and added the facebook plugin as a third party plugin from the web, and it built without problems. I did find when I ran it that "facebookConnectPlugin" was still undefined (not sure if I was using it right though).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dale Schouten (Intel) wrote:Try with xdk EA, you'll find the problem while building iOS version. Plz help me
Quote:
ale d. wrote:Yes i've tried. Of course without plugins (but in particular without fb plugin) the build is ok.
So can you try with a blank project by yourself and make it work with this plugin?
Thank you
I was able to build with the plugin. I created a blank cordova app and added the facebook plugin as a third party plugin from the web, and it built without problems. I did find when I ran it that "facebookConnectPlugin" was still undefined (not sure if I was using it right though).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was able to replicate this and filed a bug. I will post back when it has been fixed.
Also, it does work in the regular XDK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
JOHN H. (Intel) wrote:Hello no news yet?
I was able to replicate this and filed a bug. I will post back when it has been fixed.
Also, it does work in the regular XDK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No news to report yet.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page