Skip to content

Commit d4e3b22

Browse files
authored
fix: various fixes (#9)
* refactor: update config files * test: add plugin to ns8 demo * fix(ci): add working directory
1 parent d72df68 commit d4e3b22

File tree

135 files changed

+24866
-5881
lines changed

Some content is hidden

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

135 files changed

+24866
-5881
lines changed

.github/workflows/npm-publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ jobs:
1717
with:
1818
node-version: 10
1919

20-
- run: npm install
20+
# https://stackoverflow.com/a/58142276/10531083
21+
- name: Generate JS files
22+
working-directory: ./src
23+
run: |
24+
npm install
25+
npm run build
2126
2227
- uses: JS-DevTools/npm-publish@v1
2328
with:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ dist/
1010
.DS_Store
1111
.env
1212
*.map
13+
src/*.js

demo/.editorconfig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@ indent_size = 2
1212

1313
[*.js]
1414
indent_style = space
15-
indent_size = 4
15+
indent_size = 2
16+
17+
[*.ts]
18+
indent_style = space
19+
indent_size = 2
File renamed without changes.

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)