Skip to content

Add INTERNET and ACCESS_NETWORK_STATE to database permissions. #19

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

Merged
merged 2 commits into from
Sep 17, 2018

Conversation

mikelehen
Copy link
Contributor

I'm not sure what changed so that now this is necessary, but I assume this change will resolve #18. That said I haven't explicitly validated this as I'm not sure how.

cc/ @samtstern

@samtstern
Copy link
Contributor

@mikelehen this will work, but I remember @schmidt-sebastian doing this exact same thing a few months ago. Starting to wonder if the import of code into this repo may have been slightly outdated?

I have also seen two reports of NPEs just from calling FirebaseDatabase.getReference() which is concerning (on 16.0.2).

@schmidt-sebastian
Copy link
Contributor

FYI: I added these permission to the no longer existing firebase-database-connection package. We never copied them over to the main package when we removed this dependency.

@mikelehen
Copy link
Contributor Author

/test connected-check

@mikelehen mikelehen merged commit c03caf7 into master Sep 17, 2018
@mikelehen mikelehen deleted the mikelehen/database-internet-permission branch September 17, 2018 19:12
@firebase firebase locked and limited conversation to collaborators Oct 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

firebase-database version 16.0.2 lacks INTERNET permission
5 participants