forked from ohh2ahh/AppAvailability
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
46 lines (34 loc) · 1.49 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.ohh2ahh.plugins.appavailability"
version="0.2.1">
<name>AppAvailability</name>
<description>This plugin allows you to check if an app is installed. It requires an URI Scheme (e.g. fb://) for iOS.</description>
<keywords>cordova,phonegap,app,availability</keywords>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/AppAvailability.js" name="AppAvailability">
<clobbers target="appAvailability" />
</js-module>
<!-- iOS -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="AppAvailability">
<param name="ios-package" value="AppAvailability" />
</feature>
</config-file>
<header-file src="src/ios/AppAvailability.h" />
<source-file src="src/ios/AppAvailability.m" />
</platform>
<!-- Android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="AppAvailability">
<param name="android-package" value="com.ohh2ahh.appavailability.AppAvailability" />
</feature>
</config-file>
<source-file src="src/android/AppAvailability.java" target-dir="src/com/ohh2ahh/appavailability/" />
</platform>
</plugin>