Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(pwa) update TWA Android project

Saúl Ibarra Corretgéb57da04553ed
diff --git a/twa/app/src/main/res/drawable-hdpi/splash.png b/twa/app/src/main/res/drawable-hdpi/splash.png
index 3edb98bbed..4016e6d580 100644
Binary files a/twa/app/src/main/res/drawable-hdpi/splash.png and b/twa/app/src/main/res/drawable-hdpi/splash.png differ
diff --git a/twa/app/src/main/res/drawable-mdpi/splash.png b/twa/app/src/main/res/drawable-mdpi/splash.png
index 863b97c7e4..c6f1b40bde 100644
Binary files a/twa/app/src/main/res/drawable-mdpi/splash.png and b/twa/app/src/main/res/drawable-mdpi/splash.png differ
diff --git a/twa/app/src/main/res/drawable-xhdpi/splash.png b/twa/app/src/main/res/drawable-xhdpi/splash.png
index 84b457b7c2..5e51c5cc2c 100644
Binary files a/twa/app/src/main/res/drawable-xhdpi/splash.png and b/twa/app/src/main/res/drawable-xhdpi/splash.png differ
diff --git a/twa/app/src/main/res/drawable-xxhdpi/splash.png b/twa/app/src/main/res/drawable-xxhdpi/splash.png
index c35c03468b..e035710acb 100644
Binary files a/twa/app/src/main/res/drawable-xxhdpi/splash.png and b/twa/app/src/main/res/drawable-xxhdpi/splash.png differ
diff --git a/twa/app/src/main/res/drawable-xxxhdpi/splash.png b/twa/app/src/main/res/drawable-xxxhdpi/splash.png
index 2749375e89..a2fdf98937 100644
Binary files a/twa/app/src/main/res/drawable-xxxhdpi/splash.png and b/twa/app/src/main/res/drawable-xxxhdpi/splash.png differ
diff --git a/twa/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/twa/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 0000000000..04807978fd
--- /dev/null
+++ b/twa/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,33 @@
+<!--
+ 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.
+-->
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:aapt="http://schemas.android.com/aapt">
+ <background>
+ <layer-list>
+ <item android:drawable="@android:color/white" />
+ <!--
+ The paddings below give the icons a similar proportion as the
+ icon generated by WebAPKs.
+ -->
+ <item android:drawable="@mipmap/ic_maskable"
+ android:top="8.5dp"
+ android:right="8.5dp"
+ android:left="8.5dp"
+ android:bottom="8.5dp" />
+ </layer-list>
+ </background>
+ <foreground android:drawable="@android:color/transparent" />
+</adaptive-icon>
diff --git a/twa/app/src/main/res/mipmap-hdpi/ic_launcher.png b/twa/app/src/main/res/mipmap-hdpi/ic_launcher.png
index 7a5c880eba..a1213c5559 100644
Binary files a/twa/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/twa/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/twa/app/src/main/res/mipmap-hdpi/ic_maskable.png b/twa/app/src/main/res/mipmap-hdpi/ic_maskable.png
new file mode 100644
index 0000000000..b63d8c9aa6
Binary files /dev/null and b/twa/app/src/main/res/mipmap-hdpi/ic_maskable.png differ
diff --git a/twa/app/src/main/res/mipmap-mdpi/ic_launcher.png b/twa/app/src/main/res/mipmap-mdpi/ic_launcher.png
index c0c67eafc0..7068ba5d7e 100644
Binary files a/twa/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/twa/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/twa/app/src/main/res/mipmap-mdpi/ic_maskable.png b/twa/app/src/main/res/mipmap-mdpi/ic_maskable.png
new file mode 100644
index 0000000000..d5f16a2c52
Binary files /dev/null and b/twa/app/src/main/res/mipmap-mdpi/ic_maskable.png differ
diff --git a/twa/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/twa/app/src/main/res/mipmap-xhdpi/ic_launcher.png
index 09e3d0ed51..564b6b31ea 100644
Binary files a/twa/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/twa/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/twa/app/src/main/res/mipmap-xhdpi/ic_maskable.png b/twa/app/src/main/res/mipmap-xhdpi/ic_maskable.png
new file mode 100644
index 0000000000..22d7698b9c
Binary files /dev/null and b/twa/app/src/main/res/mipmap-xhdpi/ic_maskable.png differ
diff --git a/twa/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/twa/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
index 2e9aa3a8a4..6837e1fd78 100644
Binary files a/twa/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/twa/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/twa/app/src/main/res/mipmap-xxhdpi/ic_maskable.png b/twa/app/src/main/res/mipmap-xxhdpi/ic_maskable.png
new file mode 100644
index 0000000000..db86055854
Binary files /dev/null and b/twa/app/src/main/res/mipmap-xxhdpi/ic_maskable.png differ
diff --git a/twa/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/twa/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
index 3d36cd107f..4f21fc177d 100644
Binary files a/twa/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/twa/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/twa/app/src/main/res/mipmap-xxxhdpi/ic_maskable.png b/twa/app/src/main/res/mipmap-xxxhdpi/ic_maskable.png
new file mode 100644
index 0000000000..1804d84b05
Binary files /dev/null and b/twa/app/src/main/res/mipmap-xxxhdpi/ic_maskable.png differ
diff --git a/twa/app/src/main/res/raw/web_app_manifest.json b/twa/app/src/main/res/raw/web_app_manifest.json
index 60f41f1f75..e6dc044162 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"}],"start_url":"/","background_color":"#2a3a4b","display":"standalone","scope":"/","theme_color":"#2a3a4b"}
\ 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":"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
diff --git a/twa/store_icon.png b/twa/store_icon.png
index c0030f515b..1ce65d75b6 100644
Binary files a/twa/store_icon.png and b/twa/store_icon.png differ