Skip to main content

All Questions

0 votes
0 answers
27 views

RecyclerView not displaying data from firestore

Hi so I'm trying to retrieve data from my firestore and display it to a recyclerview, but I only get the listview without the actual data. Someone pleasee tell me what's wrong. Here's my adapter "...
JMuthoki's user avatar
0 votes
2 answers
45 views

Firebase permission denied when attempting to load only records tagged as "public"

My rules look like this: { "rules": { "userShaders": { "$uid": { "shaders": { ".write": "auth.uid === $uid", ...
max pleaner's user avatar
  • 26.8k
1 vote
1 answer
174 views

403 error on downloadUrl (Kotlin) in Firebase Storage

Getting this error: E/StorageUtil: error getting token java.util.concurrent.ExecutionException: com.google.firebase.internal.api.FirebaseNoSignedInUserException: Please sign in before trying to get a ...
stroopwafel's user avatar
1 vote
1 answer
61 views

Firebase delete document, always throw PERMISION_DENIED

I´m implementing Firebase authentication in my android project, Using the example repo of @AlexMamo https://github.com/alexmamo/FirebaseSignInWithGoogle when an user is already signed in, and is ...
Olegario López's user avatar
1 vote
0 answers
239 views

User does not have permission to access this object: Firebase error

I have an app in which the user can upload images to create a task list. But, whenever I upload the image and say "create", the onFailureListener is called and "User does not have ...
Aks K's user avatar
  • 11
1 vote
1 answer
54 views

Is it secure to set the visibility of a button Gone?

I am developing an app which has different user types (User and Admin) and privileges based on their custom claims in Firebase Realtime DB. I want a button to be visible only if the user is admin. ...
fizgi's user avatar
  • 48
1 vote
1 answer
399 views

Realtime database not getting data pushed into firebase

I'm using realtime database to save user info but the problem is that it is not working at all , meanwhile storage and cloud firestore work properly , tried changing rules , tried different methods ...
Taki's user avatar
  • 3,730
2 votes
1 answer
4k views

Firebase: No matching allow statements

I am trying to create a subcollection inside my users collection right after my user has been logged in. After the creation, a document should be created inside this new subcollection ("...
Andrew's user avatar
  • 4,752
-1 votes
1 answer
243 views

How can I restrict users to retrieve only their data from Cloud Firestore?

I'm building an app with Kotlin. In the app, the user can sign up and log in. After the user log in, the user adds some text and pictures, and these data is successfully added to the firebase cloud ...
ikapp's user avatar
  • 1
0 votes
1 answer
810 views

Android: how autenticate to Firestore with signInWithCustomToken and listen/observe a document changes from a specific collection

I know how autenticate with signInWithCustomToken but I don't know how to listen/observe document changes in Android. I know how to do it in Angular so I will paste bellow just to exemplify. If I ...
Jim C's user avatar
  • 4,405
0 votes
1 answer
37 views

What happens when I change firebase rules to this:

{ "rules": { ".read": false, ".write": true } } I need to know if since the user can write code and add data to my database, can the user also take data from my database, delete data, or ...
gaqagaming's user avatar
4 votes
3 answers
2k views

Firestore Blocked users rule

I've been searching for an answer for this for a time now, Simply I have an Android app, this app allows users to write or read to/from the database which is Firestore I have a collection named ...
Bon Echo's user avatar
2 votes
0 answers
82 views

Writing to Firebase using user data validation (Kotlin)

I have the following Rule set in my Firebase Realtime DB: "rules": { ".read": false, ".write": false, "userData": { "$uid": { ".read": "$uid === auth.uid", ...
Mr T's user avatar
  • 1,000
0 votes
3 answers
2k views

How to check if user with the email entered by user on the login form exists or not in firebase

It's my first time I am working with firestore db. So I have this User class in my app: data class User( val name: String, val email: String, val standard: String, val formNum: String,...
Shivam Jha's user avatar
2 votes
1 answer
685 views

How to write security rules for firebase firestore when request data and in case where we have not used firebase authentication?

I have used Firebase Firestore for database storage. I had a scenario in which i need to manage users login and logout using phone number and OTP. and as Firebase authentication manages authentication ...
Karsh Soni's user avatar

15 30 50 per page