File tree 10 files changed +38
-24
lines changed
app/App_Resources/Android/src/main
app/App_Resources/Android/src/main
10 files changed +38
-24
lines changed Original file line number Diff line number Diff line change 6
6
* .js.map
7
7
* .log
8
8
* .esm.json
9
+ * .tns.json
9
10
src /* .d.ts
10
11
! src /index.d.ts
11
12
! src /references.d.ts
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ matrix:
42
42
- tns build android --bundle --env.uglify --env.aot
43
43
- language : android
44
44
env :
45
- - BuildAndroid="26 "
45
+ - BuildAndroid="28 "
46
46
os : linux
47
47
jdk : oraclejdk8
48
48
before_install : nvm install 8.11.4
@@ -61,12 +61,10 @@ matrix:
61
61
62
62
android :
63
63
components :
64
- - tools
65
64
- tools
66
65
- platform-tools
67
- - build-tools-27.0.3
68
- - android-26
69
- - android-23
66
+ - build-tools-28.0.2
67
+ - android-28
70
68
- extra-android-m2repository
71
69
72
70
before_install :
Original file line number Diff line number Diff line change 19
19
<uses-permission android : name =" android.permission.INTERNET" />
20
20
21
21
<application
22
+ android:networkSecurityConfig=" @xml/network_security_config"
22
23
android:name=" com.tns.NativeScriptApplication"
23
24
android:allowBackup=" true"
24
25
android:icon=" @drawable/icon"
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <network-security-config >
3
+ <domain-config cleartextTrafficPermitted =" true" >
4
+ <domain includeSubdomains =" true" >10.0.2.2</domain >
5
+ </domain-config >
6
+ </network-security-config >
Original file line number Diff line number Diff line change 6
6
"nativescript" : {
7
7
"id" : " org.nativescript.demoangular" ,
8
8
"tns-android" : {
9
- "version" : " 4.2 .0"
9
+ "version" : " 5.0 .0"
10
10
},
11
11
"tns-ios" : {
12
- "version" : " 4.2 .0"
12
+ "version" : " 5.0 .0"
13
13
}
14
14
},
15
15
"scripts" : {
26
26
"@angular/platform-browser" : " ~6.1.0" ,
27
27
"@angular/platform-browser-dynamic" : " ~6.1.0" ,
28
28
"@angular/router" : " ~6.1.0" ,
29
- "nativescript-angular" : " ~6.1 .0" ,
29
+ "nativescript-angular" : " ~6.2 .0" ,
30
30
"nativescript-background-http" : " ../src" ,
31
31
"nativescript-theme-core" : " ~1.0.4" ,
32
32
"reflect-metadata" : " ~0.1.10" ,
33
33
"rxjs" : " ~6.2.0" ,
34
- "tns-core-modules" : " ^4.2.0 " ,
35
- "tns-platform-declarations" : " ^4.2 .0" ,
34
+ "tns-core-modules" : " ^5.0.1 " ,
35
+ "tns-platform-declarations" : " ^5.0 .0" ,
36
36
"zone.js" : " ~0.8.26"
37
37
},
38
38
"devDependencies" : {
39
- "nativescript-dev-typescript" : " ^ 0.7.2 " ,
40
- "nativescript-dev-webpack" : " ~0.15.1 " ,
39
+ "nativescript-dev-typescript" : " ~ 0.7.4 " ,
40
+ "nativescript-dev-webpack" : " ~0.17.0 " ,
41
41
"typescript" : " ~2.8.2" ,
42
42
"tslint" : " ~5.11.0"
43
43
}
Original file line number Diff line number Diff line change 19
19
<uses-permission android : name =" android.permission.INTERNET" />
20
20
21
21
<application
22
+ android:networkSecurityConfig=" @xml/network_security_config"
22
23
android:name=" com.tns.NativeScriptApplication"
23
24
android:allowBackup=" true"
24
25
android:icon=" @drawable/icon"
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <network-security-config >
3
+ <domain-config cleartextTrafficPermitted =" true" >
4
+ <domain includeSubdomains =" true" >10.0.2.2</domain >
5
+ </domain-config >
6
+ </network-security-config >
Original file line number Diff line number Diff line change 6
6
"nativescript" : {
7
7
"id" : " org.nativescript.demo" ,
8
8
"tns-android" : {
9
- "version" : " 4.2 .0"
9
+ "version" : " 5.0 .0"
10
10
},
11
11
"tns-ios" : {
12
- "version" : " 4.2 .0"
12
+ "version" : " 5.0 .0"
13
13
}
14
14
},
15
15
"scripts" : {
19
19
"dependencies" : {
20
20
"nativescript-background-http" : " ../src" ,
21
21
"nativescript-theme-core" : " ~1.0.4" ,
22
- "tns-core-modules" : " ^4.2.0 " ,
23
- "tns-platform-declarations" : " ^4.2 .0"
22
+ "tns-core-modules" : " ^5.0.1 " ,
23
+ "tns-platform-declarations" : " ^5.0 .0"
24
24
},
25
25
"devDependencies" : {
26
- "nativescript-dev-typescript" : " ^ 0.7.2 " ,
27
- "nativescript-dev-webpack" : " ^0.15.1 " ,
26
+ "nativescript-dev-typescript" : " ~ 0.7.4 " ,
27
+ "nativescript-dev-webpack" : " ~0.17.0 " ,
28
28
"typescript" : " ~2.8.2" ,
29
29
"tslint" : " ~5.11.0"
30
30
}
Original file line number Diff line number Diff line change 51
51
"license" : " Apache-2.0" ,
52
52
"homepage" : " https://github.com/NativeScript/nativescript-background-http/issues" ,
53
53
"devDependencies" : {
54
- "tns-core-modules" : " ^3 .0.0 || ^4.0.0 " ,
55
- "tns-platform-declarations" : " ^3.0.0 || ^4 .0.0" ,
56
- "typescript" : " ~2.7 .2" ,
57
- "rimraf" : " ^2.5.0 " ,
58
- "tslint" : " ^5.0 .0" ,
59
- "semver" : " ^5.5 .0"
54
+ "tns-core-modules" : " ^5 .0.1 " ,
55
+ "tns-platform-declarations" : " ^5 .0.0" ,
56
+ "typescript" : " ~2.8 .2" ,
57
+ "rimraf" : " ~2.6.2 " ,
58
+ "tslint" : " ~5.11 .0" ,
59
+ "semver" : " ~5.6 .0"
60
60
},
61
61
"bootstrapper" : " nativescript-plugin-seed"
62
62
}
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
3
+ <uses-permission android : name =" android.permission.FOREGROUND_SERVICE" />
3
4
<uses-permission android : name =" android.permission.INTERNET" />
4
5
<uses-permission android : name =" android.permission.WRITE_EXTERNAL_STORAGE" />
5
6
<uses-permission android : name =" android.permission.WAKE_LOCK" />
You can’t perform that action at this time.
0 commit comments