-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
plugin.xml
59 lines (46 loc) · 2.17 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-idfa"
version="3.0.0">
<name>cordova-plugin-idfa</name>
<description>Cordova plugin to get Advertising ID (IDFA or AAID)</description>
<license>MIT</license>
<keywords>cordova</keywords>
<repo>https://github.com/chemerisuk/cordova-plugin-idfa</repo>
<issue>https://github.com/chemerisuk/cordova-plugin-idfa/issues</issue>
<js-module src="www/Idfa.js" name="Idfa">
<merges target="cordova.plugins.idfa" />
</js-module>
<engines>
<engine name="cordova" version=">=7.1.0"/>
<engine name="cordova-android" version=">=7.0.0"/>
<engine name="cordova-ios" version=">=4.3.0"/>
</engines>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Idfa">
<param name="ios-package" value="IdfaPlugin" />
</feature>
</config-file>
<header-file src="src/ios/IdfaPlugin.h" />
<source-file src="src/ios/IdfaPlugin.m" />
<framework src="AdSupport.framework" weak="true" />
<framework src="AppTrackingTransparency.framework" weak="true" />
</platform>
<platform name="android">
<preference name="ANDROID_PLAY_ADID_VERSION" default="17.0.+"/>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Idfa">
<param name="android-package" value="by.chemerisuk.cordova.advertising.IdfaPlugin" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.google.android.gms.permission.AD_ID" />
</config-file>
<dependency id="cordova-support-android-plugin" version="~2.0.4"/>
<framework src="com.google.android.gms:play-services-ads-identifier:$ANDROID_PLAY_ADID_VERSION" />
<source-file src="src/android/IdfaPlugin.java"
target-dir="src/by/chemerisuk/cordova/advertising/" />
</platform>
</plugin>