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 2020/10/01 07:46:20 UTC

[GitHub] [cordova-plugin-file] araafat3 opened a new issue #427: sandbox Issue - WebPageProxy::Ignoring request to load this main resource because it is outside the sandbox

araafat3 opened a new issue #427:
URL: https://github.com/apache/cordova-plugin-file/issues/427


   # Bug Report
   sandbox Issue - WebPageProxy::Ignoring request to load this main resource because it is outside the sandbox
   ## Problem
   I am using cordova.file.applicationStorageDirectory
   that access sandbox
   and still this error appear to me request to load this main resource because it is outside the sandbox
   ### What is expected to happen?
   that i can read and write files in sandbox for ios
   
   
   ### What does actually happen?
   sandbox Issue - WebPageProxy::Ignoring request to load this main resource because it is outside the sandbox
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   cordova 9
   ios platform 5.1.1
   


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


[GitHub] [cordova-plugin-file] araafat3 commented on issue #427: sandbox Issue - WebPageProxy::Ignoring request to load this main resource because it is outside the sandbox

Posted by GitBox <gi...@apache.org>.
araafat3 commented on issue #427:
URL: https://github.com/apache/cordova-plugin-file/issues/427#issuecomment-702904561


   applicationStorageDirectory for ios 
   I can read and write and my problem in read
   i am downloading HTML file and I want to read 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



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


[GitHub] [cordova-plugin-file] breautek commented on issue #427: sandbox Issue - WebPageProxy::Ignoring request to load this main resource because it is outside the sandbox

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #427:
URL: https://github.com/apache/cordova-plugin-file/issues/427#issuecomment-702176055


   As the error states, something is thinking you're attempting to load an HTML document outside of your application bundle, which the webview doesn't allow. Can you share a [minimal reproduction app](https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md) that demonstrates this issue?
   
   Also the `applicationStorageDirectory` is a read-only directory, so you can't write to this directory. There are writable sub-directories for this. See the [docs](https://github.com/apache/cordova-plugin-file#ios-file-system-layout)


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


[GitHub] [cordova-plugin-file] araafat3 commented on issue #427: sandbox Issue - WebPageProxy::Ignoring request to load this main resource because it is outside the sandbox

Posted by GitBox <gi...@apache.org>.
araafat3 commented on issue #427:
URL: https://github.com/apache/cordova-plugin-file/issues/427#issuecomment-703237776


   Hi @breautek 
   i am used cordova.file.dataDirectory and everything is ok till ios 14 that to load data must be in sandbox
   so i am used cordova.file.applicationStorageDirectory and still happened after i download data inside documents
   as plugin said in documentation read and write
   cordova.file.applicationStorageDirectory - Root directory of the application's sandbox; on iOS & windows this location is read-only (but specific subdirectories [like /Documents on iOS or /localState on windows] are read-write). All data contained within is private to the app. (iOS, Android, BlackBerry 10, OSX)


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