I am developing Media Player for both android and iPhone using ionic platform.
Player having the record audio and play functionality.
I completed with code using this link : https://github.com/apache/cordova-plugin-media .
The ios app is getting crash when I record audio, save it in local storage and play on player. It is working fine in many cases.
I have debug the code and found crash log and console on XCode IDE. Following is the cause of crashing :
exception nativeEvalAndFetch : ReferenceError: Can't find variable: nan
This may be a plugin issue. I am stuck on this. If any Idea about why this is causing random crash, please share.