-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplugin.xml
61 lines (54 loc) · 2.39 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
60
61
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
id="cordova-plugin-example-isprime"
version="1.0.1">
<name>IsPrime</name>
<author>Kerri Shotts</author>
<description>
Checks if a number is prime, and if not, returns the corresponding factors.
Used for PhoneGap Day EU 2017 "Creating Modern PhoneGap Plugins" workshop;
not intended for production use (there are better ways to find primes!)
</description>
<license>MIT</license>
<repo>https://github.com/kerrishotts/cordova-plugin-example-isprime.git</repo>
<issue>https://github.com/kerrishotts/cordova-plugin-example-isprime/issues</issue>
<keywords>
prime, pgday, eu, 2017, example, cordova, phonegap, cordova:ecosystem, phonegap:ecosystem
</keywords>
<js-module src="www/isPrime.js" name="isPrime">
<clobbers target="cordova.plugins.kas.isPrime" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="IsPrime" >
<param name="android-package" value="com.kerrishotts.example.isprime.IsPrime"/>
</feature>
</config-file>
<source-file src="src/android/InspectableThreadPoolExecutor.java" target-dir="src/com/kerrishotts/example/isprime" />
<source-file src="src/android/IsPrimeRunnable.java" target-dir="src/com/kerrishotts/example/isprime" />
<source-file src="src/android/IsPrime.java" target-dir="src/com/kerrishotts/example/isprime" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="IsPrime">
<param name="ios-package" value="CDVIsPrime"/>
</feature>
</config-file>
<source-file src="src/ios/CDVIsPrime.m" />
</platform>
<!-- browser -->
<platform name="browser">
<js-module src="src/browser/IsPrimeProxy.js" name="IsPrimeProxy">
<runs />
</js-module>
</platform>
<!-- windows -->
<platform name="windows">
<js-module src="src/windows/IsPrimeProxy.js" name="IsPrimeProxy">
<runs />
</js-module>
<framework src="src/windows/IsPrimeRuntimeComponent/IsPrimeRuntimeComponent/bin/Release/IsPrimeRuntimeComponent.winmd" custom="true"/>
</platform>
</plugin>