我正在尝试在 Phonegap 中使用 Firebase 简单登录的“密码”身份验证,但收到此错误:
Web Console(857): FirebaseSimpleLogin(): Due to browser security restrictions,
loading applications via `file://*` URLs will prevent popup-based authentication
providers from working properly. When testing locally, you'll need to run a
barebones webserver on your machine rather than loading your test files via
`file://*`. The easiest way to run a barebones server on your local machine is
to `cd` to the root directory of your code and run `python -m SimpleHTTPServer`,
which will allow you to access your content via `http://127.0.0.1:8000/*`. at
file:///android_asset/www/js/firebase-simple-login.js:74
我们如何解决这个问题?Firebase 管理 GUI 中的 Auth 设置又如何呢?我们如何允许基于 Phonegap 的应用程序访问 Firebase 服务器?