【问题标题】:What URL should I use with Expo to redirect to a published app?我应该在 Expo 中使用什么 URL 来重定向到已发布的应用程序?
【发布时间】:2026-01-09 23:10:02
【问题描述】:

我正在执行一些 OAuth 身份验证,我需要从 Expo WebBrowser 重定向回我的应用程序。我可以使用开发 URL exp://some-code.name.app-name.exp.direct/+/redirect 来实现,如示例项目https://github.com/expo/auth0-example 所示。但是,我不确定发布的应用程序使用哪个 URL。 https://exp.host/@name/app-name/+/redirectexp://exp.host/@name/app-name/+/redirect 之类的东西还是完全不同的东西?

【问题讨论】:

    标签: redirect expo


    【解决方案1】:

    为什么你不只是使用

     redirectUri = `${Expo.Constants.linkingUri}/redirect`
    

    【讨论】:

      最近更新 更多