使用Firebase电子邮件链接身份验证时,跳过“在应用程序中打开链接”页面

时间:2020-05-25 15:32:49

标签: ios swift firebase firebase-authentication interstitial

使用Firebase电子邮件链接身份验证(无密码)时是否可以跳过以下插页式广告?当前,无论是否已安装该应用程序,都会显示此页面。我希望跳过它并直接打开应用程序(如果已安装),否则将重定向到App Store页面。

enter image description here

这是我当前正在使用的代码:

let actionCodeSettings = ActionCodeSettings()
actionCodeSettings.url = URL(string: linkToAppStorePage)!
actionCodeSettings.handleCodeInApp = true
actionCodeSettings.setIOSBundleID(Bundle.main.bundleIdentifier!)
Auth.auth().sendSignInLink(toEmail: email, actionCodeSettings: actionCodeSettings) { error in
  ...
}

0 个答案:

没有答案