Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(twa) update template
Saúl Ibarra Corretgé2763c2f5c9ad
diff --git a/twa/app/build.gradle b/twa/app/build.gradleindex cba11e3742..accd3ac853 100644--- a/twa/app/build.gradle+++ b/twa/app/build.gradle@@ -46,20 +46,14 @@ def twaManifest = [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 {compileSdkVersion 29defaultConfig {applicationId "org.jitsi.meet"minSdkVersion 19targetSdkVersion 29- versionCode vcode- versionName "20.5.0"+ versionCode 2000000000+ versionName "1.0.0"// The name for the applicationresValue "string", "appName", twaManifest.name@@ -71,12 +65,12 @@ android {def launchUrl = "https://" + twaManifest.hostName + twaManifest.launchUrlresValue "string", "launchUrl", launchUrl-+// 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// 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// handle Intents to open https://svgomg.firebaseapp.com.@@ -106,13 +100,13 @@ android {// compile. If not set, the navigation bar color defaults to #000000 - black.resValue "color", "navigationColorDark", twaManifest.navigationColorDark- // This attribute sets the navbar divider color for the TWA. It can be either- // set here or in `res/values/colors.xml`. Setting in both places is an error and the app+ // This attribute sets the navbar divider color for the TWA. It can be either+ // set here or in `res/values/colors.xml`. Setting in both places is an error and the app// will not compile. If not set, the divider color defaults to #00000000 - transparent.resValue "color", "navigationDividerColor", twaManifest.navigationDividerColor- // This attribute sets the dark navbar divider color for the TWA. It can be either- // set here or in `res/values/colors.xml`. Setting in both places is an error and the+ // This attribute sets the dark navbar divider color for the TWA. It can be either+ // set here or in `res/values/colors.xml`. Setting in both places is an error and the//app will not compile. If not set, the divider color defaults to #000000 - black.resValue "color", "navigationDividerColorDark", twaManifest.navigationDividerColorDark@@ -192,11 +186,11 @@ task generateShorcutsFile {preBuild.dependsOn(generateShorcutsFile)repositories {-+}dependencies {implementation fileTree(include: ['*.jar'], dir: 'libs')-- implementation 'com.google.androidbrowserhelper:androidbrowserhelper:2.0.0'++ implementation 'com.google.androidbrowserhelper:androidbrowserhelper:2.0.0'}diff --git a/twa/app/src/main/ic_launcher-playstore.png b/twa/app/src/main/ic_launcher-playstore.pngdeleted file mode 100644index 2090e74aa0..0000000000Binary files a/twa/app/src/main/ic_launcher-playstore.png and /dev/null differdiff --git a/twa/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/twa/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xmldeleted file mode 100644index 036d09bc5f..0000000000--- a/twa/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml+++ /dev/null@@ -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>\ No newline at end of filediff --git a/twa/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/twa/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xmldeleted file mode 100644index 036d09bc5f..0000000000--- a/twa/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml+++ /dev/null@@ -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>\ No newline at end of filediff --git a/twa/app/src/main/res/mipmap-hdpi/ic_launcher.png b/twa/app/src/main/res/mipmap-hdpi/ic_launcher.pngindex 878db1a13e..a1213c5559 100644Binary files a/twa/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/twa/app/src/main/res/mipmap-hdpi/ic_launcher.png differdiff --git a/twa/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/twa/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.pngdeleted file mode 100644index 3299de6f90..0000000000Binary files a/twa/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png and /dev/null differdiff --git a/twa/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/twa/app/src/main/res/mipmap-hdpi/ic_launcher_round.pngdeleted file mode 100644index 8562a3e676..0000000000Binary files a/twa/app/src/main/res/mipmap-hdpi/ic_launcher_round.png and /dev/null differdiff --git a/twa/app/src/main/res/mipmap-mdpi/ic_launcher.png b/twa/app/src/main/res/mipmap-mdpi/ic_launcher.pngindex 76cc1d8709..7068ba5d7e 100644Binary files a/twa/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/twa/app/src/main/res/mipmap-mdpi/ic_launcher.png differdiff --git a/twa/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/twa/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.pngdeleted file mode 100644index 9af115d9f9..0000000000Binary files a/twa/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png and /dev/null differdiff --git a/twa/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/twa/app/src/main/res/mipmap-mdpi/ic_launcher_round.pngdeleted file mode 100644index 60ffcfb453..0000000000Binary files a/twa/app/src/main/res/mipmap-mdpi/ic_launcher_round.png and /dev/null differdiff --git a/twa/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/twa/app/src/main/res/mipmap-xhdpi/ic_launcher.pngindex fbeac87db7..564b6b31ea 100644Binary files a/twa/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/twa/app/src/main/res/mipmap-xhdpi/ic_launcher.png differdiff --git a/twa/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/twa/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.pngdeleted file mode 100644index 649807480f..0000000000Binary files a/twa/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png and /dev/null differdiff --git a/twa/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/twa/app/src/main/res/mipmap-xhdpi/ic_launcher_round.pngdeleted file mode 100644index 137a91a0d4..0000000000Binary files a/twa/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png and /dev/null differdiff --git a/twa/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/twa/app/src/main/res/mipmap-xxhdpi/ic_launcher.pngindex 8e1a312ff7..6837e1fd78 100644Binary files a/twa/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/twa/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differdiff --git a/twa/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/twa/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.pngdeleted file mode 100644index fd0ad523a9..0000000000Binary files a/twa/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png and /dev/null differdiff --git a/twa/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/twa/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.pngdeleted file mode 100644index 9bb2be6e29..0000000000Binary files a/twa/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and /dev/null differdiff --git a/twa/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/twa/app/src/main/res/mipmap-xxxhdpi/ic_launcher.pngindex 02e0a1ea67..4f21fc177d 100644Binary files a/twa/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/twa/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differdiff --git a/twa/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/twa/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.pngdeleted file mode 100644index d823652751..0000000000Binary files a/twa/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png and /dev/null differdiff --git a/twa/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/twa/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.pngdeleted file mode 100644index 40a00cef76..0000000000Binary files a/twa/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and /dev/null differdiff --git a/twa/app/src/main/res/raw/web_app_manifest.json b/twa/app/src/main/res/raw/web_app_manifest.jsonindex e6dc044162..c1271f2fc0 100644--- a/twa/app/src/main/res/raw/web_app_manifest.json+++ b/twa/app/src/main/res/raw/web_app_manifest.json@@ -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"}\ No newline at end of file+{"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"}\ No newline at end of filediff --git a/twa/app/src/main/res/values/ic_launcher_background.xml b/twa/app/src/main/res/values/ic_launcher_background.xmldeleted file mode 100644index 55c23776a6..0000000000--- a/twa/app/src/main/res/values/ic_launcher_background.xml+++ /dev/null@@ -1,4 +0,0 @@-<?xml version="1.0" encoding="utf-8"?>-<resources>- <color name="ic_launcher_background">#66A8DD</color>-</resources>\ No newline at end of filediff --git a/twa/app/src/main/res/xml/shortcuts.xml b/twa/app/src/main/res/xml/shortcuts.xmlindex 5effdb1d11..7f3e9c1964 100644--- a/twa/app/src/main/res/xml/shortcuts.xml+++ b/twa/app/src/main/res/xml/shortcuts.xml@@ -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' />diff --git a/twa/gradle/wrapper/gradle-wrapper.properties b/twa/gradle/wrapper/gradle-wrapper.propertiesindex 248e613de7..0b7ed8da04 100644--- a/twa/gradle/wrapper/gradle-wrapper.properties+++ b/twa/gradle/wrapper/gradle-wrapper.properties@@ -1,6 +1,5 @@-#Wed Oct 14 15:52:23 CEST 2020distributionBase=GRADLE_USER_HOMEdistributionPath=wrapper/distszipStoreBase=GRADLE_USER_HOMEzipStorePath=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.zipdiff --git a/twa/twa-manifest.json b/twa/twa-manifest.jsonindex c26f9879b8..86f25d9cd4 100644--- a/twa/twa-manifest.json+++ b/twa/twa-manifest.json@@ -13,15 +13,15 @@"enableNotifications": false,"startUrl": "/","iconUrl": "https://meet.jit.si/static/pwa/icons/icon512.png",- "maskableIconUrl": "https://meet.jit.si/static/pwa/icons/iconMask.png","splashScreenFadeOutDuration": 300,- "appVersionName": "20.5.0",- "appVersionCode": 1,+ "appVersionName": "1.0.0",+ "appVersionCode": 2000000000,+ "shortcuts": [],"generatorApp": "bubblewrap-cli",- "webManifestUrl": "https://meet.jit.si/static/pwa/manifest.json",+ "webManifestUrl": "https://meet.jit.si/manifest.json","fallbackType": "customtabs","features": {},"enableSiteSettingsShortcut": true,"isChromeOSOnly": true,- "appVersion": "20.5.0"+ "appVersion": "1.0.0"}\ No newline at end of file