start_mycelium_no_tun missing in mobile #11

Closed
opened 2026-02-11 10:12:57 +00:00 by zaelgohary · 0 comments
Member

Location: mobile/src/lib.rs

Problem: mycelmob calls mobile::start_mycelium_no_tun(peers, secret_key, enable_dns) but mobile crate only has start_mycelium. The function does not exist.

Impact: macOS/iOS no-tun mode (where DNS runs in main app) fails to compile or fails at runtime.

Fix: Add start_mycelium_no_tun to mobile that creates Config with no_tun: true, tun_fd: None, and runs the same command loop as start_mycelium.

**Location**: `mobile/src/lib.rs` **Problem**: mycelmob calls `mobile::start_mycelium_no_tun(peers, secret_key, enable_dns)` but mobile crate only has `start_mycelium`. The function does not exist. **Impact**: macOS/iOS no-tun mode (where DNS runs in main app) fails to compile or fails at runtime. **Fix**: Add `start_mycelium_no_tun` to mobile that creates Config with `no_tun: true`, `tun_fd: None`, and runs the same command loop as `start_mycelium`.
Sign in to join this conversation.
No labels
Urgent
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
geomind_code/mycelium_network#11
No description provided.