Title: utils.openFile does not open file in simulators · Issue #8410 · NativeScript/NativeScript · GitHub
Open Graph Title: utils.openFile does not open file in simulators · Issue #8410 · NativeScript/NativeScript
X Title: utils.openFile does not open file in simulators · Issue #8410 · NativeScript/NativeScript
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...
Open Graph 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...
X 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...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/8410
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"utils.openFile does not open file in simulators","articleBody":"**Environment**\r\nProvide 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):\r\n - CLI: 6.2.2\r\n - Cross-platform modules: 6.0.1\r\n - Android Runtime: 6.2.0\r\n - iOS Runtime: 6.2.0\r\n - Plugin(s): unrelated\r\n\r\n**Describe the bug**\r\nopenFile method of utils module does not preview the file in iOS simulator and Android emulator but does it in real devices.\r\n\r\nHere is a screenshot:\r\n\r\n\r\n\r\n\r\n**To Reproduce**\r\nSave an image to documents folder and try to open its path with utils.openFile\r\n\r\n**Expected behavior**\r\nShow the preview of the file.\r\n\r\n**Sample project**\r\nI can send you my whole project if you need. Give me an email address.\r\n\r\n**Additional context**\r\nWorks in real device. But not in simulators.","author":{"url":"https://github.com/erkanarslan","@type":"Person","name":"erkanarslan"},"datePublished":"2020-03-05T08:32:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/8410/NativeScript/issues/8410"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:15f00b1f-e27e-6931-b74e-f8c889f3cfbe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9FF0:3EA4FC:42B8291:5AA76BD:6972F4C8 |
| html-safe-nonce | b8b850555f2a66e3749736e7b861375bbda41dfe79821dac87844a16803b35ef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkYwOjNFQTRGQzo0MkI4MjkxOjVBQTc2QkQ6Njk3MkY0QzgiLCJ2aXNpdG9yX2lkIjoiNTcyNjA4MzExNTU2MjIzNTA4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b4e7c5d194ddb93ac5e59a451e225467a0f4c7a6d8e4b57b38ee6f52352b49e9 |
| hovercard-subject-tag | issue:576078098 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/8410/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8a120011180bd0a220d76779443844eefb56a2cfc2bb56946650849981941813/NativeScript/NativeScript/issues/8410 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8a120011180bd0a220d76779443844eefb56a2cfc2bb56946650849981941813/NativeScript/NativeScript/issues/8410 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | erkanarslan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9946c12a4847916f32068429cb2ad536f7d8450fc8b70730d0e9aa7861057db8 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f92f1208f12997e73ccb28d2f389b2adab0c98a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width