Title: Make the file-system module run in a background thread [$300] · Issue #2239 · NativeScript/NativeScript · GitHub
Open Graph Title: Make the file-system module run in a background thread [$300] · Issue #2239 · NativeScript/NativeScript
X Title: Make the file-system module run in a background thread [$300] · Issue #2239 · NativeScript/NativeScript
Description: Calling file-sytem -> writeText is freezing the UI of my apps until the write process is complete. Even the ActivityIndicator freezes during that time. This is a big issue when saving big chunks of data which can take between 10 to 60 se...
Open Graph Description: Calling file-sytem -> writeText is freezing the UI of my apps until the write process is complete. Even the ActivityIndicator freezes during that time. This is a big issue when saving big chunks of...
X Description: Calling file-sytem -> writeText is freezing the UI of my apps until the write process is complete. Even the ActivityIndicator freezes during that time. This is a big issue when saving big chunks...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/2239
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make the file-system module run in a background thread [$300]","articleBody":"Calling file-sytem -\u003e writeText is freezing the UI of my apps until the write process is complete. Even the ActivityIndicator freezes during that time.\nThis is a big issue when saving big chunks of data which can take between 10 to 60 seconds to write.\n\nI have tested it on Android with NativeScript 2.0.1\n\nTo solve that it would be great if the write functionality could run in a background thread, just like it is done for the http module.\n\nHere is the scenario where I need to save big chunks of data.\nThe app I am building uses Lokijs for Offline Storage mechanism, where I store 50k records from different tables. When I call save database, the LokiNativeScriptAdapter uses file-system module to save the data to a file, which takes up to 60 seconds.\n\r\n\r\n\u003cbountysource-plugin\u003e\r\n\r\n---\r\nThere is a **[$300 open bounty](https://www.bountysource.com/issues/34832190-make-the-file-system-module-run-in-a-background-thread?utm_campaign=plugin\u0026utm_content=tracker%2F12908224\u0026utm_medium=issues\u0026utm_source=github)** on this issue. Add to the bounty at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin\u0026utm_content=tracker%2F12908224\u0026utm_medium=issues\u0026utm_source=github).\r\n\u003c/bountysource-plugin\u003e","author":{"url":"https://github.com/sebawita","@type":"Person","name":"sebawita"},"datePublished":"2016-06-03T10:40:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/2239/NativeScript/issues/2239"}
| 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:7177abe1-462e-cc85-1542-bc08c55f779a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF36:307653:977061B:C47E1AA:69772823 |
| html-safe-nonce | 853d0536d4a747f657d75c96339f19c3bb636604bba43402199fad79e406fa4c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjM2OjMwNzY1Mzo5NzcwNjFCOkM0N0UxQUE6Njk3NzI4MjMiLCJ2aXNpdG9yX2lkIjoiMjEyNjYwMDcxODY1NzIyOTE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4872c56c30f1626a68de777a77917d2d27c18df14b7af0b89eec90809a966335 |
| hovercard-subject-tag | issue:158339709 |
| 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/2239/issue_layout |
| twitter:image | https://opengraph.githubassets.com/25d0ed6990b1facf07938ea0c1ff69131eb200dbb15b97f78a415f6ccd506d2f/NativeScript/NativeScript/issues/2239 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/25d0ed6990b1facf07938ea0c1ff69131eb200dbb15b97f78a415f6ccd506d2f/NativeScript/NativeScript/issues/2239 |
| og:image:alt | Calling file-sytem -> writeText is freezing the UI of my apps until the write process is complete. Even the ActivityIndicator freezes during that time. This is a big issue when saving big chunks of... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sebawita |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| 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 | f752335dbbea672610081196a1998e39aec5e14b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width