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/05/06 19:34:04 UTC
[GitHub] [cordova-windows] janpio edited a comment on issue #283:
window.requestFileSystem
janpio edited a comment on issue #283: window.requestFileSystem
URL: https://github.com/apache/cordova-windows/issues/283#issuecomment-489745780
Code for the functionality lives here:
https://github.com/apache/cordova-windows/blame/20ed375676ff4dc7b772b40a7f18455a650a2028/template/config.xml
---
I just created a Cordova Windows app and added the file plugin:
```
E:\Projects\throwaway
λ cd cordovaWindowsFile\
E:\Projects\throwaway\cordovaWindowsFile (helloworld@1.0.0)
λ cordova platform add windows
Using cordova-fetch for cordova-windows@^7.0.0
Adding windows project...
Creating Cordova Windows Project:
Path: platforms\windows
Namespace: io.cordova.hellocordova
Name: HelloCordova
Windows project created with cordova-windows@7.0.0
Plugin 'cordova-plugin-whitelist' found in config.xml... Migrating it to package.json
Discovered saved plugin "cordova-plugin-whitelist". Adding it to the project
Installing "cordova-plugin-whitelist" for windows
Adding cordova-plugin-whitelist to package.json
E:\Projects\throwaway\cordovaWindowsFile (helloworld@1.0.0)
λ cordova plugin add cordova-plugin-file
Installing "cordova-plugin-file" for windows
Adding cordova-plugin-file to package.json
E:\Projects\throwaway\cordovaWindowsFile (helloworld@1.0.0)
λ
```
When I ran it with `cordova run windows` and connected to the WebView with Microsoft Edge DevTools, I got this in the console:
![image](https://user-images.githubusercontent.com/183673/57249809-358d8700-7046-11e9-9991-b664c7a9c17b.png)
So I would say this works as intended.
---
If this doesn't help, please reply to this issue and I will be happy to reopen it.
----------------------------------------------------------------
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