Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

iOS Cordova version

Alessandro_S_
Beginner
949 Views

I notice that setting the CLI version to 3.5.1 many problems of 3rd party plugin ( facebookconnectplugin included) are solved.

This is because this CLI version (3.5.1) doesn't use cordova 3.7.0 that has some bug. The problem is that apps built with this CLI version won't be supported in a short time. What's the solution? I tried to move to CLI 5.1.1 but errors while building.

 

0 Kudos
4 Replies
Amrita_C_Intel
Employee
949 Views

Hello,

I  tried to recreate this issue by including Facebook connect plugin and using CLI 5.1.1 version and the built was successful for ios.

0 Kudos
Alessandro_S_
Beginner
949 Views
I got error. What version of xdk you're using?
0 Kudos
Alessandro_S_
Beginner
949 Views

Sorry I made a mistake. Ios build 5.1.1 is ok. Same project fails in android with 5.1.1. Unfortunately I can no longer use crosswalk build: since september 18: even a simple project with this plugin crashes at runtime when I call plugin login function. Try yourself, add this code to the project that You've just built for iOs with CordovaFacebookPlugin

function TestMe()

{

var fbLoginSuccess = function (userData) {
    alert("UserInfo: " + JSON.stringify(userData));
}
//facebookConnectPlugin.browserInit("829140770512386");
facebookConnectPlugin.login(["public_profile"],
    fbLoginSuccess,
    function (error) { alert("" + error) }
); }

and call TestMe. If you build crosswalk You'll notice that your app will crash. The same project built by me 3/4 days ago of course worked.

speachless...what's happened to intel xdk environment? I opened a post 3 days ago but still no answers from Intel (upset).

https://software.intel.com/en-us/forums/intel-xdk/topic/593939

 That's why I tried to build a no crosswalk version: CLI 4.1.2 is veri unstable, app crashes on close, graphical leaks and so on...so I thought that 5.1.1 would be better but building with CLI 5.1.1 fails!

Please help me, forward the crosswalk issue to engineer or I don't know where but please give me an answer. I need my crosswalk app back because I used to deploy that one, more stable and working!

Thank you

0 Kudos
Amrita_C_Intel
Employee
949 Views

send your project via PM.

0 Kudos
Reply