digidem / comapeo-mobile

The next version of Mapeo mobile
GNU General Public License v3.0
5 stars 0 forks source link

Playback / Delete / Share #361

Open ximenabb opened 1 month ago

ximenabb commented 1 month ago

Playback / Delete / Share

User has successfully saved an audio recording on a observation. User clicks on the recording from the observation. User can play it back, delete it or share it.

Todo

Screen Shot 2024-05-15 at 4 25 21 PM

Playback

Delete Audio Recording

Share

Tech Notes

Design

https://www.figma.com/design/1Knqv1NrijUuqMo1pvYyF7/Tracks-and-Audio-(Share)?node-id=529-657&t=xhcTH3fFF4S8gJjD-0

ximenabb commented 1 month ago

Update : Shared by @CDFN - _Hi, there is problem we encountered when developing share menu. Default Android SMS app (com.google.android.apps.messaging) isn't able to handle android.intent.action.SENDMULTIPLE intent with audio/mp4 mime type, meaning we can't share audio via SMS as in design. WhatsApp works fine though. Apparently default SMS app is only capable of doing image/ and text/ mime types :disappointed: You'll need to make decision whether you want to use something else (different app) in place of messages or find some different solution. Let me know how we should proceed with this.

Decision made - share Whatsapp and More fore the MVP

CDFN commented 1 month ago

This issue can't be finished in full before #378 gets added, as currently there is no way to store attachment metadata (need to store creation timestamp + recording duration)