Skip to content

Commit 8d4f400

Browse files
committed
Fix angular demo
1 parent f538b7e commit 8d4f400

File tree

90 files changed

+6609
-6731
lines changed

Some content is hidden

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

90 files changed

+6609
-6731
lines changed

demo-angular/.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-angular/.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-angular/App_Resources/Android/app.gradle

100755100644
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@
1111

1212
android {
1313
defaultConfig {
14-
minSdkVersion 21
14+
minSdkVersion 17
1515
generatedDensities = []
1616
}
1717
aaptOptions {
1818
additionalParameters "--no-version-vectors"
1919
}
2020
}
21-

demo-angular/App_Resources/Android/src/main/AndroidManifest.xml

100755100644
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

161 Bytes
Binary file not shown.
-27.4 KB
267 Bytes
Binary file not shown.
-7.5 KB

0 commit comments

Comments
 (0)