Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase App has not yet initialized. #7

Open
dodomui opened this issue Aug 14, 2020 · 1 comment
Open

Firebase App has not yet initialized. #7

dodomui opened this issue Aug 14, 2020 · 1 comment

Comments

@dodomui
Copy link

dodomui commented Aug 14, 2020

Describe the bug
Error message received:
`Firebase App has not yet initialized.

(anonymous) @ instrument.js:108
  (anonymous) @
  fulfilled @
  invoke @
  run @
  (anonymous) @
  invokeTask @
  runTask @
  drainMicroTaskQueue @
  invokeTask @
  invokeTask @
  globalZoneAwareCallback @
  load (async)  
  customScheduleGlobal @
  scheduleTask @
  scheduleTask @
  scheduleEventTask @
  (anonymous) @
  (anonymous) @
  (anonymous) @
  desc.set @
  (anonymous) @
  (anonymous) @
  ZoneAwarePromise @
  loadScripts @
  (anonymous) @
  (anonymous) @
  ZoneAwarePromise @
  push../node_modules/@capacitor-community/firebase-remote-config/dist/esm/web.js.__awaiter @
  configure @
  FirebaseRemoteConfigWeb @
  ./node_modules/@capacitor-community/firebase-remote-config/dist/esm/web.js @
  webpack_require @
  ./node_modules/@capacitor-community/firebase-remote-config/dist/esm/index.js @
  webpack_require @
  ./src/app/services/general/config.service.ts @
  webpack_require @
  ./src/app/services/event/event-list.service.ts @
  webpack_require @
  ./src/app/services/user/user.service.ts @
  webpack_require @
  ./src/app/app.component.ts @
  webpack_require @
  ./src/app/app.module.ts @
  webpack_require @
  ./src/main.ts @
  webpack_require @
  0 @
  webpack_require @
  checkDeferredModules @
  webpackJsonpCallback @
  (anonymous)

`

To Reproduce
Will see this error as long as I import the plugin.
import '@capacitor-community/firebase-remote-config'; import { Plugins } from '@capacitor/core'; const { FirebaseRemoteConfig } = Plugins;

Additional context
"@capacitor-community/firebase-remote-config": "^0.1.3",

Ionic:

Ionic CLI : 6.11.0
Ionic Framework : @ionic/angular 5.2.2
@angular-devkit/build-angular : 0.901.9
@angular-devkit/schematics : 9.1.9
@angular/cli : 9.1.9
@ionic/angular-toolkit : 2.2.0

Capacitor:

Capacitor CLI : 2.2.0
@capacitor/core : 2.4.0

Utility:

cordova-res : 0.15.1
native-run : 1.0.0

System:

NodeJS : v12.16.1
npm : 6.14.7
OS : macOS Catalina

@mic345
Copy link

mic345 commented Dec 2, 2020

Hi dodomui,

Comparing FirebaseRemoteConfigWeb.configure() and FirebaseAnalyticsWeb.configure() I wonder if the message should be printed at all.

Thanks,
mic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants