mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
Update index.ts (#3565)
Adding to README.md instructions for capacitor support on Android.
This commit is contained in:
parent
0f197ad9fc
commit
7897f28d26
@ -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 `<application>`
|
||||
* ```
|
||||
* <meta-data
|
||||
* tools:replace="android:value"
|
||||
* android:name="firebase_analytics_collection_enabled"
|
||||
* android:value="true"/>
|
||||
*
|
||||
* <meta-data
|
||||
* tools:replace="android:value"
|
||||
* android:name="google_analytics_automatic_screen_reporting_enabled"
|
||||
* android:value="false"/>
|
||||
* ```
|
||||
*
|
||||
* 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';
|
||||
|
Loading…
Reference in New Issue
Block a user