我需要为我的本地 Expo/React Native 项目提供一个用于 Firebase 身份验证的授权域

Ris*_*All 7 javascript firebase react-native firebase-authentication expo

我的目标是在用户验证其电子邮件后将其重定向回我的本地 Expo 应用程序。

firebase.auth().sendSignInLinkToEmail(email, 
    {
       url: // need this url to redirect back to my app after the user verifies email
    }
 )
Run Code Online (Sandbox Code Playgroud)

我的 Expo 应用程序正在开发中,在 Android 模拟器 (localhost) 上运行。

我需要为在我的 Android 模拟器上本地运行的 Expo 应用程序制作某种重定向 url/域。我需要能够将此网址/域输入“ Firebase 授权域”,以便在我的代码中使用重定向网址。

下面的“ Firebase 授权域”图片:

在此输入图像描述

我可以为我的 Expo 应用程序生成一个本地 URL,但它的形式为“ expo:// <some ip address >*”,我无法将其添加到授权域中以便将用户路由回我的应用程序。

有什么建议么?先感谢您。