Skip to content

Commit 676c9c8

Browse files
committed
Update demo to NS8, fix some type exports
1 parent 1927a57 commit 676c9c8

File tree

116 files changed

+6152
-11101
lines changed

Some content is hidden

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

116 files changed

+6152
-11101
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
3939
- name: Setup NativeScript CLI
4040
run: |
41-
echo no | npm i -g nativescript@^7.0.0
41+
echo no | npm i -g nativescript@^8.0.0
4242
ns usage-reporting disable
4343
ns error-reporting disable
4444

demo/.editorconfig

100755100644
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ charset = utf-8
1010
indent_style = space
1111
indent_size = 2
1212

13+
[*.js]
14+
indent_style = space
15+
indent_size = 2
16+
1317
[*.ts]
1418
indent_style = space
15-
indent_size = 4
19+
indent_size = 2

demo/.gitignore

100755100644
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ hooks/
33
node_modules/
44
platforms/
55

6-
# NativeScript Template
7-
*.js.map
8-
*.js
9-
!webpack.config.js
10-
116
# Logs
127
logs
138
*.log

demo/app/App_Resources/Android/app.gradle renamed to demo/App_Resources/Android/app.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
android {
1313
defaultConfig {
14-
minSdkVersion 21
14+
minSdkVersion 17
1515
generatedDensities = []
1616
}
1717
aaptOptions {

demo/app/App_Resources/Android/src/main/AndroidManifest.xml renamed to demo/App_Resources/Android/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
1414
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
1515
<uses-permission android:name="android.permission.INTERNET"/>
16+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
1617

1718
<application
1819
android:name="com.tns.NativeScriptApplication"
1920
android:allowBackup="true"
20-
android:icon="@drawable/icon"
21+
android:icon="@mipmap/ic_launcher"
2122
android:label="@string/app_name"
2223
android:theme="@style/AppTheme">
2324

3.58 KB
5.04 KB
1.57 KB
2.45 KB
2.17 KB

0 commit comments

Comments
 (0)