Apache Cordova Facebook Plugin installation

Hi to all.

I am wondering if somebody managed to install and build meteor app with Apache Cordova Facebook Plugin.

I found several example solutions how to install plugin - using commit number or from private git clone. It seems that installation went fine but build constantly fails.

Can somebody help me on this?

Regards

1 Like

Have you tried this?

Yes, i tried this also.
Meteor accounts-facebook-cordova package (and variants) requires installation of phonegap-facebook-plugin package. On link you suggested you can see this

Cordova Setup Guide
Refer to the phonegap-facebook-plugin readme

Installation of phonegap-facebook-plugin went fine, but build fails. I will follow the procedure now and paste error when done.

Thanks for the suggestion

I’m also having trouble getting the facebook plugin to work with 1.3

I have included below in the mobile-config:

App.configurePlugin('com.phonegap.plugins.facebookconnect', {
  APP_ID: ***,
  APP_NAME: ***,
  API_KEY: ***
});

but when i attempt to build with meteor run android-device i get the following error:

/app/.meteor/local/cordova-build/platforms/android/build/intermediates/manifests/full/armv7/debug/AndroidManifest.xml:90:28-45 : AAPT: No resource found that matches the given name (at 'value' with value '@string/fb_app_id')

any help would be greatly appreciated :slight_smile:

Did you find a solution? Same issue here…

I have fixed the issue mentioned by @flintchip when downgrading the crosswalk plugin version. I added in mobile-config.js:

App.configurePlugin('cordova-plugin-crosswalk-webview', {
 version:"1.4.0-dev-11"
});