Open
Description
Environment
Provide version numbers for the following components (information can be retrieved by running tns info
in your project folder or by inspecting the package.json
of the project):
- CLI: 6.2.2
- Cross-platform modules: 6.0.1
- Android Runtime: 6.2.0
- iOS Runtime: 6.2.0
- Plugin(s): unrelated
Describe the bug
openFile method of utils module does not preview the file in iOS simulator and Android emulator but does it in real devices.
Here is a screenshot:
To Reproduce
Save an image to documents folder and try to open its path with utils.openFile
Expected behavior
Show the preview of the file.
Sample project
I can send you my whole project if you need. Give me an email address.
Additional context
Works in real device. But not in simulators.