Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit d7184eb

Browse files
Merge pull request #1400 from carlosdelfino/master
Adding information regarding access rules.
2 parents 9942fe5 + 0a65f8a commit d7184eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/DATABASE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,12 @@ Removes values in multiple locations
256256
```
257257

258258
### addChildEventListener
259+
259260
To listen for changes in your database you can pass in a listener callback function.
260261
You get to control which path inside you database you want to listen to, by default it's `/` which is the entire database.
261262

263+
If you have defined access rules that depend on authentication, add listeners after authentication, attempting to access data not authorized by the access rules will prevent your listener from working properly, even if you add them at first. listing some data as just added, which seems to be a bug in Firebase's access rules system.
264+
262265
The plugin will take care of serializing native data structures to JSON data.
263266

264267
```js

0 commit comments

Comments
 (0)