Open defnax opened 7 months ago
Only for Retroshare mobile app not for Desktop.
When want send a voice message via private chat or distant chat, (only for 1:1 not for chat rooms) updated the todo list. 10-60 seconds maximum record and send the audio file.
https://pub.dev/packages/flutter_sound https://pub.dev/packages/audio_recorder
// Import package
import 'package:audio_recorder/audio_recorder.dart';
// Check permissions before starting
bool hasPermissions = await AudioRecorder.hasPermissions;
// Get the state of the recorder
bool isRecording = await AudioRecorder.isRecording;
// Start recording
await AudioRecorder.start(path: _controller.text, audioOutputFormat: AudioOutputFormat.AAC);
// Stop recording
Recording recording = await AudioRecorder.stop();
print("Path : ${recording.path}, Format : ${recording.audioOutputFormat}, Duration : ${recording.duration}, Extension : ${recording.extension},");
issues (tested on bluestacks 10/2021):
there no kind of info the the rs mobile distant chat is etablished, no status or if the chat is active. i know gxs contacts hasnt yet a status. maybe it wil come too, but when the chat is etablished show something green border or else, and show yellow, red when user is offline or not reachable
basic idea:
Avatar Circle color:
**1. Yellow Pending (in progress)
But when this fixed, we need direct chat too. Without the status we dont know if the contact is realy online to talk.
Ideas:
https://cybdom.tech/flutter-tutorial-messengerish-app-ui/
Idea where to place the Friends View
We need to stay light and easy on rs mobile like Whatsapp/Telegram.
for me main ideas/todos (not sure if everything is done, every place has i think more todos which i doesnt listed yet)
Basics Done: ✔️ Distant chats ✔️ Chat rooms ✔️ Send Emojis
Todo:
https://github.com/RetroShare/retroshare-mobile/issues/62
Private Chat (direct chat)
Distant Chat Status (https://github.com/RetroShare/retroshare-mobile/issues/64#issuecomment-1903869762)
Notify new Friend Requests for accept
Show Friends Avatars (direct friends)
Would be great if i can view Contacts (gxs) and direct friends in the Friends View, via switch something
Show all Private, Distant Chats, Rooms in the Chats List too, at the moment only joind rooms there visible.
Send single files (todo: https://github.com/RetroShare/RetroShare/pull/2444)
Tor support (todo: https://github.com/RetroShare/RetroShare/pull/2437)
Send Voice Message (for 1:1 Chats, https://github.com/RetroShare/retroshare-mobile/issues/64#issuecomment-1903859533)
Set your Status Message
Status for your profile (Online, Busy, Away, Offline..)
Send Pictures 🟡
Send Stickers
Send Gifs/Webp ( animated rs mobile to rs mobile , static on qt chat, rs chat ui doesnt supports yet animated)
Video player for downloaded videos in the Chat
Edit Profile ( edit Name & Avatar, issue: https://gitlab.com/elRepo.io/retroshare-wrapper-dart/-/issues/1)
Count new messages (https://github.com/RetroShare/retroshare-mobile/issues/64#issuecomment-1903876909)
Display last chat time stamp
Display last chat text strings maximum 2 lines
for the future:
a advanced retroshare mobile app (more complex or only keep it for the desktop rs only)