fix(twa) update template
Set version to 1.0.0 with a very large version code so it's automatically kept around when pushing new versions. Additionally drop some no longer needed icon assets (bubblewrap did this).
|
@ -46,20 +46,14 @@ def twaManifest = [
|
||||||
enableSiteSettingsShortcut: 'true',
|
enableSiteSettingsShortcut: 'true',
|
||||||
]
|
]
|
||||||
|
|
||||||
// Use the number of seconds/10 since Jan 1 2019 as the versionCode.
|
|
||||||
// This lets us upload a new build at most every 10 seconds for the
|
|
||||||
// next ~680 years.
|
|
||||||
// https://stackoverflow.com/a/38643838
|
|
||||||
def vcode = (int) (((new Date().getTime() / 1000) - 1546297200) / 10)
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 29
|
compileSdkVersion 29
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "org.jitsi.meet"
|
applicationId "org.jitsi.meet"
|
||||||
minSdkVersion 19
|
minSdkVersion 19
|
||||||
targetSdkVersion 29
|
targetSdkVersion 29
|
||||||
versionCode vcode
|
versionCode 2000000000
|
||||||
versionName "20.5.0"
|
versionName "1.0.0"
|
||||||
|
|
||||||
// The name for the application
|
// The name for the application
|
||||||
resValue "string", "appName", twaManifest.name
|
resValue "string", "appName", twaManifest.name
|
||||||
|
@ -75,7 +69,7 @@ android {
|
||||||
// The URL the Web Manifest for the Progressive Web App that the TWA points to. This
|
// The URL the Web Manifest for the Progressive Web App that the TWA points to. This
|
||||||
// is used by Chrome OS to open the Web version of the PWA instead of the TWA, as it
|
// is used by Chrome OS to open the Web version of the PWA instead of the TWA, as it
|
||||||
// will probably give a better user experience for non-mobile devices.
|
// will probably give a better user experience for non-mobile devices.
|
||||||
resValue "string", "webManifestUrl", 'https://meet.jit.si/static/pwa/manifest.json'
|
resValue "string", "webManifestUrl", 'https://meet.jit.si/manifest.json'
|
||||||
|
|
||||||
|
|
||||||
// The hostname is used when building the intent-filter, so the TWA is able to
|
// The hostname is used when building the intent-filter, so the TWA is able to
|
||||||
|
|
Before Width: | Height: | Size: 37 KiB |
|
@ -1,5 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
<background android:drawable="@color/ic_launcher_background"/>
|
|
||||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
|
||||||
</adaptive-icon>
|
|
|
@ -1,5 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
<background android:drawable="@color/ic_launcher_background"/>
|
|
||||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
|
||||||
</adaptive-icon>
|
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 16 KiB |
|
@ -1 +1 @@
|
||||||
{"android_package_name":"org.jitsi.meet","prefer_related_applications":true,"related_applications":[{"id":"org.jitsi.meet","platform":"chromeos_play"}],"short_name":"Jitsi Meet","name":"Jitsi Meet","icons":[{"src":"icons/icon192.png","type":"image/png","sizes":"192x192"},{"src":"icons/icon512.png","type":"image/png","sizes":"512x512"},{"src":"icons/iconMask.png","sizes":"512x512","type":"image/png","purpose":"maskable"}],"start_url":"/","background_color":"#17A0DB","display":"standalone","scope":"/","theme_color":"#17A0DB"}
|
{"android_package_name":"org.jitsi.meet","prefer_related_applications":true,"related_applications":[{"id":"org.jitsi.meet","platform":"chromeos_play"}],"short_name":"Jitsi Meet","name":"Jitsi Meet","icons":[{"src":"static/pwa/icons/icon192.png","type":"image/png","sizes":"192x192"},{"src":"static/pwa/icons/icon512.png","type":"image/png","sizes":"512x512"},{"src":"static/pwa/icons/iconMask.png","sizes":"512x512","type":"image/png","purpose":"maskable"}],"start_url":"/","background_color":"#17A0DB","display":"standalone","scope":"/","theme_color":"#17A0DB"}
|
|
@ -1,4 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<resources>
|
|
||||||
<color name="ic_launcher_background">#66A8DD</color>
|
|
||||||
</resources>
|
|
|
@ -1 +1,16 @@
|
||||||
|
<!--
|
||||||
|
Copyright 2019 Google Inc. All Rights Reserved.
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
<shortcuts xmlns:android='http://schemas.android.com/apk/res/android' />
|
<shortcuts xmlns:android='http://schemas.android.com/apk/res/android' />
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#Wed Oct 14 15:52:23 CEST 2020
|
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-bin.zip
|
||||||
|
|
|
@ -13,15 +13,15 @@
|
||||||
"enableNotifications": false,
|
"enableNotifications": false,
|
||||||
"startUrl": "/",
|
"startUrl": "/",
|
||||||
"iconUrl": "https://meet.jit.si/static/pwa/icons/icon512.png",
|
"iconUrl": "https://meet.jit.si/static/pwa/icons/icon512.png",
|
||||||
"maskableIconUrl": "https://meet.jit.si/static/pwa/icons/iconMask.png",
|
|
||||||
"splashScreenFadeOutDuration": 300,
|
"splashScreenFadeOutDuration": 300,
|
||||||
"appVersionName": "20.5.0",
|
"appVersionName": "1.0.0",
|
||||||
"appVersionCode": 1,
|
"appVersionCode": 2000000000,
|
||||||
|
"shortcuts": [],
|
||||||
"generatorApp": "bubblewrap-cli",
|
"generatorApp": "bubblewrap-cli",
|
||||||
"webManifestUrl": "https://meet.jit.si/static/pwa/manifest.json",
|
"webManifestUrl": "https://meet.jit.si/manifest.json",
|
||||||
"fallbackType": "customtabs",
|
"fallbackType": "customtabs",
|
||||||
"features": {},
|
"features": {},
|
||||||
"enableSiteSettingsShortcut": true,
|
"enableSiteSettingsShortcut": true,
|
||||||
"isChromeOSOnly": true,
|
"isChromeOSOnly": true,
|
||||||
"appVersion": "20.5.0"
|
"appVersion": "1.0.0"
|
||||||
}
|
}
|