Flutter: Firebase database exception on permission denied

Created on 15 Nov 2017  路  3Comments  路  Source: flutter/flutter

Steps to Reproduce

In Firebase when I access a path where I don't have sufficient permissions,
I get

[  +43 ms] W/RepoOperation(10726): setValue at /test_db/joinRequestCreate/hFWyZYmtgocsWs69TnpHXuEbBRv1/-Kyz7h7zFCbqxZKNrdOD failed: DatabaseError: Permission denied

as log output, but that's easy to miss.

I think there should be a way to get an exception on the client side for permission denied

firebase_database plugin version 0.0.14

firebase firebase_database first party plugin crash transferred

Most helpful comment

Catching crashes and reporting them as errors for this plugin is a reasonable developer expectation.

I'd be happy to review pull requests for this functionality, if anyone has the time.

All 3 comments

cc @collinjackson

Catching crashes and reporting them as errors for this plugin is a reasonable developer expectation.

I'd be happy to review pull requests for this functionality, if anyone has the time.

@zoechi

This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/942. Any further collaboration will be done there.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xster picture xster  路  3Comments

hadjloo picture hadjloo  路  3Comments

ppolasek picture ppolasek  路  3Comments

Hixie picture Hixie  路  3Comments

collinjackson picture collinjackson  路  3Comments