Home › Forums › WPLMS Live › WPLMS Push Notifications › Firebase Database Rules This topic has 1 reply, 1 voice, and was last updated 5 years, 11 months ago by Videoblam. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts December 4, 2018 at 1:30 pm #187359 VideoblamParticipant I'm unable to add the rules to the Firebase database as it comes up with an error: mismatched input '{' expecting {'function', 'service', 'rules_version'} This is what I tried to add: { "rules": { ".read": "auth != null", ".write":"auth != null", "notifications":{ ".indexOn":["status"] }, "users":{ "$uid":{ "chats":{ ".indexOn":["lastUpdated"] } } } } } December 4, 2018 at 8:13 pm #187395 VideoblamParticipant I worked this out. I had to change the database type from Cloud Firestore to Realtime Database. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The topic ‘Firebase Database Rules’ is closed to new replies.