Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Causes touchend event to fire in Android 4.4.2 Samsung Galaxy Note II #18

Open
dunksmith opened this issue Nov 19, 2015 · 1 comment
Open

Comments

@dunksmith
Copy link

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.

@emj365
Copy link
Owner

emj365 commented Dec 17, 2015

Only in Galaxy Note II? I think I can't help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants