You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/06/18 21:03:36 UTC

[GitHub] [cordova-plugin-file] Tukkan commented on issue #453: cordova-plugin-file overwrites the global File variable on iOS

Tukkan commented on issue #453:
URL: https://github.com/apache/cordova-plugin-file/issues/453#issuecomment-863544803


   Hehe, I spent like 4 hours figuring out why my Files are wrongly loaded until I found out that the API has been replaced.
   
   The dirty hack would be to put 
   
   ```
     <script>
       window.NativeFile = File;
     </script>
   ```
     
     in index.html header so that we could still have the reference to old File API.


-- 
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



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