Our UI for recording sound involves holding a button down whilst recording, then releasing to stop. We call the plugin on touchstart, then again on touchend.
This appears to work on every phone/OS that we tested apart from Android 4.4.2 on the Galaxy Note II. In this case, calling the plugin to start recording causes the touchend event to fire in the webview. In practice, this makes it appear as though the user has taken their finger off the screen.
Specifically, this line seems to be causing this behaviour:
myRecorder = new MediaRecorder();
...
myRecorder.prepare();
myRecorder.start(); // <--- THIS CAUSES TOUCHEND EVENT
Any ideas how to prevent or workaround this issue? Thanks in advance.
Our UI for recording sound involves holding a button down whilst recording, then releasing to stop. We call the plugin on touchstart, then again on touchend.
This appears to work on every phone/OS that we tested apart from Android 4.4.2 on the Galaxy Note II. In this case, calling the plugin to start recording causes the touchend event to fire in the webview. In practice, this makes it appear as though the user has taken their finger off the screen.
Specifically, this line seems to be causing this behaviour:
Any ideas how to prevent or workaround this issue? Thanks in advance.