
jmann99999
Hotwire Native for Rails Developers:
@joemasilotti
In Chapter 1, Initiate the Visit Section, it says:
let baseURL = URL(string: “http://localhost:3000”)!
This doesn’t work once you want to test on a physical device. Somewhere (maybe not here), you may want to offer that they need to find the address of their computer’s webserver and enter that (i.e., 192.168.1.123:3000).
I realize this will likely be talked about in Production Deployment but I think people probably want to play on their own device (connected to Dev) for the fun of it.
Marked As Solved

joemasilotti
That’s correct! Thanks for calling it out, @jmann99999.
Chapter 10, Deploy to Physical Devices with TestFlight and Internal Testing, will cover how to set up local and mobile environments to run the app on physical devices.
A little hint: I’ve been using ngrok to tunnel through the internet to my local machine. But I’m also exploring Internet Sharing on macOS to achieve the same, for free.
Popular Prag Prog topics










Other popular topics










Latest in PragProg
Latest (all)
Categories:
Popular Portals
- /elixir
- /opensuse
- /rust
- /kotlin
- /ruby
- /erlang
- /python
- /react
- /clojure
- /quarkus
- /go
- /react-native
- /vapor
- /v
- /wasm
- /security
- /django
- /nodejs
- /centos
- /rails
- /haskell
- /fable
- /gleam
- /swift
- /deno
- /js
- /tailwind
- /assemblyscript
- /laravel
- /symfony
- /phoenix
- /crystal
- /typescript
- /debian
- /adonisjs
- /julia
- /arch-linux
- /svelte
- /spring
- /c-plus-plus
- /preact
- /flutter
- /actix
- /java
- /angular
- /ocaml
- /kubuntu
- /zig
- /scala
- /zotonic
- /vim
- /rocky
- /lisp
- /keyboards
- /html
- /emacs
- /nim
- /vuejs
- /elm
- /nerves