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.
The text was updated successfully, but these errors were encountered:
@erkanarslan that is somehow expected as the simulator path is different for each Mac user (see here). The method openFile is checking for that path that would be on a real device so that said it is a limitation of this implementation.
I wouldn't. say it is a bug as the method works on a real device but still marking this one as good-first-issue.
@erkanarslan
I want to enhance in simulator DX.
This is my email address. sakaharami@gmai.com
Could you send your project codes of using utils.openFile
Environment
Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):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.
The text was updated successfully, but these errors were encountered: