Skip to content

Commit 8c1c102

Browse files
committed
Initial commit
0 parents  commit 8c1c102

File tree

3 files changed

+81
-0
lines changed

3 files changed

+81
-0
lines changed

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Bluetooth Peripheral Usage Description Plugin for Cordova #
2+
This plugin sets Bluetooth Peripheral Usage Description on iOS. See [cordova-plugin-bluetoothle](https://github.com/randdusing/cordova-plugin-bluetoothle) for more info.
3+
4+
## Installation ##
5+
```cordova plugin add cordova-plugin-bluetooth-peripheral-usage-description --variable TEXT="Your description goes here"```
6+
7+
## More information ##
8+
* Author: Rand Dusing
9+
* Website: http://www.randdusing.com/
10+
* Email: <randdusing@gmail.com>
11+
* Facebook: https://www.facebook.com/randdusing
12+
* LinkedIn: https://www.linkedin.com/in/randdusing
13+
* Twitter: https://twitter.com/randdusing
14+
15+
## License ##
16+
The MIT License (MIT)
17+
18+
Copyright (c) 2016 Rand Dusing and contributors.
19+
20+
Permission is hereby granted, free of charge, to any person obtaining a copy
21+
of this software and associated documentation files (the "Software"), to deal
22+
in the Software without restriction, including without limitation the rights
23+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
24+
copies of the Software, and to permit persons to whom the Software is
25+
furnished to do so, subject to the following conditions:
26+
27+
The above copyright notice and this permission notice shall be included in all
28+
copies or substantial portions of the Software.
29+
30+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
33+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
35+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36+
SOFTWARE.

package.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "cordova-plugin-bluetooth-peripheral-usage-description",
3+
"version": "1.0.0",
4+
"description": "Set Bluetooth Peripheral Usage Description on iOS",
5+
"cordova": {
6+
"id": "cordova-plugin-bluetooth-peripheral-usage-description",
7+
"platforms": [
8+
"ios"
9+
]
10+
},
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/randdusing/cordova-plugin-bluetooth-peripheral-usage-description"
14+
},
15+
"keywords": [
16+
"bluetooth",
17+
"bluetoothle",
18+
"bluetooth le",
19+
"background",
20+
"peripheral",
21+
"cordova",
22+
"ecosystem:cordova",
23+
"cordova-ios"
24+
],
25+
"author": "Rand Dusing",
26+
"license": "MIT",
27+
"bugs": {
28+
"url": "https://github.com/randdusing/cordova-plugin-bluetooth-peripheral-usage-description/issues"
29+
},
30+
"homepage": "https://github.com/randdusing/cordova-plugin-bluetooth-peripheral-usage-description#readme"
31+
}

plugin.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-bluetooth-peripheral-usage-description" version="1.0.0">
3+
<name>Bluetooth Peripheral Usage Description</name>
4+
<description>Set Bluetooth Peripheral Usage Description on iOS</description>
5+
<author>Rand Dusing</author>
6+
<keywords>bluetooth,background,peripheral</keywords>
7+
<license>MIT</license>
8+
<preference name="TEXT" />
9+
<platform name="ios">
10+
<config-file target="*-Info.plist" parent="NSBluetoothPeripheralUsageDescription">
11+
<string>$TEXT</string>
12+
</config-file>
13+
</platform>
14+
</plugin>

0 commit comments

Comments
 (0)