breautek commented on issue #316: URL: https://github.com/apache/cordova-plugin-file/issues/316#issuecomment-2173349010
> In plugin.xml or cordova-plugin.js comment `<clobbers target="window.File" />`, not overwrite window.File, and restart the app > > ``` > <js-module src="www/File.js" name="File"> > <!-- <clobbers target="window.File" /> --> > </js-module> > ``` This is effectively disabling the File plugin's JS code. If you're going to do this, you should consider if the file plugin is even necessary/being used and remove it if it's not. If your application actually uses the file plugin or you use any plugins that depend on the file plugin API, you'll be breaking those parts. -- 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. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org