This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-02
Channels
- # admin-announcements (33)
- # announcements (2)
- # beginners (75)
- # boot (340)
- # braid-chat (6)
- # cider (30)
- # cljsrn (44)
- # clojars (19)
- # clojure (169)
- # clojure-austin (12)
- # clojure-czech (1)
- # clojure-japan (6)
- # clojure-miami (1)
- # clojure-poland (7)
- # clojure-russia (83)
- # clojurebridge (4)
- # clojurescript (166)
- # community-development (55)
- # component (2)
- # core-async (39)
- # core-matrix (3)
- # cursive (32)
- # data-science (3)
- # datavis (3)
- # datomic (58)
- # dirac (28)
- # emacs (4)
- # events (7)
- # hoplon (254)
- # immutant (29)
- # jobs (2)
- # jobs-discuss (4)
- # ldnclj (35)
- # lein-figwheel (3)
- # mount (202)
- # off-topic (9)
- # om (123)
- # onyx (22)
- # parinfer (112)
- # proton (11)
- # re-frame (6)
- # reagent (43)
- # ring (3)
- # spacemacs (2)
@pesterhazy: Definitely not ideal, but have you tried just compiling the boot-react-native generated js to a bundle - i.e node node_modules/react-native/local-cli/cli.js bundle --platform ios --dev true --entry-file build/main.js --bundle-output main.jsbundle --verbose
. That works on my PC, but haven't tested the generated bundle.
@mjmeintjes: haven't tried that yet. That would be optimizations :none, right?
hah! I managed to make it work.
got it to work with optimizations :advanced
Cool - what did you change to make it work?
@mjmeintjes: a couple of things, like adding the right externs, use a cljs.edn file
I pushed my changes here: https://github.com/pesterhazy/boot-react-native/tree/feature/dist
will try to put up a PR soon
yohoo, my react-native-externs got used somewhere else but in my project, best day of my life 😄
@artemyarulin: hehe, that's tru! wanted to give you a shout-out anyway
great work on those, really useful
any way to include those using boot dependencies?
nah, thanks. Hope you sort things out in boot-react-native so I can finally move there from lein
nope, don’t know anything about boot, I’m lein guy
yeah, lein or boot, doesn't matter
integrating with cljsjs would be awesome
you mentioned it in the readme?
oh yeah, I though about that and actually started on making PR, but gave up for some reason. For now you can just add a dependency https://clojars.org/react-native-externs
is it possible for the cljs externs to pick up that dependency?
not 100% sure that works, sorry
this is exactly how cljsjs works actually - you have deps.cljs file in the root of your src folder https://github.com/artemyarulin/react-native-externs/blob/master/src/deps.cljs which then got processed by CLJS compiler like it’s described in cljsjs readme https://github.com/cljsjs/packages#using-these-packages
ok I'll try it
I'm on a Windows 10 laptop with 8 gigs of RAM. I need to evaluate various chat clients for Android and iOS. Any recommendations for an emulator to do such a thing? I don't need to do any development, I just need fast response time. I apologize if this is off-topic. I just thought you folks might be using emulators.
don't think you can install stuff from the AppStore in the iOS simulator (it's x86 vs the iPhone's arm)
@pesterhazy: good point
I've got limited experience with Clj and ReactJS, and cljs + rn looks super interesting - but I don't have a mac. I use linux on a old PC. Is there anything I can do to make iOS apps without xcode?
@drobati: Not much - well you can create an application and actually write JS side for your project but without ability to test it’s kinda pointless. You can write an app and target Android at first, later on when you will get an access to mac you can then extend the app with iOS support
Thing you can try is actually download virtual machine with osx
it’s not officially supported and it’s kinda slow but it’s something. This is a way how I started development for iOS 3 years ago...
another hard core way of doing ios development - write JS code locally and then (without any compilation) pass it to CircleCI/TravisCI and build and test there on iOS machines
you can do stuff like http://www.macincloud.com
but hackintoshes may be easier
Or buying a cheap mac mini off ebay/apple refurb
RN works for more than just iOS
@mj_langford: I guess I'll try and consume as much as I can for your talk next week.