-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
47 lines (36 loc) · 1.83 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="com.app47.plugin" version="6.0.2">
<name>App47 Agent Plugin for Cordova/PhoneGap</name>
<description>App47 Agent Plugin</description>
<license>MIT</license>
<keywords>phonegap,analytics,app47</keywords>
<js-module src="www/app47.js" name="App47">
<clobbers target="window.app47" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="App47">
<param name="android-package" value="com.app47.pgplugin.App47PGPlugin"/>
</feature>
</config-file>
<source-file src="src/android/com/app47/pgplugin/App47PGPlugin.java" target-dir="src/com/app47/pgplugin" />
<lib-file src="src/android/com/app47/libs/AndroidAgent-2.1.0.jar" />
<config-file target="AndroidManifest.xml" parent="application">
<service android:enabled="true" android:name="com.app47.embeddedagent.AgentConfigService" />
<service android:enabled="true" android:name="com.app47.embeddedagent.AgentSessionService" />
<service android:enabled="true" android:name="com.app47.embeddedagent.AgentEventService" />
</config-file>
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="App47">
<param name="ios-package" value="App47PGPlugin" />
</feature>
</config-file>
<header-file src="src/ios/App47PGPlugin.h" />
<source-file src="src/ios/App47PGPlugin.m" />
<framework src="src/ios/EmbeddedAgent.framework" custom="true" embed="true" />
</platform>
</plugin>