From 384bafe67b6421d76a44ff99b4eccd6a831ae0c9 Mon Sep 17 00:00:00 2001 From: otsmr Date: Wed, 5 Feb 2025 00:43:41 +0100 Subject: [PATCH] add receiver side for media --- android/app/src/main/AndroidManifest.xml | 1 + .../com/example/connect/MainActivity.kt | 4 +- assets/animations/present.lottie.json | 1 + assets/animations/present.lottie.zip | Bin 0 -> 4272 bytes ios/Runner/Info.plist | 4 +- .../components/message_send_state_icon.dart | 2 +- lib/src/model/json/message.dart | 36 ++- lib/src/model/messages_model.dart | 2 +- lib/src/providers/api/api.dart | 22 +- .../views/chats/chat_item_details_view.dart | 4 +- lib/src/views/chats/media_viewer_view.dart | 231 ++++++++++++++---- pubspec.lock | 58 ++++- pubspec.yaml | 3 + 13 files changed, 291 insertions(+), 77 deletions(-) create mode 100644 assets/animations/present.lottie.json create mode 100644 assets/animations/present.lottie.zip diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 8806535..6522dfa 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -34,6 +34,7 @@ +