Closed eeerrrttty closed 5 years ago
package.json :
{
"name": "com.herot.eyes",
"displayName": "Herot",
"version": "1.2.0",
"description": "A sample Apache Cordova application that responds to the deviceready event.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"ecosystem:cordova"
],
"author": "Apache Cordova Team",
"license": "Apache-2.0",
"dependencies": {
"cordova-android": "^8.0.0",
"cordova-plugin-androidx": "^1.0.2",
"cordova-plugin-androidx-adapter": "^1.1.0",
"cordova-plugin-camera": "^4.1.0",
"cordova-plugin-facebook4": "6.0.0",
"cordova-plugin-firebasex": "^6.0.7",
"cordova-plugin-ionic-keyboard": "^2.1.3",
"cordova-plugin-ionic-webview": "^4.1.0",
"cordova-plugin-splashscreen": "^5.0.3"
},
"devDependencies": {
"cordova-plugin-whitelist": "^1.3.4"
},
"cordova": {
"plugins": {
"cordova-plugin-whitelist": {},
"cordova-plugin-ionic-keyboard": {},
"cordova-plugin-ionic-webview": {
"ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
},
"cordova-plugin-splashscreen": {},
"cordova-plugin-firebasex": {
"ANDROID_ICON_ACCENT": "#F5AB19"
},
"cordova-plugin-camera": {
"ANDROID_SUPPORT_V4_VERSION": "27.+"
},
"cordova-plugin-facebook4": {
"APP_ID": "2289635827752462",
"APP_NAME": "Kmais",
"FACEBOOK_HYBRID_APP_EVENTS": "false",
"FACEBOOK_ANDROID_SDK_VERSION": "5.2.0"
}
},
"platforms": [
"android"
]
}
}
For support requests plz use other channels.
That being said, try to set a different android-minSdkVersion
and if necessary android-targetSdkVersion
in your config.xml
.
I'm trying to add the cordova-plugin-facebook4 plugin on my app, everything works, but after i install the plugin, the build crashes.
I thought on changing the minSdkVersion of plugin to 19 on plugin.xml, but it doesn't work. Everything worked before i added the plugin.
How can i solve this? Is there a fork of this plugin that runs from version 19+ ?
My plugins does use minSdkVersion 19