@nativescript/template-blank-vue 8.0.4 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/App_Resources/Android/app.gradle +15 -10
- package/App_Resources/Android/before-plugins.gradle +15 -0
- package/App_Resources/Android/src/main/AndroidManifest.xml +7 -5
- package/App_Resources/Android/src/main/res/values/colors.xml +11 -4
- package/App_Resources/Android/src/main/res/values-v21/colors.xml +4 -3
- package/App_Resources/Android/src/main/res/values-v21/styles.xml +10 -4
- package/App_Resources/Android/src/main/res/values-v29/styles.xml +7 -1
- package/hooks/after-createProject/after-createProject.js +0 -1
- package/package.json +5 -6
|
@@ -1,19 +1,24 @@
|
|
|
1
|
-
//
|
|
2
|
-
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
// implementation 'com.android.support:recyclerview-v7:+'
|
|
6
|
-
//}
|
|
7
|
-
|
|
8
|
-
// If you want to add something to be applied before applying plugins' include.gradle files
|
|
9
|
-
// e.g. project.ext.googlePlayServicesVersion = "15.0.1"
|
|
10
|
-
// create a file named before-plugins.gradle in the current directory and place it there
|
|
1
|
+
// You can add your native dependencies here
|
|
2
|
+
dependencies {
|
|
3
|
+
// implementation 'androidx.multidex:multidex:2.0.1'
|
|
4
|
+
}
|
|
11
5
|
|
|
12
6
|
android {
|
|
7
|
+
// compileSdkVersion 32
|
|
8
|
+
// buildToolsVersion "32.0.0"
|
|
9
|
+
// ndkVersion ""
|
|
10
|
+
|
|
13
11
|
defaultConfig {
|
|
14
12
|
minSdkVersion 17
|
|
13
|
+
// targetSdkVersion 32
|
|
14
|
+
|
|
15
|
+
// Version Information
|
|
16
|
+
versionCode 1
|
|
17
|
+
versionName "1.0.0"
|
|
18
|
+
|
|
15
19
|
generatedDensities = []
|
|
16
20
|
}
|
|
21
|
+
|
|
17
22
|
aaptOptions {
|
|
18
23
|
additionalParameters "--no-version-vectors"
|
|
19
24
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// this configurations is loaded before building plugins, as well as before building
|
|
2
|
+
// the app - this is where you can apply global settings and overrides
|
|
3
|
+
|
|
4
|
+
project.ext {
|
|
5
|
+
// androidXAppCompat = "1.4.1"
|
|
6
|
+
// androidXExifInterface = "1.3.3"
|
|
7
|
+
// androidXFragment = "1.4.1"
|
|
8
|
+
// androidXMaterial = "1.5.0"
|
|
9
|
+
// androidXMultidex = "2.0.1"
|
|
10
|
+
// androidXTransition = "1.4.1"
|
|
11
|
+
// androidXViewPager = "1.0.0"
|
|
12
|
+
|
|
13
|
+
// useKotlin = true
|
|
14
|
+
// kotlinVersion = "1.6.0"
|
|
15
|
+
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
2
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
-
package="__PACKAGE__"
|
|
4
|
-
android:versionCode="10000"
|
|
5
|
-
android:versionName="1.0">
|
|
3
|
+
package="__PACKAGE__">
|
|
6
4
|
|
|
7
5
|
<supports-screens
|
|
8
6
|
android:smallScreens="true"
|
|
@@ -20,13 +18,17 @@
|
|
|
20
18
|
android:allowBackup="true"
|
|
21
19
|
android:icon="@mipmap/ic_launcher"
|
|
22
20
|
android:label="@string/app_name"
|
|
23
|
-
android:theme="@style/AppTheme"
|
|
21
|
+
android:theme="@style/AppTheme"
|
|
22
|
+
android:hardwareAccelerated="true">
|
|
24
23
|
|
|
25
24
|
<activity
|
|
26
25
|
android:name="com.tns.NativeScriptActivity"
|
|
27
26
|
android:label="@string/title_activity_kimera"
|
|
28
27
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout|locale|uiMode"
|
|
29
|
-
android:theme="@style/LaunchScreenTheme"
|
|
28
|
+
android:theme="@style/LaunchScreenTheme"
|
|
29
|
+
android:hardwareAccelerated="true"
|
|
30
|
+
android:launchMode="singleTask"
|
|
31
|
+
android:exported="true">
|
|
30
32
|
|
|
31
33
|
<meta-data android:name="SET_THEME_ON_LAUNCH" android:resource="@style/AppTheme" />
|
|
32
34
|
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
2
|
<resources>
|
|
3
|
+
<!-- The default color of the ActionBar -->
|
|
3
4
|
<color name="ns_primary">#F5F5F5</color>
|
|
4
|
-
|
|
5
|
+
|
|
6
|
+
<!-- (API21+) The color of the status bar and contextual app bars; this is normally a dark version of colorPrimary. -->
|
|
7
|
+
<color name="ns_primaryDark">#757575</color>
|
|
8
|
+
|
|
9
|
+
<!-- The color of UI controls such as check boxes, radio buttons, and edit text boxes. -->
|
|
5
10
|
<color name="ns_accent">#65ADF1</color>
|
|
6
|
-
|
|
7
|
-
|
|
11
|
+
|
|
12
|
+
<!-- this is unused in the default themes, so we might want to remove it? -->
|
|
13
|
+
<!-- <color name="ns_blue">#272734</color> -->
|
|
14
|
+
</resources>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
2
|
<resources>
|
|
3
|
-
|
|
4
|
-
</
|
|
3
|
+
<!-- You can override base colors from values/colors.xml here, for example: -->
|
|
4
|
+
<!-- <color name="ns_accent">#65ADF1</color> -->
|
|
5
|
+
</resources>
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
2
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
3
|
|
|
4
4
|
<!-- Application theme -->
|
|
5
5
|
<style name="AppThemeBase21" parent="AppThemeBase">
|
|
6
|
-
|
|
6
|
+
<!-- Uncomment this to make the app show underneat the status bar -->
|
|
7
|
+
<!-- <item name="android:windowTranslucentStatus">true</item> -->
|
|
8
|
+
|
|
7
9
|
<item name="android:datePickerStyle">@style/SpinnerDatePicker</item>
|
|
8
10
|
<item name="android:timePickerStyle">@style/SpinnerTimePicker</item>
|
|
9
11
|
</style>
|
|
@@ -13,16 +15,20 @@
|
|
|
13
15
|
|
|
14
16
|
<!-- Default style for DatePicker - in spinner mode -->
|
|
15
17
|
<style name="SpinnerDatePicker" parent="android:Widget.Material.Light.DatePicker">
|
|
18
|
+
<!-- set the default mode for the date picker (supported values: spinner, calendar) -->
|
|
16
19
|
<item name="android:datePickerMode">spinner</item>
|
|
17
20
|
</style>
|
|
18
21
|
|
|
19
22
|
<!-- Default style for TimePicker - in spinner mode -->
|
|
20
23
|
<style name="SpinnerTimePicker" parent="android:Widget.Material.Light.TimePicker">
|
|
24
|
+
<!-- set the default mode for the time picker (supported values: spinner, clock) -->
|
|
21
25
|
<item name="android:timePickerMode">spinner</item>
|
|
22
26
|
</style>
|
|
23
27
|
|
|
24
28
|
<style name="NativeScriptToolbarStyle" parent="NativeScriptToolbarStyleBase">
|
|
25
29
|
<item name="android:elevation">4dp</item>
|
|
26
|
-
|
|
30
|
+
|
|
31
|
+
<!-- Add padding to the ActionBar - useful when android:windowTranslucentStatus is set to true -->
|
|
32
|
+
<!-- <item name="android:paddingTop">24dp</item> -->
|
|
27
33
|
</style>
|
|
28
|
-
</resources>
|
|
34
|
+
</resources>
|
|
@@ -3,7 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
<!-- Application theme -->
|
|
5
5
|
<style name="AppThemeBase29" parent="AppThemeBase21">
|
|
6
|
-
|
|
6
|
+
|
|
7
|
+
<!--
|
|
8
|
+
Disable forced dark mode on newer devices.
|
|
9
|
+
Enabling this will make your app appear in dark-mode,
|
|
10
|
+
but the way the app is converted may lead to visual issues
|
|
11
|
+
-->
|
|
12
|
+
<item name="android:forceDarkAllowed">false</item>
|
|
7
13
|
</style>
|
|
8
14
|
|
|
9
15
|
<style name="AppTheme" parent="AppThemeBase29">
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@nativescript/template-blank-vue",
|
|
3
3
|
"main": "app/app.js",
|
|
4
4
|
"displayName": "Blank",
|
|
5
|
-
"version": "8.0
|
|
5
|
+
"version": "8.2.0",
|
|
6
6
|
"description": "Blank template for NativeScript apps using Vue.",
|
|
7
7
|
"author": "NativeScript Team <oss@nativescript.org>",
|
|
8
8
|
"license": "Apache-2.0",
|
|
@@ -40,13 +40,12 @@
|
|
|
40
40
|
"category-general"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@nativescript/core": "~8.
|
|
44
|
-
"@nativescript/theme": "~3.0.
|
|
43
|
+
"@nativescript/core": "~8.2.0",
|
|
44
|
+
"@nativescript/theme": "~3.0.2",
|
|
45
45
|
"nativescript-vue": "~2.9.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@nativescript/webpack": "
|
|
49
|
-
"nativescript-vue-template-compiler": "~2.9.0"
|
|
50
|
-
"sass": "^1.32.8"
|
|
48
|
+
"@nativescript/webpack": "~5.0.6",
|
|
49
|
+
"nativescript-vue-template-compiler": "~2.9.0"
|
|
51
50
|
}
|
|
52
51
|
}
|