update image provider

This commit is contained in:
Luke Pulverenti 2015-11-20 12:55:38 -05:00
parent 08b0777450
commit f3d7a58b2c
3 changed files with 13 additions and 6 deletions

View file

@ -365,6 +365,13 @@
isSupported: function () {
if (AppInfo.isNativeApp) {
// Crashes on some amazon devices
if (window.device && (device.platform || '').toLowerCase().indexOf('amazon') != -1) {
return false;
}
}
return window.SpeechRecognition || window.webkitSpeechRecognition;
},