From e0653900050e6d38c49d25b9ebe4f4f17c9dae49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Gon=C3=A7alves=20Marchi?= Date: Thu, 28 Nov 2024 18:53:39 -0300 Subject: [PATCH 1/2] chore(docs): add live reload instructions for mobile development (#898) --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index dd0601b20..452a12fcb 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,24 @@ npm run dev `npx cap open ios` +### Live Reload for Mobile Development + +1. Update the port to 3000 in the `vite.config.js` file, as Capacitor commands require this port. + +2. Build the mobile app for Android or iOS with live reload enabled by running: + +``` +npx cap run android -l --external +``` + +or + +``` +npx cap run ios -l --external +``` + +3. Select your device in the terminal and wait for the app to build. + ## Contributing All contributions are welcome! Please keep in mind we're still a relatively small team, and any work done to ensure contributions don't cause bugs or issues in the application is much appreciated. From 986934fe601dd10e7fd972e8baea078cb487ed46 Mon Sep 17 00:00:00 2001 From: Darius Clark Date: Sat, 30 Nov 2024 05:32:29 -0600 Subject: [PATCH 2/2] chore: (relay) update relays.ts (#901) --- src/lib/state/wasm/relays.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/state/wasm/relays.ts b/src/lib/state/wasm/relays.ts index a7c5418c1..4728eea6f 100644 --- a/src/lib/state/wasm/relays.ts +++ b/src/lib/state/wasm/relays.ts @@ -15,7 +15,7 @@ class Store { this.state = createPersistentState("uplink.wasm.relays", { // Default Relay addresses taken from warp RelayClient "Default US_NYC-1": { - address: "/dns4/nyc-3-dev.relay.satellite.im/tcp/4410/wss/p2p/12D3KooWKmRupXFyBqJtm6FAySPe6Krmi6v5i6SsQ96NMZ9J4Nns", + address: "/dns4/nyc-3-dev.relay.satellite.im/tcp/4410/wss/p2p/12D3KooWJWw4KG2KKpUxQAc8kZZDqmownRvjWGxnr5Y6XRur8WSx", active: true, default: true, },