expo-audio 57.0.5 → 58.0.10: deprecates 5 API(s)
Compared with 57.0.5: `AudioLoadOptions`, `InterruptionModeAndroid`, `AudioMode.interruptionModeAndroid`, `AudioRecorder.startRecordingAtTime`, `AudioRecorder.recordForDuration`.
registry.npmjs.orgquote checked
- 58.0.10from 57.0.5
- Your code5 things to find
Nemotron fixes
In its own wordsread from the page
- AudioLoadOptions: Use `AudioPlayerOptions` instead. Options for audio loading behavior.
- InterruptionModeAndroid: Use `InterruptionMode` instead, which now works on both platforms.
- AudioMode.interruptionModeAndroid: Determines how the audio session interacts with other sessions on Android. Use `interruptionMode` instead, which now works on both platforms.
- AudioRecorder.startRecordingAtTime: Starts the recording at the given time. Use `record({ atTime: seconds })` instead.
- AudioRecorder.recordForDuration: Stops the recording once the specified time has elapsed. Use `record({ forDuration: seconds })` instead.
What Teire looks for in your code
- AudioLoadOptions (ts)
- InterruptionModeAndroid (ts)
- AudioMode.interruptionModeAndroid (ts)
- AudioRecorder.startRecordingAtTime (ts)
- AudioRecorder.recordForDuration (ts)
Does it reach your code?