This repository has been archived by the owner on Aug 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
plugin.xml
55 lines (51 loc) · 2.31 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-acpanalytics"
version="0.0.1"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-acpanalytics</name>
<description>ACPAnalytics Plugin for Cordova</description>
<license>Apache 2.0</license>
<keywords>cordova,adobe,analytics,acpanalytics,marketing</keywords>
<!-- use "ACPAnalytics" to access the plugin APIs in javascript -->
<js-module name="cordova-acpanalytics" src="www/ACPAnalytics.js">
<clobbers target="ACPAnalytics" />
</js-module>
<!-- dependency on ACPCore plugin -->
<dependency id="cordova-acpcore" url="https://github.com/adobe/cordova-acpcore" />
<!-- configure android platform -->
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="ACPAnalytics_Cordova">
<param name="android-package" value="com.adobe.marketing.mobile.cordova.ACPAnalytics_Cordova" />
<param name="onload" value="true" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml" />
<!-- plugin source -->
<source-file src="src/android/ACPAnalytics_Cordova.java"
target-dir="src/com/adobe/marketing/mobile/cordova" />
<!-- dependencies managed through included gradle file -->
<framework custom="true" src="src/android/ACPAnalytics_Cordova.gradle" type="gradleReference" />
</platform>
<!-- configure ios platform -->
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="ACPAnalytics_Cordova">
<param name="ios-package" value="ACPAnalytics_Cordova" />
<param name="onload" value="true" />
</feature>
</config-file>
<!-- plugin source -->
<source-file src="src/ios/ACPAnalytics_Cordova.m" />
<!-- sdk source for ios managed by cocoapods -->
<podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git" />
</config>
<pods use-frameworks="true">
<pod name="ACPAnalytics" spec=">= 2.2.3" />
</pods>
</podspec>
</platform>
</plugin>