-
Notifications
You must be signed in to change notification settings - Fork 116
Expand file tree
/
Copy pathplugin.xml
More file actions
46 lines (34 loc) · 1.31 KB
/
plugin.xml
File metadata and controls
46 lines (34 loc) · 1.31 KB
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"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.ohh2ahh.plugins.appavailability"
version="0.1.0">
<name>AppAvailability</name>
<description>
This plugin allows you to check if an app is installed. It requires a Package Name (e.g com.facebook.katana) for Android and an URI Scheme (e.g. fb://) for iOS.
</description>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=2.3.0" />
</engines>
<asset src="www/AppAvailability.js" target="js/plugins/AppAvailability.js" />
<!-- android -->
<platform name="android">
<config-file target="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>
<!-- 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>
</plugin>