pitr / gemini-ios

Elaho - iOS browser for Gemini protocol
Mozilla Public License 2.0
116 stars 6 forks source link

Support the gemini:// URL scheme #28

Open MarcoZehe opened 3 years ago

MarcoZehe commented 3 years ago

That way, Gemini links would become tapable from other apps and open directly. I know Apple officially doesn't support them any more; but registering them still works AFAIK. Thanks!

pitr commented 3 years ago

The app already does it. There are however two instances where this doesn't work:

  1. If you have another client that registers gemini:// url scheme then it's not very clear to me which one Apple chooses.
  2. Apps that don't actually ask iOS to open the link. Eg gemini;// link works fine in Mobile Safari on pages such as https://drewdevault.com/ but Gmail app for instance does not recognize this extension and email with gemini:// links get converted to http:// links (with gemini:// ignored)

In the second case, what works for me is the following:

  1. Select the link (with or without gemini:// part)
  2. Tap Share.
  3. Choose Elaho.