forked from kohofinancial/segment-cordova-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.xml
55 lines (46 loc) · 2.09 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="segment-cordova-plugin"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
version="4.0.0" >
<name>SegmentCordovaPlugin</name>
<license>MIT License</license>
<description>Cordova plugin for the Segment SDK</description>
<author>James Yoon</author>
<access origin="api.segment.io" />
<js-module name="SegmentCordovaPlugin" src="www/SegmentCordovaPlugin.js">
<clobbers target="Segment" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="SegmentCordovaPlugin">
<param name="android-package" value="com.segment.cordova.plugin.SegmentCordovaPlugin" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml" >
<uses-permission android:name="android.permission.INTERNET" />
</config-file>
<source-file src="src/android/SegmentCordovaPlugin.java" target-dir="src/com/segment/cordova/plugin" />
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
<framework src="com.segment.analytics.android:analytics:4.9.0"/>
<framework src="com.segment.analytics.android.integrations:firebase:2.1.1@aar"/>
</platform>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="SegmentCordovaPlugin">
<param name="ios-package" value="SegmentCordovaPlugin" />
</feature>
</config-file>
<header-file src="src/ios/SegmentCordovaPlugin.h" target-dir="SegmentCordovaPlugin"/>
<source-file src="src/ios/SegmentCordovaPlugin.m" target-dir="SegmentCordovaPlugin"/>
<podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods>
<pod name="Analytics" spec="4.1.1"/>
<pod name="Segment-Firebase" spec="2.7.0"/>
</pods>
</podspec>
</platform>
</plugin>