Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"protonvpn://" protocol Docs #15

Open
3 tasks done
lafkpages opened this issue Jan 21, 2023 · 1 comment
Open
3 tasks done

"protonvpn://" protocol Docs #15

lafkpages opened this issue Jan 21, 2023 · 1 comment

Comments

@lafkpages
Copy link

We are happy to answer your questions about the code or discuss technical ideas.

Please complete the following checklist (by adding [x]):

  • I have searched open and closed issues for duplicates
  • This isn't a feature request
  • This is not a report about my app not working as expected

I have found that the app registers a protocol handler for protonvpn://. I was wondering if this supports any specific URL patterns to perform different actions in the app, and I have searched for documentation but haven't found any.

So does anyone know if this protocol supports any links for connecting, disconnecting, opening settings, etc?

@midnight-madman
Copy link

I've found https://github.com/ProtonVPN/ios-mac-app/blob/13dd8c218724837bca0dea6b2f54f2b4c7c55963/apps/macos/ProtonVPN/Scenes/Common/Services/InAppLinkManager.swift in the code.

As far as I understand it only allows the path: protonvpn://settings/connection which didn't work for me. Any other path e.g. protonvpn://test didn't show an error or any response from the app.

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

No branches or pull requests

2 participants