acquired a Pixel 4 - Android dev REPL not working but it should be easier now for me to get to bottom of it. So far having a great experience on iOS, and decent one on Android simulator
Woohoo! I will finally have the chance to test Krell completely! So frustrated from day one π
I was able to connect a Krell REPL to my Pixel 4, it's a bit slow to discover ~3-20 seconds, but once connected it's very fast
if you want to try master make sure you blow away .cpcache
in your experiment project
@dnolen FYI always no success for me with master.
Try on Pixel 3 emulator and Redmi Note 7 real device.
When I saw that we must delete .cpcache
, I said to myself that that was it, but unfortunately it didn't change anything.
@admin055 sorry - won't be able to help you specifically w/ the current iteration since there's not a clear path to repro. I'm looking at alternatives to the mDNS lib - and likely a second method of connecting.
@dnolen Yes I understand thank you. If this behaviour seems specific for my config/workstation, I'll try to get to bottom of it and let you know if I succed.
Are you able to connect your device with any other React native, say a plain JS one, without ClojureScript? Is your USB cable able to handle the connection to the physical device outside Krell?
@dotemacs Thank you for looking into the matter. Yes for both questions. I do regulary development in plain React Native on emulator and real devices in plain RN JS and CLJS (Re-natal, Shadow-CLJS,...) too.
I seeβ¦ I was hoping that it might not be a Krell specific thingβ¦
@dnolen It progress! I can now see the REPL prompt and my device. Now that stop at the connecting step...
The port forwarding seems to be OK
that's a bit strange since if you can't connect it should just crash
:thinking_face:...I continue to debug.
we'll get there ! π
After numerous tries, I reboot my phone, uncheck and check USB debugging conf and now I.T. W.O.R.K.S ! π And I can say Krell is awesome ! Thx for the work @dnolen!
@admin055 well not awesome yet - but it's getting there π
I pushed a bit of a hack for Android - it's much more reliable - occasionally REPL isn't discovered
but more often you see discovery in a couple of seconds now
yes it's fast since it works.