Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio Message Feature: Player, Recorder, Sending & Display #628

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion qaul_ui/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ group = "net.qaul.app"
version = flutterVersionName

android {
compileSdkVersion 33
compileSdkVersion 34

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
5 changes: 5 additions & 0 deletions qaul_ui/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>

<!-- Audio messages support -->
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<!-- Optional: Add this permission if you want to use bluetooth telephony device like headset/earbuds (min SDK: 23) -->
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />

<!-- The queries element is required to open URLs, starting on Android 11 (API 30) -->
<queries>
<intent>
Expand Down
13 changes: 13 additions & 0 deletions qaul_ui/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
PODS:
- audioplayers_darwin (0.0.1):
- Flutter
- better_open_file (0.0.1):
- Flutter
- device_info_plus (0.0.1):
Expand Down Expand Up @@ -53,6 +55,9 @@ PODS:
- path_provider_foundation (0.0.1):
- Flutter
- FlutterMacOS
- record_darwin (1.0.0):
- Flutter
- FlutterMacOS
- SDWebImage (5.15.2):
- SDWebImage/Core (= 5.15.2)
- SDWebImage/Core (5.15.2)
Expand All @@ -66,6 +71,7 @@ PODS:
- Flutter

DEPENDENCIES:
- audioplayers_darwin (from `.symlinks/plugins/audioplayers_darwin/ios`)
- better_open_file (from `.symlinks/plugins/better_open_file/ios`)
- device_info_plus (from `.symlinks/plugins/device_info_plus/ios`)
- file_picker (from `.symlinks/plugins/file_picker/ios`)
Expand All @@ -77,6 +83,7 @@ DEPENDENCIES:
- integration_test (from `.symlinks/plugins/integration_test/ios`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- record_darwin (from `.symlinks/plugins/record_darwin/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
- uni_links (from `.symlinks/plugins/uni_links/ios`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
Expand All @@ -89,6 +96,8 @@ SPEC REPOS:
- SwiftyGif

EXTERNAL SOURCES:
audioplayers_darwin:
:path: ".symlinks/plugins/audioplayers_darwin/ios"
better_open_file:
:path: ".symlinks/plugins/better_open_file/ios"
device_info_plus:
Expand All @@ -111,6 +120,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/package_info_plus/ios"
path_provider_foundation:
:path: ".symlinks/plugins/path_provider_foundation/darwin"
record_darwin:
:path: ".symlinks/plugins/record_darwin/ios"
shared_preferences_foundation:
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
uni_links:
Expand All @@ -119,6 +130,7 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/url_launcher_ios/ios"

SPEC CHECKSUMS:
audioplayers_darwin: 877d9a4d06331c5c374595e46e16453ac7eafa40
better_open_file: 03cf320415d4d3f46b6e00adc4a567d76c1a399d
device_info_plus: c6fb39579d0f423935b0c9ce7ee2f44b71b9fce6
DKImagePickerController: b512c28220a2b8ac7419f21c491fc8534b7601ac
Expand All @@ -132,6 +144,7 @@ SPEC CHECKSUMS:
integration_test: 13825b8a9334a850581300559b8839134b124670
package_info_plus: fd030dabf36271f146f1f3beacd48f564b0f17f7
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
record_darwin: 1f6619f2abac4d1ca91d3eeab038c980d76f1517
SDWebImage: 8ab87d4b3e5cc4927bd47f78db6ceb0b94442577
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
SwiftyGif: 93a1cc87bf3a51916001cf8f3d63835fb64c819f
Expand Down
2 changes: 2 additions & 0 deletions qaul_ui/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,7 @@
<string>You can send photos as attachments to your peers. For that, please grant access to the application.</string>
<key>NSCameraUsageDescription</key>
<string>You can take pictures and send them as attachments to your peers. For that, please grant access to the application.</string>
<key>NSMicrophoneUsageDescription</key>
<string>You can send audio messages to your peers. For that, please grant access to the application.</string>
</dict>
</plist>
1 change: 1 addition & 0 deletions qaul_ui/lib/l10n/app_ar.arb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"backButtonTooltip": "رجوع",
"sendTooltip": "أرسل",
"sendFileTooltip": "أرسل ملف",
"sendAudioTooltip": "تسجيل رسالة صوتية",
"userAccountNavButtonTooltip": "حسابك",
"publicNavButtonTooltip": "عام",
"usersNavButtonTooltip": "المستخدمين",
Expand Down
1 change: 1 addition & 0 deletions qaul_ui/lib/l10n/app_de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"backButtonTooltip": "Zurück",
"sendTooltip": "Senden",
"sendFileTooltip": "Datei Senden",
"sendAudioTooltip": "Nehmen Sie eine Audionachricht auf",
"start": "Start",
"createUserAccount": "Profil erstellen",
"learnMore": "Mehr über qaul lernen",
Expand Down
1 change: 1 addition & 0 deletions qaul_ui/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"backButtonTooltip": "Back",
"sendTooltip": "Send",
"sendFileTooltip": "Send File",
"sendAudioTooltip": "Record audio message",
"start": "Start",
"createUserAccount": "Create user profile",
"learnMore": "Learn about qaul",
Expand Down
1 change: 1 addition & 0 deletions qaul_ui/lib/l10n/app_es.arb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"backButtonTooltip": "Atras",
"sendTooltip": "Enviar",
"sendFileTooltip": "Enviar Archivo",
"sendAudioTooltip": "Grabar mensaje de audio",
"start": "Empezar",
"createUserAccount": "Crear perfil de usuario",
"learnMore": "Acerca de qaul",
Expand Down
1 change: 1 addition & 0 deletions qaul_ui/lib/l10n/app_fa.arb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"backButtonTooltip": "بازگشت",
"sendTooltip": "ارسال",
"sendFileTooltip": "ارسال پرونده",
"sendAudioTooltip": "ضبط پیام صوتی",
"start": "شروع",
"createUserAccount": "ایجاد نمایه کاربر",
"learnMore": "دانستن درباره qaul",
Expand Down
1 change: 1 addition & 0 deletions qaul_ui/lib/l10n/app_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"backButtonTooltip": "Retour",
"sendTooltip": "Envoyer",
"sendFileTooltip": "Envoyer le fichier",
"sendAudioTooltip": "Enregistrer un message audio",
"start": "Démarrer",
"createUserAccount": "Créer un profil utilisateur",
"learnMore": "En savoir plus sur qaul",
Expand Down
1 change: 1 addition & 0 deletions qaul_ui/lib/l10n/app_id.arb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"backButtonTooltip": "Kembali",
"sendTooltip": "Kirim",
"sendFileTooltip": "Kirim Berkas",
"sendAudioTooltip": "Rekam pesan audio",
"start": "Mulailah",
"createUserAccount": "Buat profil pengguna",
"learnMore": "Pelajari tentang qaul",
Expand Down
1 change: 1 addition & 0 deletions qaul_ui/lib/l10n/app_it.arb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"backButtonTooltip": "Indietro",
"sendTooltip": "Invia",
"sendFileTooltip": "Invia file",
"sendAudioTooltip": "Registra un messaggio audio",
"start": "Start",
"createUserAccount": "Crea un profilo",
"learnMore": "Sapere di piu di qaul",
Expand Down
1 change: 1 addition & 0 deletions qaul_ui/lib/l10n/app_pt.arb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"backButtonTooltip": "Voltar",
"sendTooltip": "Enviar",
"sendFileTooltip": "Send Arquivo",
"sendAudioTooltip": "Gravar mensagem de áudio",
"start": "Começar",
"createUserAccount": "Criar perfil de usuário",
"learnMore": "Aprenda mais sobre qaul",
Expand Down
1 change: 1 addition & 0 deletions qaul_ui/lib/l10n/app_ru.arb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"backButtonTooltip": "Назад",
"sendTooltip": "Отправить",
"sendFileTooltip": "Отправить файл",
"sendAudioTooltip": "Записать аудиосообщение",
"start": "Пуск",
"createUserAccount": "Создать профиль пользователя",
"learnMore": "Узнайте о qaul",
Expand Down
1 change: 1 addition & 0 deletions qaul_ui/lib/l10n/app_uk.arb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"backButtonTooltip": "Назад",
"sendTooltip": "Надіслати",
"sendFileTooltip": "Надіслати файл",
"sendAudioTooltip": "Записати звукове повідомлення",
"start": "почати",
"createUserAccount": "Створити профіль користувача",
"learnMore": "Дізнайтеся про qaul",
Expand Down
1 change: 1 addition & 0 deletions qaul_ui/lib/l10n/app_zh-TW.arb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"backButtonTooltip": "返回",
"sendTooltip": "發送",
"sendFileTooltip": "發送文件",
"sendAudioTooltip": "錄製音訊訊息",
"start": "開始",
"createUserAccount": "建立賬號",
"learnMore": "了解更多qaul.net",
Expand Down
1 change: 1 addition & 0 deletions qaul_ui/lib/l10n/app_zh.arb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"backButtonTooltip": "返回",
"sendTooltip": "发送",
"sendFileTooltip": "发送文件",
"sendAudioTooltip": "录制音频消息",
"start": "开始",
"createUserAccount": "建立账号",
"learnMore": "了解更多关于qaul.net的信息",
Expand Down
8 changes: 8 additions & 0 deletions qaul_ui/lib/qaul_app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ class QaulApp extends PlatformAwareBuilder {
return AdaptiveTheme(
light: ThemeData(
brightness: Brightness.light,
colorScheme: ColorScheme.fromSeed(
seedColor: Colors.lightBlue,
brightness: Brightness.light,
),
primarySwatch: Colors.lightBlue,
scaffoldBackgroundColor: Colors.white,
navigationBarTheme: const NavigationBarThemeData(
Expand Down Expand Up @@ -70,6 +74,10 @@ class QaulApp extends PlatformAwareBuilder {
),
dark: ThemeData(
brightness: Brightness.dark,
colorScheme: ColorScheme.fromSeed(
seedColor: Colors.lightBlue,
brightness: Brightness.dark,
),
primarySwatch: Colors.lightBlue,
visualDensity: VisualDensity.adaptivePlatformDensity,
iconTheme: const IconThemeData(color: Colors.white),
Expand Down
Loading
Loading