Fork me on GitHub
#fulcro
<
2023-10-06
>
vaedasynapse06:10:06

I’ve tried it on the simulator for ios as well as on my own iphone and they both seem to be throwing the same error. I didn’t realize there were September updates! I will dive into them at once! Thank you!

vaedasynapse08:10:37

The expo-new branch mobile simulations are now working for me but I’m apparently missing some know how on getting past what I’m guessing are network issues so I can run it on my iphone with my M1 MacBook Air being my dev machine that the server is running on. Also Couldn’t get the native raw to work, kept running into issues with react-native-cli not being able to create the template, claiming that any version, whether latest, or a specific build, lacked some certain file in the template, anyway, wasn’t a fulcro thing. I’m hyped I at least got the simulation running. I can work with that for the time being.

tony.kay14:10:59

So, to work from a real phone you just have to make sure the laptop and phone are on the same network, and that you’re compiling the client code with the IP (local dhcp address) of your server. If that isn’t working for some reason you could always use ngrok on your server to give it a public https address and then for sure your phone should be able to hit it. Beware that Fulcro Inspect uses websockets, and there are some other gotchas there…I never use a hard device. Just use the sim. It’s way easier for development.

👍 1
tony.kay14:10:57

on react-native-cli…that changed recently where you have to use a current version of node (I use nvm to get v18) and UNinstall prior versions before following the current instructions. Worked for me less than 2 weeks ago

vaedasynapse16:10:19

Thank you. I will try it out this evening.