Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit 8c12a1e

Browse files
committed
fix: android demo build
1 parent 4ba4ea8 commit 8c12a1e

File tree

9 files changed

+17
-8
lines changed

9 files changed

+17
-8
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
"endregion",
7979
"filepath",
8080
"filewalker",
81+
"huba",
8182
"justlaunch",
8283
"localfile",
8384
"mabs",

demo/app/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 17
14+
minSdkVersion 19
1515
generatedDensities = []
1616
}
1717
aaptOptions {

demo/app/main-page.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ export async function runTests() {
6666

6767
await executeJavaScriptTest("callFromNativeScript()");
6868

69-
const expected = { huba: "hop" };
69+
const expected = {
70+
huba: "hop",
71+
};
7072
const gotJson = JSON.stringify(gotMessageData);
7173

7274
if (_.isEqual(expected, gotMessageData)) {

native-src/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
jcenter()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:3.1.2'
10+
classpath 'com.android.tools.build:gradle:3.5.3'
1111

1212

1313
// NOTE: Do not place your application dependencies here; they belong
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Thu May 03 23:22:58 CEST 2018
1+
#Wed Jan 29 22:45:40 CET 2020
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip

native-src/android/webviewinterface/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ android {
2525
dependencies {
2626
implementation fileTree(dir: 'libs', include: ['*.jar'])
2727

28-
implementation 'androidx.appcompat:appcompat:1.0.0'
28+
implementation 'androidx.appcompat:appcompat:1.1.0'
2929
testImplementation 'junit:junit:4.12'
30-
androidTestImplementation 'androidx.test:runner:1.1.0'
31-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
30+
androidTestImplementation 'androidx.test:runner:1.2.0'
31+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
3232
}
3333

src/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ platforms/ios/NotaWebViewExt/NotaWebViewExt.xcodeproj/xcuserdata
44
platforms/ios/NotaWebViewExt/NotaWebViewExt.podspec
55
nativescript-webview-bridge-loader.ts
66
polyfills
7+
platforms/android/nativescript_webview_ext.aar
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest
3+
xmlns:android="http://schemas.android.com/apk/res/android">
4+
<uses-sdk android:minSdkVersion="19" />
5+
</manifest>
714 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)