Write to realtime databases

Can someone please show me exactly what blocks are needed to write to the realtime database? Random blocks and dummy fields are enough to understand how the structure should be so I can replicate it. I’ve been trying for weeks and weeks but I don’t understand everything I’m doing. When I go to the realtime console, nothing appears, no fields, no nodes. I also asked chatpt for help but it doesn’t solve the problem. Can someone please help me? I need the blocks for real secure rules, not open rules. These are the rules I’m using. Maybe they’re wrong? Every time I open the package, the error message “Firebase error permission denied” comes up too. {
“rules”: {
“users”: {
“$uid”: {
“.read”: “auth != null && auth.uid === $uid”,
“.write”: “auth != null && auth.uid === $uid”
}
}
}
}

These are my rules. Please help me. I’d appreciate it if I finally figured out how to write to realtime by showing me the blocks. Thanks

Hi dear,

Unfortunately the native Firebase component only accepts open rules (the auth token is not passed in the requests),
to use other rules you need to use the Web component or an extension that supports them.

I always recommend everyone to use this wonderful guide by Tim that explains perfectly how to do it.

If you have any problems, feel free to ask.

but it really doesn’t work with safe rules?? and what’s the point of kodular then huh

No :confused:

Kodular offers a convenient and native way to implement Firebase, but for now it works like this, I’m sure that one day it will be implemented with all the features.
In any case, I think it’s useful to learn how to use it through the Web component because it offers many interesting insights and could also be useful for other projects.