flojug edited a comment 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 === 
'electron')) && 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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to