What were you trying to do and what did you expect to happen ?
--> I just install the plugin and try to run the AudioExample
npm install --save react-native-audio
react-native link react-native-audio
(also install & link react-native-sound)
react-native run-ios ==> iOS simulator works for recording & playing
react-native run-android ==> Android Devices works for recording & playing
Actual behaviour
But for my iPhone 7+ (iOS 10.3.2), after pressing start to recording, the seconds always keep 0 seconds.
After digging into source code with debugging,
It's really weird that I have installed the latest upgrade patch of IOS and restart the device
then all works normally.
Not sure what's is the root cause, close the issue first.
react-native-audio : 3.2.2 react-native : 0.44.0 react : 16.0.0-alpha.6 using react-native-sound ? Yes
What were you trying to do and what did you expect to happen ?
--> I just install the plugin and try to run the AudioExample npm install --save react-native-audio react-native link react-native-audio (also install & link react-native-sound)
react-native run-ios ==> iOS simulator works for recording & playing react-native run-android ==> Android Devices works for recording & playing
Actual behaviour
But for my iPhone 7+ (iOS 10.3.2), after pressing start to recording, the seconds always keep 0 seconds. After digging into source code with debugging,
[In ios/AudioRecorderManager.m] Line 40~45
the progressUpdate only callback once, _currentTime = 0, and then the _audioRecorder.recording is false afterwards, and there's no any callback.
The result of recording is 0-byte file in iOS device which can't playback.