Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Add more flexibility to open links in other browsers, e.g. FF Mobile #662

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

m8nmueller
Copy link

This PR adds two app settings - httpHttpsBaseURL and httpHttpsQueryParam. With their help, browsers like Firefox can be supported. If httpHttpsBaseURL is present and httpLinkScheme/httpsLinkScheme doesn't have its default value, the URL is constructed as follows: httpHttpsBaseURL?httpHttpsQueryParam=url.

An example would be FF with httpHttpsBaseURL=firefox://open-url and httpHttpsQueryParam=url. The escaping is handled by NSURLComponents as setQueryItems is used.

Shall I add some predefined settings for applications to use (such as FF, Chrome, etc.)?

Closes #661
Signed-off-by: Maximilian Müller [email protected]

@m8nmueller
Copy link
Author

What is wrong with this PR? Should I do something so that it can be merged?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The http(s)LinkScheme setting is too simplistic
1 participant