jquery.fileDownload icon indicating copy to clipboard operation
jquery.fileDownload copied to clipboard

Chrome and Firefox on Android

Open rhandberg opened this issue 7 years ago • 4 comments

If running the script in Chrome or Firefox on Android, the script will throw the "graceful" Android-error when using HTTP POST requests. Should this error not only be for the stock Android browser?

And if not, please add a callback that can be called instead of the Android "graceful" message.

rhandberg avatar Nov 18 '16 21:11 rhandberg

If you change line 159 to
} else if (userAgent.indexOf('android') !== -1 && userAgent.indexOf('chrome') === -1) {

Chrome on android works fine. I guess you'd need to add a firefox clause too.

AndrewFreese avatar Jun 05 '17 15:06 AndrewFreese

good call lemme get a fix for this!

johnculviner avatar Jun 14 '17 03:06 johnculviner

@johnculviner How about this?

Greibit avatar Jul 05 '17 07:07 Greibit

Yeah... just had a baby so stuff is getting a little difficult to keep up with, anyone using the library right now (i am not) having this issue mind taking a stab at it and i'm happy to take a PR!

johnculviner avatar Aug 02 '17 03:08 johnculviner