google / google-authenticator

Open source version of Google Authenticator (except the Android app)
Apache License 2.0
5.17k stars 966 forks source link

Different behaviour between iOS and Android when opening otpauth:// urlscheme #711

Closed rvcarlig closed 3 years ago

rvcarlig commented 3 years ago

Please check which version of the app your bug applies to below.

Describe the bug I have an iOS and Android app in which I am using the otpauth url scheme. If the Google authenticator app is installed on the phone, then the urlscheme behaves the same on both iOS and Android: it opens the authenticator app. On the other hand, if the Google authenticator app is not installed:

To Reproduce Steps to reproduce the behavior:

  1. Open the urlscheme on iOS while the Google Authenticator is not installed ( you can just paste otpauth://totp/ in Notes and see that nothing happens if you click on the link)

Expected behavior If the application is not installed, then the user should be redirected to the AppStore so that he could download it.

ThomasHabets commented 3 years ago

Interesting. But it sounds like this is a feature request for Apple's iOS, right?

I don't know that there's anything this project, the Google Authenticator team for the closed source app, or even Google can do to fix this. I think only Apple can fix this.