I installed cordova facebook4 plugin
cordova plugin add cordova-plugin-facebook4 --save --variable APP_ID="12345678910" --variable APP_NAME="My Application Name"
and when I try to build, it shows this error.
I never got this error till last week, but today when I want to update my app it shows that error. Any suggestion?
This seems to be a new issue with the facebook plugin.
Try changing
to
in
plugin.xmlof plugin located in/plugins/cordova-plugin-facebook4and replace
com.facebook.android:facebook-android-sdk:4.+withcom.facebook.android:facebook-android-sdk:4.26.0both in/platforms/android/build.gradleand/platforms/android/project.propertiesin your cordova project.This should be a temporary measure.