Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. Both of these steps are under the database section of Firebase console
  2.  
  3. NOTE: I still can't get the preview to work (show the data from Firebase)
  4. but this resolved some data permissions issues I had in the console
  5.  
  6. 1. Insert a node under your main node in the database with the name of 'todos'
  7. and the following as the value
  8.  
  9. {'items': {1: {'title': 'finished todo', 'finished': true}, 2: {'title': 'unfinished todo', 'finished': false} }
  10.  
  11.  
  12. 2. Rules tab: change the auth rules to the following - then publish changes.
  13.  
  14. {
  15. "rules": {
  16. ".read": true,
  17. ".write": false
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement