This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-07
Channels
- # bangalore-clj (1)
- # beginners (255)
- # boot (29)
- # cider (16)
- # cljs-dev (13)
- # cljsrn (6)
- # clojure (200)
- # clojure-berlin (1)
- # clojure-dev (13)
- # clojure-dusseldorf (6)
- # clojure-greece (1)
- # clojure-india (1)
- # clojure-italy (1)
- # clojure-russia (33)
- # clojure-spec (28)
- # clojure-uk (27)
- # clojurescript (47)
- # cursive (32)
- # data-science (3)
- # datascript (1)
- # datomic (40)
- # emacs (39)
- # events (4)
- # fulcro (55)
- # graphql (16)
- # immutant (2)
- # luminus (2)
- # lumo (5)
- # off-topic (142)
- # onyx (50)
- # portkey (1)
- # re-frame (45)
- # reagent (80)
- # remote-jobs (2)
- # ring-swagger (3)
- # rum (9)
- # schema (3)
- # shadow-cljs (184)
- # spacemacs (3)
- # test-check (4)
- # unrepl (2)
- # yada (5)
As far as I know, javascript thread doesn't run in the background, so JS / CLJS can't be used for background tasks
I remember there were some hacks around it (not sure how successful), but in general people do background stuff natively
@rowanharg I have an implementation of background timers for Android (It’s not as simple as setTimeout
though): https://github.com/vikeri/react-native-background-job
@vikeri thanks! It looks great. I actually just found it earlier, and bumped the issue on RN Feature request site. I'll have a shot with it. 👍
@rowanharg Thanks! Good luck!
@wojciech - thanks for the info. Did anyone try this? https://www.npmjs.com/package/react-native-background-task Looks similar but uses react-native-background-fetch for ios.