I am trying to setup default GeoFire Rules on Firebase. When I turn on the rules below on the "geo" key I am getting "Permission Denied" in Xcode (SwiftUI). But other areas in firebase are getting written to. It's just geoFire that is getting denied. I want any Authed user to read/write to the entire firebase.
I am trying to setup default GeoFire Rules on Firebase. When I turn on the rules below on the "geo" key I am getting "Permission Denied" in Xcode (SwiftUI). But other areas in firebase are getting written to. It's just geoFire that is getting denied. I want any Authed user to read/write to the entire firebase.
The "key" is an firebase random Key generator.
let firebaseStoreRef = storeRef.childByAutoId()
This link is where I am getting the default GeoFire rules (https://github.com/firebase/geofire-js/blob/master/examples/securityRules/authenticated.rules.json)
Here is my JASON structure when I turned off the rules or set the rules to just auth.
Here are the rules that I set up in firebase. And yes, the user is authed, and I am able to write to other areas of the firebase just fine.
If I comment out the following areas I am able to write to the "geo" part of the firebase...
Thanks in advance.