即使启用了后台模式和推送通知,Firebase电话身份验证也会在iOS上弹出reCAPTCHA验证窗口 [英] Firebase Phone Authentication pops up a reCAPTCHA verification window on iOS even if Background Modes and Push Notifications are enabled
问题描述
我在iOS上使用Firebase实现了电话身份验证.身份验证有效.但是,在iOS上,会弹出一个reCAPTCHA窗口.我试图通过启用后台模式和推送通知来启用静默通知.它正在跳过reCAPTCHA测试,但仍会弹出带有加载栏的空白页面,以自动进行验证.我还缺少额外的步骤吗?另外,我是XCode的新手,所以我可能缺少配置步骤(例如,我没有在背景模式"下拉菜单中单击任何复选框).
I implemented Phone Authentication with Firebase on iOS. Authentication works. However, on iOS, a reCAPTCHA window pops up. I tried to enable Silent Notifications by enabling Background Modes and Push Notifications. It is skipping the reCAPTCHA test but it still pops up a blank page with a loading bar to do the verification automatically. Is there an extra step that I'm missing? Also, I'm new to XCode so I might be missing a configuration step (for example I didn't click any checkboxes on the Background Modes dropdown).
您对我可能会想念的东西有什么建议吗?
Do you have any suggestions on what I could be missing?
推荐答案
我找到了解决方案.仅启用背景模式"功能是不够的.在背景模式"中,您必须单击远程通知"复选框.
I found the solution. Enabling "Background Modes" capability is not enough. Inside of the "Background Modes", you have to click "Remote Notifictions" checkbox.
我在文档中看不到.
这篇关于即使启用了后台模式和推送通知,Firebase电话身份验证也会在iOS上弹出reCAPTCHA验证窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!