Subhi-Khalife / social_media_recorder

MIT License
28 stars 43 forks source link

Cancel function #25

Closed Yaliih closed 1 year ago

Yaliih commented 1 year ago

Thank you very much for this work which makes our lives easier... a question how can I know that a recording has just been canceled ?

Subhi-Khalife commented 1 year ago

Hello @Yaliih can you update to latest version 1.0.0 and check stopRecording function i call this function when user press cancle or slide to max left or user need to send audio sound check it please and if you need any change tell me

Yaliih commented 1 year ago

Thank you it works very well now. But this caused another problem since by holding the button for recording after releasing the stopRecording function is not called

Subhi-Khalife commented 1 year ago

you're welcome @Yaliih can you check again please because stopRecording call when user press on send button after lock record or when leave finger from record button

Yaliih commented 1 year ago

Thank you @Subhi-Khalife

Yes you are right it was linked to a problem with my codes otherwise it works very well.

I am now thinking about how to add pause and play before sending the recorded message

Subhi-Khalife commented 1 year ago

@Yaliih you're welcome you can make it like inside sendRequestFunction you can take the file path and show record with pause and paly button when user press send you can send message else ignore it

Yaliih commented 1 year ago

@Subhi-Khalife You are an angel thank you!

Lots of love !