This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-14
Channels
- # aleph (1)
- # announcements (1)
- # beginners (59)
- # boot (2)
- # calva (5)
- # cider (8)
- # clj-kondo (6)
- # cljdoc (5)
- # cljsrn (11)
- # clojure (123)
- # clojure-dusseldorf (1)
- # clojure-europe (4)
- # clojure-italy (22)
- # clojure-losangeles (4)
- # clojure-nl (10)
- # clojure-spec (18)
- # clojure-uk (22)
- # clojurescript (103)
- # cursive (32)
- # data-science (1)
- # datomic (21)
- # events (2)
- # figwheel (1)
- # fulcro (12)
- # graalvm (3)
- # graphql (8)
- # jobs (2)
- # kaocha (4)
- # klipse (2)
- # lein-figwheel (4)
- # leiningen (23)
- # off-topic (11)
- # planck (11)
- # re-frame (8)
- # reagent (2)
- # reitit (3)
- # rewrite-clj (1)
- # ring (1)
- # ring-swagger (31)
- # schema (2)
- # shadow-cljs (66)
- # spacemacs (3)
- # specter (16)
- # sql (9)
- # tools-deps (16)
- # vim (26)
also I'm constructing a blob object so that I can send it in the multipart-form version of https://github.com/r0man/cljs-http
Hi @thheller Simple question : Can I test Shadow-cljs demo project after git clone Shadow-cljs ? Like shadow-cljs/src/dev/demo/rn.cljs ?
I do shadow-cljs watch test-rn and after that can I Iaunch on emulator with react-native run-android
or I must create a new project and demo files are just examples ?
OK, so problem seems to be resolved by simply using hte base64 string to create the blob instead of decoding it into an ArrayBuffer.
now the issue is receiving a status of "0" and success false in the front end after a multipart-params request with the blob and jetty debug shows "org.eclipse.jetty.server.HttpConnection$SendCallback@701c17be[PROCESSING][i=ResponseInfo{HTTP/1.1 200 null,-1,false},"....I'm accessing the local server at http://10.0.2.2:3000 from the android emulator and have the security flags disabled for ring-defaults
sending just a non blob param in the multipart-params returns status code 200 and success true but once the blob is included status is 0
@admin055 these projects are intended as examples https://github.com/thheller/reagent-react-native https://github.com/thheller/reagent-expo
that currently generates its output to out/TestCRNA
which I have not checked into git
@thheller OK nice, I see. Thx !