Using Firebase with Electron

后端 未结 4 712
生来不讨喜
生来不讨喜 2020-12-28 08:44

I\'m trying to use Firebase with Electron. When installing it just like I would on a web page it doesn\'t work because Electron pages are hosted locally and don\'t have a

4条回答
  •  悲哀的现实
    2020-12-28 09:19

    For now, you can suppress this error by removing the authDomain line from your config. authDomain is needed for the Auth signInWithPopup/signInWithRedirect operations, but everything else should work.

    A version of the library that throws that error only when you actually try to do a signInWithPopup/Redirect is in the works.

提交回复
热议问题