From 87368d1f675837efab53563d212de2150a3d5413 Mon Sep 17 00:00:00 2001
From: Adrian Pascu <1521321+adipascu@users.noreply.github.com>
Date: Sat, 15 Dec 2018 11:10:27 +0200
Subject: [PATCH] Support for cordova-android v7 without workaround (#716)
---
README.md | 2 +-
docs/android/README.md | 9 ---------
plugin.xml | 6 ++++++
3 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 255d41cb4..63cd75019 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ The Facebook plugin for [Apache Cordova](http://cordova.apache.org/) allows you
## Compatibility
* Cordova >= 5.0.0
- * cordova-android >= 4.0 (see Android Guide for cordova-android >= 7)
+ * cordova-android >= 4.0
* cordova-ios >= 3.8
* cordova-browser >= 3.6
* Phonegap build (use phonegap-version >= cli-5.2.0, android-minSdkVersion>=15, and android-build-tool=gradle), see [example here](https://github.com/yoav-zibin/phonegap-tictactoe/blob/gh-pages/www/config.xml)
diff --git a/docs/android/README.md b/docs/android/README.md
index b45ce6f64..5e78bbfb3 100644
--- a/docs/android/README.md
+++ b/docs/android/README.md
@@ -29,15 +29,6 @@ You could add the property manually or specify it when you install the plugin, s
Of course if you could, you could update your Cordova CLI and avoid specifying explicitly this option
-### cordova-android >= 7
-
-In order to install correctly this plugin for `cordova-android` v7.x.y and above, you have to specify the APP_ID and APP_NAME in the android `platform` tag of your `config.xml`
-
-
- 123456789
- myApplication
-
-
### In case of conflict
If you would face version conflicts regarding the Facebook SDK with other plugins used in your project while installing `cordova-plugin-facebook4` for your ANDROID platform, you would be able to specify a specific Facebook SDK version for ANDROID using the variable `FACEBOOK_ANDROID_SDK_VERSION`
diff --git a/plugin.xml b/plugin.xml
index 7e20adde7..f06048300 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -48,10 +48,16 @@
+
$APP_ID
$APP_NAME
+
+
+ $APP_ID
+ $APP_NAME
+