[Feature] Add method to sideload apps when DNS server is not reachable

Open
#576 17 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
32/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
ios, swift
Domain
mobile, mobile-dev

Research direction

The issue describes sideloading failing when DNS cannot resolve backloop.dev (offline or rebinding-protected resolvers). Find where the local server hostname is chosen and how certificates are installed today. Add a user-facing option to use localhost instead, including the extra system certificate that requires. Done means apps can be sideloaded with no network and with providers that block localhost rebinding.

Written by the indexing model from the issue text.

Description

enhancement
Request

Currently if the DNS server is not reachable (e.g. no Wi-Fi/cellular reception) Feather fails entirely to sideload apps. The reason is that it uses backloop.dev for the local server, which cannot be resolved if the phone is offline.

Another issue are that some DNS providers have localhost rebinding protection which prevents domains from pointing to localhost IPs i.e. backloop.dev doesn’t work. AFAIK AdGuard, Quad9, and NextDNS do that by default.

In order to fix this, Feather could have an option to use localhost directly instead of backloop.dev. Compared to something like backloop.dev it would require to install a certificate on the system, but the upside is that it could work offline entirely.

Would it be possible to add such a sideloading method to Feather? Thank you!

Request Agreement
  • I have read the requirements for opening an issue above
Contributor Checks
  • I am willing to attempt to make a pull request with these requested features
Dominant language
Swift
Stars
4.8k
Forks
430
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from claration/feather

All issues in claration/feather

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.