Rocket.Chat.ReactNative/app/containers/MessageBox/buttons
Neil Agarwal 2ec2a52f45
[IMPROVEMENT] Expo-av audio recorder (#2195)
* [NEW] MessageBox: Expo-av audio recorder

* Refactor MessageBox to accommodate recording button even when recording
* Rename Recording.js -> RecordAudio.js as we could implement video recording in the future

* RecordAudio: Introduce cancel and send buttons

* RecordAudio: Introduce recorderBusy state, refactor MessageBox, remove useless SafeAreaView

* RecordAudio: Better audio quality 🎉, stop recording on unmount

* RecordAudio: Use FileSystem from expo-file-system instead of RNFetchBlob

* chore: flush out react-native-audio

* fix(MessageBox): bring back some missed styles during refactor

* refactor(RecordAudio): use class component

* refactor(RecordAudio): recorder busy to class property, styling changes

* recorder initialisation changes

* fix(RecordAudio): missing await in isRecordingPermissionGranted

* fix(RecordAudio): set isRecording = false on cancel/finish, refactor perms

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-06 16:23:46 -03:00
..
ActionsButton.js [NEW] Create discussions (#1942) 2020-03-30 16:50:27 -03:00
BaseButton.js [IMPROVEMENT] Refactor icon package (#2146) 2020-06-05 10:28:58 -03:00
CancelEditingButton.js [IMPROVEMENT] Refactor icon package (#2146) 2020-06-05 10:28:58 -03:00
SendButton.js [IMPROVEMENT] Refactor icon package (#2146) 2020-06-05 10:28:58 -03:00
ToggleEmojiButton.js [REVERT] Show emoji keyboard on Android (#1738) 2020-02-17 09:14:56 -03:00
index.js [IMPROVEMENT] Expo-av audio recorder (#2195) 2020-07-06 16:23:46 -03:00