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

In-App Safari #38

Closed
robhung opened this issue Sep 5, 2019 · 4 comments
Closed

In-App Safari #38

robhung opened this issue Sep 5, 2019 · 4 comments
Projects

Comments

@robhung
Copy link

robhung commented Sep 5, 2019

Is there a way to differentiate MobileSafari and In-App Mobile Safari?

While they are supposed to be the same browser, In-App Mobile Safari currently doesn't support WebRTC so I'm needing to re-direct users to use the actual Mobile Safari app.

@duskload
Copy link
Owner

duskload commented Sep 5, 2019

Hi @robhung. What is in-app mobile safari? Could you provide both browsers user agents?

@robhung
Copy link
Author

robhung commented Sep 6, 2019

The browser that's used inside other apps, eg. Mail, Facebook, Slack, etc. Similar to this issue. I think the share the same user agents, but the thread I linked in my original post shows they can exhibit different behaviour.

Slack iOS: Mozilla/5.0 (iPhone; CPU iPhone OS 12_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Mobile/15E148 Safari/604.1

Safari iOS: Mozilla/5.0 (iPhone; CPU iPhone OS 12_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Mobile/15E148 Safari/604.1

@duskload duskload added this to To do in rdd Sep 13, 2019
@duskload duskload moved this from To do to Done in rdd Mar 13, 2021
@duskload duskload moved this from Done to Closed in rdd Mar 13, 2021
@StampixSMO
Copy link

@duskload Not sure why this is closed, isSafari() and isMobileSafari() still don't correctly detect WKWebView on iOS (= in-app browser)

@StampixSMO
Copy link

getBrowser().name returns Facebook instead of Mobile Safari

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

No branches or pull requests

3 participants