cordova-plugin-estimote-v2
Version:
Cordova/PhoneGap plugin for Estimote beacons.
66 lines (54 loc) • 2.68 kB
text/xml
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-estimote-v2"
version="0.9.3">
<name>EstimoteBeacons</name>
<description>Cordova/PhoneGap plugin for Estimote beacons.</description>
<license>MIT</license>
<keywords>Estimote, Beacons</keywords>
<js-module src="plugin/src/js/EstimoteBeacons.js" name="EstimoteBeacons">
<clobbers target="estimote" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="EstimoteBeacons" >
<param name="android-package" value="com.evothings.EstimoteBeacons"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service android:name="com.estimote.sdk.service.BeaconService" android:exported="false"/>
</config-file>
<framework src="plugin/src/android/build-estimote.gradle" custom="true" type="gradleReference" />
<source-file src="plugin/src/android/EstimoteBeacons.java" target-dir="src/com/evothings" />
<source-file src="plugin/src/android/LogUtils.java" target-dir="src/com/evothings" />
</platform>
<platform name="ios">
<framework src="CoreBluetooth.framework" />
<framework src="CoreLocation.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="plugin/src/ios/Frameworks/EstimoteSDK.framework" custom="true" />
<header-file src="plugin/src/ios/EstimoteBeacons.h" />
<source-file src="plugin/src/ios/EstimoteBeacons.m" />
<config-file target="config.xml" parent="/*">
<feature name="EstimoteBeacons">
<param name="ios-package" value="EstimoteBeacons" />
</feature>
</config-file>
<config-file parent="/*" target="config.xml">
<feature name="LocationManager">
<param name="ios-package" value="CDVLocationManager"/>
</feature>
</config-file>
<config-file target="*-Info.plist" parent="NSLocationAlwaysUsageDescription">
<string>This app would like to scan for beacons when in the background.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
<string>This app would like to scan for beacons while it is in use.</string>
</config-file>
</platform>
</plugin>