I used the " phonegap-facebook-plugin " for my phone call application. It worked great with android. I used phonegap build to compile the application.
I found (when compiling the application) that this plugin was not compatible with iOS, so I removed the plugin from the configuration file when testing my application on iOS.
Including the plugin again (after a few days) in the configuration file for testing on Android, this leads to a build failure for Android. When checking the error log in the area of โโbuilding phone calls, I see the following error:
FAILURE: Build failed with an exception. * Where: Build file '/project/phonegap-facebook-plugin/dublininquirerapp-FacebookLib/build.gradle' line: 15 * What went wrong: A problem occurred evaluating project ':phonegap-facebook-plugin:FacebookLib'. > Could not get unknown property 'ANDROID_BUILD_SDK_VERSION' for project ':phonegap-facebook-plugin:FacebookLib' of type org.gradle.api.Project. * Try: Run with
He worked just a few days ago. Iโm not sure why this isnโt working right now, but I also noticed in the last few days a notification about writing the phone book.
Default PhoneGap has been updated to cli-6.5.0 (iOS 4.3.1, Android 6.1.2, Windows 4.4.3)
Here is the code that I included in my configuration file. You can help? thanks
<plugin name="phonegap-facebook-plugin" source="npm" version="0.12.0"> <param name="APP_ID" value="XXXXXXXXXXXXXXX" /> <param name="APP_NAME" value="My App Name" /> </plugin>
Sarah source share