Can't Sign up with firebase

前端 未结 8 1929
天命终不由人
天命终不由人 2020-12-16 05:07

I am trying to create a sign up form with firebase and login as well, I have tried so many things but it won\'t work. I keep getting this error when I click the signup butto

8条回答
  •  星月不相逢
    2020-12-16 05:56

    If you are using Cordova (which I am not sure if you are or not, but some answers imply that you may be), including the cordova-plugin-network-information corrected this issue for me. I confirmed that the 'navigator.onLine' was occasionally 'false', which I believe was causing Firebase to think there was an issue. Once I added the cordova-plugin-network-information to my project, the problem went away. I didn't dig deep into why, but I suspect this plugin has a better wrapper around the navigator which may be giving Firebase better information. I did confirm this problem came back after removing the plugin, but re-applying it fixes it. I will update this if I dig deeper. I hope this helps.

提交回复
热议问题