- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
so is it impossible to handle the situation with my version of xdk?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Have you tried building it without any plugins? If yes any success in that?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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).
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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).
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.