从手机上卸载应用程序后,我的应用程序不会注销当前用户.我不希望用户卸载该应用程序,当他们重新安装时,他们已经登录.
我认为这与其钥匙串访问有关吗?不确定.我想也许我需要在删除应用程序后取消对用户进行身份验证,但无法检查该情况.最接近的是运行该applicationWillTerminate函数,但如果我把FIRAuth.auth()?.signOut()它放在那里,它会在每次应用程序被杀时签署我的用户.我不希望这样.
applicationWillTerminate
FIRAuth.auth()?.signOut()
我该怎么做才能做到这一点?
ios firebase swift firebase-authentication
firebase ×1
firebase-authentication ×1
ios ×1
swift ×1