Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/118.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在Webview中使用firebase web身份验证或重定向到iOS上的浏览器?_Ios_Webview_Firebase Authentication_Url Scheme_Default Browser - Fatal编程技术网

如何在Webview中使用firebase web身份验证或重定向到iOS上的浏览器?

如何在Webview中使用firebase web身份验证或重定向到iOS上的浏览器?,ios,webview,firebase-authentication,url-scheme,default-browser,Ios,Webview,Firebase Authentication,Url Scheme,Default Browser,使用firebase身份验证允许我的用户在我的React应用程序中使用SNS帐户登录,当网站链接从facebook或Line等应用程序打开时,我很难让应用程序正常工作。Firebase无法打开SNS应用程序(Google、Twitter、Facebook)的弹出窗口 对于android设备,我可以通过使用意向URL和将用户重定向到默认浏览器应用程序来解决这个问题 window.location.assign(`intent:${window.location.href}#Intent;end`)

使用firebase身份验证允许我的用户在我的React应用程序中使用SNS帐户登录,当网站链接从facebook或Line等应用程序打开时,我很难让应用程序正常工作。Firebase无法打开SNS应用程序(Google、Twitter、Facebook)的弹出窗口

对于android设备,我可以通过使用意向URL和将用户重定向到默认浏览器应用程序来解决这个问题

window.location.assign(`intent:${window.location.href}#Intent;end`);
但我在iOS上找不到解决方案。使用
googlechrome://
url方案可能适用于部分用户,但大多数用户使用safari作为默认浏览器,我找不到该应用程序的url方案

方案
x-web-search://
允许从safari浏览器执行google搜索,但我找不到让safari自动打开网站的方法。 我唯一能找到的是:

将www.and.com添加到网站名称,并在当前选项卡中打开它:键入 站点名称+控件+输入

似乎不可能在url中硬编码该功能。Enter键可以url编码为,但我找不到Ctrl的代码。另外,我的网站不是以.com结尾,而是以.club结尾

有没有一种方法可以从url请求iOS设备上的默认浏览器,比如Android intent方案?还是一种让firebase在iOS网络视图中工作的方法