Hi everyone im having a problem with my react native project, and Im getting this error: document is not defined
大家好我的反应原生项目有问题,我得到这个错误:文件没有定义
With my code im trying to use the firebase authentication with a phone number using "signInWithPoneNumber()" and when I add the "recaptchaVerifier()" I get that error.
我的代码即时尝试使用“signInWithPoneNumber()”使用电话号码进行firebase身份验证,当我添加“recaptchaVerifier()”时,我收到了该错误。
Thanks!
1 个解决方案
#1
1
The firebase code is intended to be used in a browser, where the document
is available. The react-native option is the react-native-firebase project, but they still don't support this feature.
firebase代码旨在用于文档可用的浏览器中。 react-native选项是react-native-firebase项目,但它们仍然不支持此功能。
You can track their progress on this issue.
您可以跟踪他们在此问题上的进度。
#1
1
The firebase code is intended to be used in a browser, where the document
is available. The react-native option is the react-native-firebase project, but they still don't support this feature.
firebase代码旨在用于文档可用的浏览器中。 react-native选项是react-native-firebase项目,但它们仍然不支持此功能。
You can track their progress on this issue.
您可以跟踪他们在此问题上的进度。