forked from fuseelements/TestFlightPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
45 lines (34 loc) · 1.38 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.testflightapp.cordova.plugin"
version="1.0.0">
<name>TestFlight SDK</name>
<engines>
<engine name="cordova" version=">=2.2.0" />
</engines>
<access origin="*.testflightapp.com" />
<asset src="www/testflight.js" target="plugins/testflight.js" />
<!-- ios -->
<platform name="ios">
<!-- Only for Cordova 2.2.0 -->
<plugins-plist key="TestFlightSDK" string="CDVTestFlight" />
<config-file target="config.xml" parent="/*/plugins">
<plugin name="TestFlightSDK" value="CDVTestFlight"/>
</config-file>
<!-- feature tag in config.xml -->
<config-file target="config.xml" parent="/widget">
<feature name="TestFlightSDK">
<param name="ios-package" value="CDVTestFlight"/>
</feature>
</config-file>
<header-file src="src/ios/TestFlight.h" />
<header-file src="src/ios/CDVTestFlight.h"/>
<source-file src="src/ios/CDVTestFlight.m" />
<source-file src="src/ios/libTestFlight.a" framework="true"/>
<framework src="libz.dylib" />
<info>
Add this script tag to your index.html:
<script src="plugins/testflight.js"></script>
</info>
</platform>
</plugin>