Crosswalk + Facebook Connect


#1

Hi guys! Anyone manage to use both crosswalk AND facebook connect plugin?


#2

Tried and failed to get it working


#3

Yes, I’ve tried but it didn’t work


#4

I has getting a multiple dex error. I deleted the crosswalk android-v13 from the lib folder and the compilation worked correctly


#5

Hmm sounds like an issue with the plugin cordova-android 4.0.
The plugin will need to be updated when cordova-android 4.0 officially comes out


#6

Any news? Having the same problem.


#7

You may want to post here about it, as it is an issue with cordova/facebook-connect plugin


#8

I’m using Crosswalk with Cordova Chrome Apps, and I use the facebook-plugin with ngCordova and I have no issues.

Did you read the manually instalation in the docs? https://github.com/Wizcorp/phonegap-facebook-plugin


#9

Added feature for platform android:)


#10

Thanks for your work!

But:
I got the same error on using your “crosswalk” facebook plugin:

Element activity#com.facebook.LoginActivity at AndroidManifest.xml:50:9 duplicated with element declared at AndroidManifest.xml:37:9

Thanks in advance


#11

Remove your prevouis plugin with called by name phonegap facebook plugin.


#12

Hi Machei,

I removed the plugin:
ionic plugin rm com.phonegap.plugins.facebookconnect

Then added your branch:cordova plugin add https://github.com/machei/phonegap-facebook-crosswalk-plugin --variable APP_ID=“8292894XXXXXX” --variable APP_NAME=„test-app“

But I get the same error as before:
Element activity#com.facebook.LoginActivity at AndroidManifest.xml:50:9 duplicated with element declared at AndroidManifest.xml:37:9


#13

at first time u need to clean folder /your_project/plugins/

and next step do it following:

ionic platform rm android
ionic platform add android // it will be installed automically with all plugins .

#14

After updating to Cordova CLI 5.0 and reinstalling every plugin it worked!
Thank!