UNPKG

cordova-pebble

Version:

Allows communication with Pebble smartwatch applications and Cordova applications.

73 lines (52 loc) 2.28 kB
<?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-pebble" version="1.0.2"> <name>Pebble</name> <description>Allows communication with Pebble smartwatch applications and Cordova applications.</description> <author>Trent Gardner</author> <license>Apache 2.0</license> <keywords>Pebble, Android, Watch, Wearble, iOS</keywords> <repo>https://github.com/tgardner/cordova-pebble.git</repo> <issue>https://github.com/tgardner/cordova-pebble/issues</issue> <engines> <engine name="cordova" version=">=3.0.0" /> <engine name="cordova-android" version=">=6.3.0"/> <engine name="cordova-ios" version=">=4.3.0"/> </engines> <js-module src="www/pebble.js" name="Pebble"> <clobbers target="Pebble" /> </js-module> <platform name="android"> <config-file target="res/xml/config.xml" parent="/*"> <feature name="pebble" > <param name="android-package" value="net.trentgardner.cordova.pebble.PebblePlugin"/> <param name="onload" value="true" /> </feature> </config-file> <framework src="src/android/pebblekit.gradle" custom="true" type="gradleReference"/> <lib-file src="lib/android/pebblekit-4.0.1.aar"/> <source-file src="src/android/PebblePlugin.java" target-dir="src/net/trentgardner/cordova/pebble" /> </platform> <platform name="ios"> <!-- config file --> <config-file target="config.xml" parent="/*"> <feature name="pebble"> <param name="ios-package" value="Pebble" /> </feature> </config-file> <config-file target="*-Info.plist" parent="UISupportedExternalAccessoryProtocols"> <array> <string>com.getpebble.public</string> </array> </config-file> <header-file src="src/ios/Pebble.h" /> <source-file src="src/ios/Pebble.m" /> <framework src="ExternalAccessory.framework" /> <framework src="CoreBluetooth.framework" /> <framework src="lib/ios/PebbleKit.framework" custom="true" embed="true" /> <hook type="after_plugin_install" src="hooks/ios/prerequisites.js"/> <hook type="after_prepare" src="hooks/ios/install_buildphase.js" /> </platform> </plugin>