Fork me on GitHub
#cljsrn
<
2020-04-22
>
dnolen01:04:19

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

admin05507:04:33

Woohoo! I will finally have the chance to test Krell completely! So frustrated from day one πŸ™‚

dnolen15:04:01

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

dnolen15:04:20

if you want to try master make sure you blow away .cpcache in your experiment project

admin05517:04:36

@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.

dnolen17:04:57

@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.

admin05517:04:28

@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.

dotemacs17:04:26

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?

admin05517:04:32

@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.

dotemacs17:04:35

I see… I was hoping that it might not be a Krell specific thing…

admin05518:04:01

@dnolen It progress! I can now see the REPL prompt and my device. Now that stop at the connecting step...

admin05518:04:34

The port forwarding seems to be OK

dnolen18:04:36

that's a bit strange since if you can't connect it should just crash

admin05519:04:02

πŸ€”...I continue to debug.

admin05519:04:11

we'll get there ! πŸ™‚

admin05519:04:13

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!

dnolen19:04:51

@admin055 well not awesome yet - but it's getting there πŸ™‚

dnolen19:04:23

I pushed a bit of a hack for Android - it's much more reliable - occasionally REPL isn't discovered

dnolen19:04:33

but more often you see discovery in a couple of seconds now

admin05519:04:55

yes it's fast since it works.