-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplugin.xml
36 lines (36 loc) · 1.7 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
<?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="cordova-plugin-haptic" version="1.0.0">
<name>Cordova Haptic Feedback Plugin</name>
<description>A Cordova plugin providing a native haptic feedback experience rather than a generic vibration.</description>
<author>Walter Robins</author>
<keywords>cordova,android,ios,haptic,vibrate,vibration,buzz,keypress</keywords>
<license>Apache 2.0</license>
<repo>https://github.com/wrobins/cordova-plugin-haptic.git</repo>
<issue>https://github.com/wrobins/cordova-plugin-haptic/issues</issue>
<engines>
<engine name="cordova-android" version=">=12.0.0"/>
<engine name="cordova-ios" version=">=6.2.0"/>
</engines>
<js-module src="www/hapticplugin.js" name="hapticPlugin">
<clobbers target="cordova.plugins.hapticPlugin" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="HapticPlugin">
<param name="android-package" value="com.wrobins.cordova.plugin.HapticPlugin" />
</feature>
</config-file>
<source-file src="src/android/HapticPlugin.java" target-dir="src/com/wrobins/cordova/plugin" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="HapticPlugin">
<param name="ios-package" value="HapticPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/ios/HapticPlugin.swift" />
</platform>
</plugin>