From 7897f28d26bf00e23738577dc71d527aad75916e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Novau?= Date: Thu, 19 Nov 2020 08:36:12 +0100 Subject: [PATCH] Update index.ts (#3565) Adding to README.md instructions for capacitor support on Android. --- .../plugins/firebase-analytics/index.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/@ionic-native/plugins/firebase-analytics/index.ts b/src/@ionic-native/plugins/firebase-analytics/index.ts index 76a8163fcf..a5651ae6f3 100644 --- a/src/@ionic-native/plugins/firebase-analytics/index.ts +++ b/src/@ionic-native/plugins/firebase-analytics/index.ts @@ -11,6 +11,22 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; * * NOTE: on iOS in order to collect demographic, age, gender data etc. you should additionally include AdSupport.framework into your project. * + * ## Using capacitor? + * For Android you'll have to add in __android/app/src/main/AndroidManfiest.xml__ under `` + * ``` + * + * + * + * ``` + * + * And in the same file, you'll have to add `xmlns:tools="http://schemas.android.com/tools"` to your _manifest_ tag. + * * @usage * ```typescript * import { FirebaseAnalytics } from '@ionic-native/firebase-analytics/ngx';