-
Notifications
You must be signed in to change notification settings - Fork 508
Fix for directory structure whatever cordova-android version. #621
Conversation
Don't take my question personally, I'm just trying to simplify things: |
Sorry, for the misunderstanding. I thought that the PR #601 did not solve the problem because it is not compatible with earlier versions of Cordova-android. |
That's actually a very good point (extra backwards compatibility). That makes this a valid alternative to the original PR. As for the delay there, it's just that there isn't that many active developers available to help maintain this plugin right now, so it's just fair that it takes a while for things to move. Jeduan has offered to transfer ownership of the repo to someone willing to lead maintenance, but we haven't had someone say "Pick me!" yet, which is sad. |
I confirm it works! I made a custom manual diff patch of this PR and added the plugin from a local copy.
Otherwise, I got this error:
Like you said, it is really sad that there is not even one Cordova plugin for Facebook Login actually maintained :( |
Hi guys - thanks for attempting to get this working for the new Android version :) I just tried this PR version but it doesnt work on my project. I'm not sure if its something to do with my setup. Its identical to this issue on SO https://stackoverflow.com/questions/48706617/ionic-2-app-build-fail-after-install-facebook-login-plugin. Adding these manually in the xml file works but I'm not sure if it will work this way as this folder is always re-built. My system information
I've tried to play around with the paths within the config.xml file too but no luck. The new paths as per tha latest cordova android is |
@akhatri see the documentation, chapter "cordova-android >= 7" https://github.com/jeduan/cordova-plugin-facebook4/blob/master/docs/android/README.md |
Hi @peterpeterparker it's working now :) I had to remove the Android platform and then build the project so it took the config settings. Previously the project was already built so it appears that it didn't override it. when can we merge this PR into the master branch? Would be great to get this plugin working on our project. |
This plugin is deprecated. Check out |
Fixes #599
Update plugin.xml.
<config-file>
interperts correctly path for AndroidManifest.xml, strings.xml and config.xml whatever version of directory structure.I just remove facebookconnect.xml and move values inside strings.xml.
Tested with facebook connection under cordova-android-7.
note: Apply standardjs fixes on after_prepare.js too (sorry about that).