This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Help] Firebase CRUD using authentication in Xamarin #15064
Unanswered
SwissCheezze
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I have a Xamarin Forms Admin and Client app on which I want to use CRUD to add and delete items
I have been trying to create a wall in my app from the user and admin when it comes to writing in the firebase real-time database. I want to be able to allow authenticated users or with a certain email to update and write data . But even though I authenticate the user I cannot get it to update the data even if its set to
".write": " auth != null" ,
or
"users": {
"$uid": {
".write": "$uid === auth.uid",}}
When I Debug the app when logging in , it notifies idtokenlisteners about the correct UID and allows me to log in but when I use VerifyIDToken it returns null.
I just want to at least be able to allow only authenticated users to update and write.
P.S: Sorry if my explanation is bad. Everything I found at is either deprecated, doesn't work or is exclusive to IOS (I need it for android atm). I can Elaborate more on specific parts of my problem if needed. Everything helps at this point
Beta Was this translation helpful? Give feedback.
All reactions