Skip to content

Commit d0acd2b

Browse files
committed
initial import
0 parents  commit d0acd2b

File tree

447 files changed

+4614
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

447 files changed

+4614
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build.json

README.md

Lines changed: 16 additions & 0 deletions

button/.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
2+
# editorconfig.org
3+
4+
root = true
5+
6+
[*]
7+
indent_style = space
8+
indent_size = 2
9+
10+
# We recommend you to keep these unchanged
11+
end_of_line = lf
12+
charset = utf-8
13+
trim_trailing_whitespace = true
14+
insert_final_newline = true
15+
16+
[*.md]
17+
trim_trailing_whitespace = false

button/.gitignore

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Specifies intentionally untracked files to ignore when using Git
2+
# http://git-scm.com/docs/gitignore
3+
4+
*~
5+
*.sw[mnpcod]
6+
*.log
7+
*.tmp
8+
*.tmp.*
9+
log.txt
10+
*.sublime-project
11+
*.sublime-workspace
12+
.vscode/
13+
npm-debug.log*
14+
15+
.idea/
16+
.sass-cache/
17+
.tmp/
18+
.versions/
19+
coverage/
20+
dist/
21+
node_modules/
22+
tmp/
23+
temp/
24+
hooks/
25+
platforms/
26+
plugins/
27+
plugins/android.json
28+
plugins/ios.json
29+
www/
30+
$RECYCLE.BIN/
31+
32+
.DS_Store
33+
Thumbs.db
34+
UserInterfaceState.xcuserstate

button/README.md

Lines changed: 28 additions & 0 deletions

button/config.xml

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
<?xml version='1.0' encoding='utf-8'?>
2+
<widget id="com.example.ble.button" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
3+
<name>Button</name>
4+
<description>Use Ionic to read state of TI CC2650 SensorTag button</description>
5+
<author href="http://github.com/don">Don Coleman</author>
6+
<content src="index.html" />
7+
<access origin="*" />
8+
<allow-navigation href="http://ionic.local/*" />
9+
<allow-intent href="http://*/*" />
10+
<allow-intent href="https://*/*" />
11+
<allow-intent href="tel:*" />
12+
<allow-intent href="sms:*" />
13+
<allow-intent href="mailto:*" />
14+
<allow-intent href="geo:*" />
15+
<preference name="webviewbounce" value="false" />
16+
<preference name="UIWebViewBounce" value="false" />
17+
<preference name="DisallowOverscroll" value="true" />
18+
<preference name="android-minSdkVersion" value="16" />
19+
<preference name="BackupWebStorage" value="none" />
20+
<preference name="SplashMaintainAspectRatio" value="true" />
21+
<preference name="FadeSplashScreenDuration" value="300" />
22+
<preference name="SplashShowOnlyFirstTime" value="false" />
23+
<preference name="SplashScreen" value="screen" />
24+
<preference name="SplashScreenDelay" value="3000" />
25+
<platform name="android">
26+
<allow-intent href="market:*" />
27+
<icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" />
28+
<icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" />
29+
<icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" />
30+
<icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" />
31+
<icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" />
32+
<icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" />
33+
<splash density="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" />
34+
<splash density="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" />
35+
<splash density="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" />
36+
<splash density="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" />
37+
<splash density="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" />
38+
<splash density="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" />
39+
<splash density="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" />
40+
<splash density="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" />
41+
<splash density="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" />
42+
<splash density="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" />
43+
<splash density="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" />
44+
<splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
45+
</platform>
46+
<platform name="ios">
47+
<allow-intent href="itms:*" />
48+
<allow-intent href="itms-apps:*" />
49+
<icon height="57" src="resources/ios/icon/icon.png" width="57" />
50+
<icon height="114" src="resources/ios/icon/icon@2x.png" width="114" />
51+
<icon height="40" src="resources/ios/icon/icon-40.png" width="40" />
52+
<icon height="80" src="resources/ios/icon/icon-40@2x.png" width="80" />
53+
<icon height="120" src="resources/ios/icon/icon-40@3x.png" width="120" />
54+
<icon height="50" src="resources/ios/icon/icon-50.png" width="50" />
55+
<icon height="100" src="resources/ios/icon/icon-50@2x.png" width="100" />
56+
<icon height="60" src="resources/ios/icon/icon-60.png" width="60" />
57+
<icon height="120" src="resources/ios/icon/icon-60@2x.png" width="120" />
58+
<icon height="180" src="resources/ios/icon/icon-60@3x.png" width="180" />
59+
<icon height="72" src="resources/ios/icon/icon-72.png" width="72" />
60+
<icon height="144" src="resources/ios/icon/icon-72@2x.png" width="144" />
61+
<icon height="76" src="resources/ios/icon/icon-76.png" width="76" />
62+
<icon height="152" src="resources/ios/icon/icon-76@2x.png" width="152" />
63+
<icon height="167" src="resources/ios/icon/icon-83.5@2x.png" width="167" />
64+
<icon height="29" src="resources/ios/icon/icon-small.png" width="29" />
65+
<icon height="58" src="resources/ios/icon/icon-small@2x.png" width="58" />
66+
<icon height="87" src="resources/ios/icon/icon-small@3x.png" width="87" />
67+
<splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" />
68+
<splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" />
69+
<splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" />
70+
<splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" />
71+
<splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" />
72+
<splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" />
73+
<splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" />
74+
<splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" />
75+
<splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" />
76+
<splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" />
77+
<splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" />
78+
<splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" />
79+
</platform>
80+
<plugin name="cordova-plugin-ble-central" spec="^1.1.4" />
81+
<plugin name="cordova-plugin-console" spec="^1.0.5" />
82+
<plugin name="cordova-plugin-device" spec="^1.1.4" />
83+
<plugin name="cordova-plugin-splashscreen" spec="^4.0.3" />
84+
<plugin name="cordova-plugin-statusbar" spec="^2.2.2" />
85+
<plugin name="cordova-plugin-whitelist" spec="^1.3.1" />
86+
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" />
87+
</widget>

button/ionic.config.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "Button",
3+
"app_id": "com.example.ble.button",
4+
"type": "ionic-angular"
5+
}

button/package.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"name": "ionic-ble-button",
3+
"version": "0.0.1",
4+
"author": "Don Coleman",
5+
"homepage": "http://github.com/don",
6+
"private": true,
7+
"scripts": {
8+
"clean": "ionic-app-scripts clean",
9+
"build": "ionic-app-scripts build",
10+
"lint": "ionic-app-scripts lint",
11+
"ionic:build": "ionic-app-scripts build",
12+
"ionic:serve": "ionic-app-scripts serve"
13+
},
14+
"dependencies": {
15+
"@angular/common": "4.1.3",
16+
"@angular/compiler": "4.1.3",
17+
"@angular/compiler-cli": "4.1.3",
18+
"@angular/core": "4.1.3",
19+
"@angular/forms": "4.1.3",
20+
"@angular/http": "4.1.3",
21+
"@angular/platform-browser": "4.1.3",
22+
"@angular/platform-browser-dynamic": "4.1.3",
23+
"@ionic-native/ble": "^4.0.1",
24+
"@ionic-native/core": "3.12.1",
25+
"@ionic-native/splash-screen": "3.12.1",
26+
"@ionic-native/status-bar": "3.12.1",
27+
"@ionic/storage": "2.0.1",
28+
"cordova-plugin-ble-central": "^1.1.4",
29+
"cordova-plugin-compat": "^1.1.0",
30+
"cordova-plugin-console": "^1.0.5",
31+
"cordova-plugin-device": "^1.1.4",
32+
"cordova-plugin-splashscreen": "^4.0.3",
33+
"cordova-plugin-statusbar": "^2.2.2",
34+
"cordova-plugin-whitelist": "^1.3.1",
35+
"ionic-angular": "3.5.3",
36+
"ionic-plugin-keyboard": "^2.2.1",
37+
"ionicons": "3.0.0",
38+
"rxjs": "5.4.0",
39+
"sw-toolbox": "3.6.0",
40+
"zone.js": "0.8.12"
41+
},
42+
"devDependencies": {
43+
"@ionic/app-scripts": "2.0.2",
44+
"@ionic/cli-plugin-cordova": "1.4.1",
45+
"@ionic/cli-plugin-ionic-angular": "1.3.2",
46+
"typescript": "2.3.4"
47+
},
48+
"description": "An Ionic project",
49+
"cordova": {
50+
"plugins": {
51+
"cordova-plugin-ble-central": {},
52+
"cordova-plugin-console": {},
53+
"cordova-plugin-device": {},
54+
"cordova-plugin-splashscreen": {},
55+
"cordova-plugin-statusbar": {},
56+
"cordova-plugin-whitelist": {},
57+
"ionic-plugin-keyboard": {}
58+
},
59+
"platforms": []
60+
}
61+
}
5.24 KB
1.47 KB

0 commit comments

Comments
 (0)