erisu opened a new pull request #1111:
URL: https://github.com/apache/cordova-android/pull/1111


   ### Motivation, Context & Description
   
   Loading `file://` resources is failing in SDK API 30 because the 
`setAllowFileAccess` is now defaulted to `false`.
   
   To keep existing behavior, we should set this to `true`, but in future 
releases we should default it to `false` and have the files loaded not though 
file. 
   
   ### Testing
   
   With the camera plugin, took a photo and loaded the `FILE_URI` in `<img>` 
tag.
   
   ### Checklist
   
   - [ ] I've run the tests to see all new and existing tests pass
   - [ ] I added automated test coverage as appropriate for this change
   - [ ] Commit is prefixed with `(platform)` if this change only applies to 
one platform (e.g. `(android)`)
   - [ ] If this Pull Request resolves an issue, I linked to the issue in the 
text above (and used the correct [keyword to close issues using 
keywords](https://help.github.com/articles/closing-issues-using-keywords/))
   - [ ] I've updated the documentation if necessary
   


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



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

Reply via email to