Software Archive
Read-only legacy content

Facebookconnectplugin not working on iOS

ale_d_
Beginner
497 Views
Hello facebookconnectplugin coming with intel XDK and intel XDK EA is not working when building for iOS. What happens: Before starting just obtain iOS certificate for adhoc distribution Intel XDK Start a new cordova project and just include this plugin. Follow guidelines to perform login via facebook using app not browser. So what you expect is that when fb login function is called if fb app is already logged no other step will be performed and a token is returned to our app,else fb app login will be called. Build for android and for iOS. In android works well. In iOS always browser login is called even if fb app is already logged in. Intel XDK EA follow previous steps. Build for android: works well. Build for iOS crashes with this error: FacebookSDK.h not found That's why the plugin is not working. github page for this plugin warns: for ios npm breaks symlinks. So framework is not present. Please help me i'm stuck
0 Kudos
2 Replies
Amrita_C_Intel
Employee
497 Views

 

See the repo readme, there is an issue with the plugin on iOS that requires the plugin be cloned locally. There are instructions in the forum, you'll have to search, for how to do this. Here's the link to the repo README >https://github.com/Wizcorp/phonegap-fac ... /README.md

How to add plugin locally- https://software.intel.com/en-us/xdk/docs/adding-third-party-plugins-to-your-xdk-cordova-app

Try to clear the cache of the browser and log out from the Facebook app and then try.

0 Kudos
ale_d_
Beginner
497 Views
Hello before writing the post i've read the repo and tried to add locally See https://software.intel.com/en-us/forums/topic/565005 (i'm bored because no more answers from intel) What you say is not the solution, or not well explained into the link Please try yourself I need help
0 Kudos
Reply