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
feat(pwa) update generated Android project
Saúl Ibarra Corretgéa7fa9d8a9702
diff --git a/twa/app/build.gradle b/twa/app/build.gradleindex a764cd932c..cba11e3742 100644--- a/twa/app/build.gradle+++ b/twa/app/build.gradle@@ -24,12 +24,12 @@ def twaManifest = [launchUrl: '/', // The start path for the TWA. Must be relative to the domain.name: 'Jitsi Meet', // The application name.launcherName: 'Jitsi Meet', // The name shown on the Android Launcher.- themeColor: '#2A3A4B', // The color used for the status bar.+ themeColor: '#17A0DB', // The color used for the status bar.navigationColor: '#000000', // The color used for the navigation bar.navigationColorDark: '#000000', // The color used for the dark navbar.navigationDividerColor: '#000000', // The navbar divider color.navigationDividerColorDark: '#000000', // The dark navbar divider color.- backgroundColor: '#2A3A4B', // The color used for the splash screen background.+ backgroundColor: '#17A0DB', // The color used for the splash screen background.enableNotifications: false, // Set to true to enable notification delegation.// Every shortcut must include the following fields:// - name: String that will show up in the shortcut.@@ -46,14 +46,20 @@ 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 1- versionName "1"+ versionCode vcode+ versionName "20.5.0"// The name for the applicationresValue "string", "appName", twaManifest.name@@ -65,12 +71,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://alpha.jitsi.net/static/pwa/manifest.json'-+ resValue "string", "webManifestUrl", 'https://meet.jit.si/static/pwa/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.@@ -100,13 +106,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@@ -186,11 +192,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/AndroidManifest.xml b/twa/app/src/main/AndroidManifest.xmlindex 287798a510..ddc4c5a4a8 100644--- a/twa/app/src/main/AndroidManifest.xml+++ b/twa/app/src/main/AndroidManifest.xml@@ -25,6 +25,8 @@+ <uses-feature android:name="org.chromium.arc" android:required="true" />+<applicationandroid:name="Application"diff --git a/twa/gradle/wrapper/gradle-wrapper.properties b/twa/gradle/wrapper/gradle-wrapper.propertiesindex 0b7ed8da04..248e613de7 100644--- a/twa/gradle/wrapper/gradle-wrapper.properties+++ b/twa/gradle/wrapper/gradle-wrapper.properties@@ -1,5 +1,6 @@+#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-bin.zip+distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zipdiff --git a/twa/twa-manifest.json b/twa/twa-manifest.jsonindex 3ee32661a1..f41fd31658 100644--- a/twa/twa-manifest.json+++ b/twa/twa-manifest.json@@ -18,8 +18,8 @@"path": "./jitsi-upload.keystore","alias": "upload"},- "appVersionName": "1",- "appVersionCode": 1,+ "appVersionName": "20.5.0",+ "appVersionCode": 3,"shortcuts": [],"generatorApp": "bubblewrap-cli","webManifestUrl": "https://meet.jit.si/static/pwa/manifest.json",@@ -27,5 +27,5 @@"features": {},"enableSiteSettingsShortcut": true,"isChromeOSOnly": true,- "appVersion": "1"+ "appVersion": "20.5.0"}\ No newline at end of file