khoailangdo opened a new issue #800:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/800
# Bug Report
in my application. I use the InAppBrowser plugin to display files loaded
from an API on the device memory.
But when displaying (Photo) file from device memory, the error is displayed
as follows:
> `Webpage not available
The webpage at
file:///storage/emulated/0/Android/data/com.nuance.bc/test.jpg could not be
loaded because:
net::ERR_ACCESS_DENIED
`
I checked that the file "test.jpg" in the device memory still exists and can
be opened in another photo viewer. Also I have applied for android permision
permissions:
` <uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
`
In addition I also go to the android settings to allow the Storage
permission but also cannot display the image.
But when I run the application on Simulator and LDPlayer4 Simulator, the
image is displayed well and there is no error.
Please help me out with what errors are and what can be done to fix them?
### Version information
<!--
What are relevant versions you are using?
InAppBrowser plugin: 4.0.0
Cordova: 9.0.0
Ionic: 1.7.16
NodeJs: v6.11.5
Mobile Device OS: Android 8.0
-->
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x ] I searched for existing GitHub issues
- [ ] I updated all Cordova tooling to most recent version
- [x ] I included all the necessary information above
----------------------------------------------------------------
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]