You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/10/22 06:07:35 UTC

[GitHub] [cordova-plugin-file] flojug commented on issue #334: Electron platform - 'Missing Command Error' on API calls

flojug commented on issue #334: Electron platform - 'Missing Command Error' on API calls
URL: https://github.com/apache/cordova-plugin-file/issues/334#issuecomment-544818441
 
 
   When doing that I had some errors later when I tried to retrieve the files with a "img.src=...".
   
   I replaced the both tests by the following and it seems to work :
   
   `
   if (((cordova.platformId === 'browser') || (cordova.platformId === 'browser')) && require('./isChrome')()) {
   `

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org