-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Hubs client does not load in WebKit Webviews (Chrome/Slack on iOS) #181
Comments
How do you get the client to open up in this webview? Links always open up in Firefox for me. |
Hmm, I still can't reproduce this on Android or iOS. They both open in a browser for me. |
Ok, there's a setting in Slack to set what browser to use when opening links. Mine was set to Safari on iOS and Firefox on Android. I don't think there is any way to bust out of the webview on iOS. On Android this works:
Should we do this hack on Android or just try to show a message to open the page in Safari/Chrome/Firefox if we detect that they are in a webview? |
Removing this from the MVP as we haven't found a clean way to do this. |
I encounter this same issue using Chrome for iOS too. Investigating a solution here. |
I think we settled on showing a message at least, unless there is a proper solution. |
having not personally Remote Debugged it yet, what have you determined the errors/issues are? any Console/Sentry errors? |
I think Robert did the debugging, but the main issue was lack of access to getUserMedia, IIRC |
wow, several hours later, and I still cannot figure out how to remotely debug iOS from my macOS with anything other than Safari: any WebKit webview (i.e., those used in Chrome, Slack, etc.). I've tried the following with zero success:
and it's unclear from RemoteDebug.org what's going on either. long story short: remotely debugging web pages in Safari is easy. debugging pages in Chrome for iOS/any other app with a webview: IDK! if you know, please send help! 👍 |
@robertlong I've been hearing some people encounter the same issue now in the stock, vanilla Safari for iOS browser. can you provide any info on what you've discovered so far? |
btw, I figured out this fails at this spot because additionally, and unfortunately, to my knowledge (and Stack Overflow's), there is no way to open Safari from a custom-protocol handler or any other mechanism (e.g., |
we won't be supporting this due to the issues mentioned above, but @InfiniteLee pushed a UX update that will guide the user out of the webview. |
Could also be a problem with Android Slack? We'll have to detect and bust out of the webview into Safari.
The text was updated successfully, but these errors were encountered: