Skip to content

Firebase database 5.5.1 fails to init in Android 4.4.4 #1243

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

Closed
shonek007 opened this issue Sep 24, 2018 · 2 comments
Closed

Firebase database 5.5.1 fails to init in Android 4.4.4 #1243

shonek007 opened this issue Sep 24, 2018 · 2 comments
Assignees

Comments

@shonek007
Copy link

[REQUIRED] Describe your environment

  • Operating System version: Android 4.4.4
  • Browser version: Default webview for Android 4.4.4 stock
  • Firebase SDK version: 5.5.1
  • Firebase Product: database

[REQUIRED] Describe the problem

Steps to reproduce:

Simply add firebase database version 5.5.1 to a webview project (Cordova/Phonegap) and firebase will fail to initialize throwing the following error:

Uncaught SyntaxError: In strict mode code, functions can only be declared at top level or immediately within another function. firebase-database.js:1
Uncaught TypeError: Object [object Object] has no method 'database' firebase.js:14

This does not happen in the previous version that I was using, version 4.6.2 of firebase. The version 4.6.2 works completely fine in Android 4.4.4

@mikelehen
Copy link
Contributor

@Feiyang1 Is this the thing you just fixed?

@Feiyang1
Copy link
Member

@mikelehen yep. This is the same issue as #931. It will be addressed by this week's release.

@firebase firebase locked and limited conversation to collaborators Oct 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants