Rocket.Chat.ReactNative/app/containers/MessageBox
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
..
CommandsPreview [IMPROVEMENT] Refactor icon package (#2146) 2020-06-05 10:28:58 -03:00
Mentions [FIX] Show slash commands when disconnected (#2078) 2020-04-30 13:05:31 -03:00
buttons [IMPROVEMENT] Expo-av audio recorder (#2195) 2020-07-06 16:23:46 -03:00
Context.js [FIX] Remove some unnecessary re-renders on Messagebox (#1341) 2019-10-30 11:14:41 -03:00
EmojiKeyboard.js [REVERT] Show emoji keyboard on Android (#1738) 2020-02-17 09:14:56 -03:00
LeftButtons.android.js [REVERT] Show emoji keyboard on Android (#1738) 2020-02-17 09:14:56 -03:00
LeftButtons.ios.js [NEW] Send multiple attachments (#2162) 2020-06-26 17:22:56 -03:00
RecordAudio.js [IMPROVEMENT] Expo-av audio recorder (#2195) 2020-07-06 16:23:46 -03:00
ReplyPreview.js [NEW] Action Sheet (#2114) 2020-06-15 16:35:45 -03:00
RightButtons.android.js [IMPROVEMENT] Expo-av audio recorder (#2195) 2020-07-06 16:23:46 -03:00
RightButtons.ios.js [IMPROVEMENT] Expo-av audio recorder (#2195) 2020-07-06 16:23:46 -03:00
constants.js [FIX] Remove some unnecessary re-renders on Messagebox (#1341) 2019-10-30 11:14:41 -03:00
index.js [IMPROVEMENT] Expo-av audio recorder (#2195) 2020-07-06 16:23:46 -03:00
styles.js [IMPROVEMENT] Expo-av audio recorder (#2195) 2020-07-06 16:23:46 -03:00