chore: Merge upstream changes --------- Signed-off-by: Krille <c.kussowski@famedly.com> Co-authored-by: krille-chan <christian-kussowski@posteo.de> Co-authored-by: Krille <c.kussowski@famedly.com> Co-authored-by: Linerly <linerly@proton.me> Co-authored-by: Priit Jõerüüt <hwlate@joeruut.com> Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org> Co-authored-by: fadelkon <fadelkon@posteo.net> Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com> Co-authored-by: Edgars Andersons <Edgars+Weblate@gaitenis.id.lv> Co-authored-by: josé m <correoxm@disroot.org> Co-authored-by: Bezruchenko Simon <worcposj44@gmail.com> Co-authored-by: Christian <christian-pauly@posteo.de> Co-authored-by: - <hitekex@yandex.ru> Co-authored-by: Angelo Schirinzi <Odi-3@users.noreply.hosted.weblate.org> Co-authored-by: xabirequejo <xabi.rn@gmail.com> Co-authored-by: Piotr Orzechowski <piotr@orzechowski.tech> Co-authored-by: Rex_sa <rex.sa@pm.me> Co-authored-by: Tewuzij <tenajeza@outlook.com> Co-authored-by: goknarbahceli <goknarbahceli@proton.me> Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com> Co-authored-by: Erin <erin@erindesu.cz> Co-authored-by: EpicKiwi <me@epickiwi.fr> Co-authored-by: Christian Tietze <me@christiantietze.de> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
169 lines
8.2 KiB
XML
169 lines
8.2 KiB
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
package="com.talktolearn.chat" android:installLocation="auto">
|
|
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
|
|
calls FlutterMain.startInitialization(this); in its onCreate method.
|
|
In most cases you can leave this as-is, but you if you want to provide
|
|
additional functionality it is fine to subclass or reimplement
|
|
FlutterApplication and put your custom class here. -->
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
|
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
<uses-permission android:name="android.permission.BLUETOOTH" />
|
|
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
<uses-permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE"/>
|
|
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE"
|
|
android:maxSdkVersion="29" />
|
|
<uses-permission android:name="android.permission.READ_PHONE_NUMBERS" />
|
|
|
|
<uses-permission android:name="android.permission.CALL_PHONE" />
|
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
|
|
<!-- #Pangea -->
|
|
<uses-permission android:name="com.android.vending.BILLING" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<!-- Pangea# -->
|
|
|
|
<uses-sdk
|
|
tools:overrideLibrary="io.wazo.callkeep, net.touchcapture.qr.flutterqr, com.cloudwebrtc.webrtc, org.webrtc, com.it_nomads.fluttersecurestorage, com.pichillilorenzo.flutter_inappwebview, com.example.video_compress, com.otaliastudios.transcoder, com.otaliastudios.opengl, com.kineapps.flutter_file_dialog, com.llfbandit.record, com.pravera.flutter_foreground_task"/>
|
|
<application
|
|
android:label="Pangea Chat"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:requestLegacyExternalStorage="true"
|
|
android:allowBackup="false"
|
|
android:fullBackupContent="false"
|
|
>
|
|
<activity
|
|
android:name=".MainActivity"
|
|
android:launchMode="singleTask"
|
|
android:theme="@style/LaunchTheme"
|
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
|
android:hardwareAccelerated="true"
|
|
android:showOnLockScreen="false"
|
|
android:turnScreenOn="true"
|
|
android:windowSoftInputMode="adjustResize"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
</intent-filter>
|
|
|
|
<!-- App can open on notification action -->
|
|
<intent-filter>
|
|
<action android:name="FLUTTER_NOTIFICATION_CLICK" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
|
|
<!-- App can open https://matrix.to urls -->
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
<data
|
|
android:scheme="https"
|
|
android:host="matrix.to"/>
|
|
</intent-filter>
|
|
|
|
<!-- App can open matrix: uris -->
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
<data android:scheme="matrix" />
|
|
</intent-filter>
|
|
|
|
<!-- App can open im.fluffychat:// uris -->
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
<data android:scheme="com.talktolearn.chat" android:host="chat" />
|
|
</intent-filter>
|
|
|
|
<!-- App can receive shared text -->
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEND" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:mimeType="text/*" />
|
|
</intent-filter>
|
|
|
|
<!-- App can receive shared any type of files -->
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEND" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:mimeType="*/*" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEND_MULTIPLE" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:mimeType="*/*" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity
|
|
android:name="com.linusu.flutter_web_auth_2.CallbackActivity"
|
|
android:exported="true">
|
|
<intent-filter android:label="flutter_web_auth">
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
<data android:scheme="matrix.pangea.chat" android:host="login"/>
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<!-- #Pangea This prevents Android notifications from coming through -->
|
|
<!-- <service android:name=".FcmPushService"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
|
|
</intent-filter>
|
|
</service> -->
|
|
<!-- Pangea# -->
|
|
|
|
<service android:name="com.pravera.flutter_foreground_task.service.ForegroundService"
|
|
android:foregroundServiceType="camera|microphone|mediaProjection">
|
|
</service>
|
|
|
|
<service android:name="io.wazo.callkeep.VoiceConnectionService"
|
|
android:label="Wazo"
|
|
android:foregroundServiceType="camera|microphone|mediaProjection"
|
|
android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.telecom.ConnectionService" />
|
|
</intent-filter>
|
|
</service>
|
|
|
|
<receiver android:name="org.unifiedpush.flutter.connector.UnifiedPushReceiver"
|
|
tools:replace="android:enabled"
|
|
android:enabled="false">
|
|
</receiver>
|
|
|
|
<receiver android:exported="false" android:enabled="true" android:name=".UnifiedPushReceiver">
|
|
<intent-filter>
|
|
<action android:name="org.unifiedpush.flutter.connector.MESSAGE"/>
|
|
<action android:name="org.unifiedpush.flutter.connector.UNREGISTERED"/>
|
|
<action android:name="org.unifiedpush.flutter.connector.NEW_ENDPOINT"/>
|
|
<action android:name="org.unifiedpush.flutter.connector.REGISTRATION_FAILED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<!-- Don't delete the meta-data below.
|
|
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
|
|
<meta-data
|
|
android:name="flutterEmbedding"
|
|
android:value="2" />
|
|
</application>
|
|
|
|
<queries>
|
|
<intent>
|
|
<action android:name="android.intent.action.TTS_SERVICE" />
|
|
</intent>
|
|
</queries>
|
|
</manifest>
|