Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
54 views

I'm working on an Android app where users can add and remove restaurants from their favourites via the RestaurantPage activity. When I access the RestaurantPage activity from the UserFavourites ...
999's user avatar
  • 21
0 votes
1 answer
249 views

I have a simple Micronaut application with controller as below import com.google.api.core.ApiFuture; import com.google.auth.oauth2.GoogleCredentials; import com.google.cloud.firestore.*; import io....
San Jaisy's user avatar
  • 17.4k
0 votes
0 answers
43 views

I am using FCM Notifications in my app and I want to Open an Activity named ManageSalesMainActivity which is Not a Launcher Activity and want to pass string using pending intent. It is working fine ...
Bhanu Prakash Guptha's user avatar
0 votes
1 answer
56 views

I'm making a Java application which will connect to a Firestore db on GCP to do some data read and write, it all worked well if I build and run with mvn, but when I build it into a Docker container, ...
YT.Lu's user avatar
  • 31
0 votes
1 answer
133 views

I need to migrate some documents from one collection to another. This migration runs when the application starts up. It checks if the migration is finished, if it's not, it will run it otherwise it ...
Thomas E's user avatar
  • 521
0 votes
1 answer
57 views

I am running Android UI tests. I use a separate Firestore DB for testing. I want to delete all documents after a test finishes. This curl command works. curl -v -X DELETE "http://127.0.0.1:8080/...
akalanka's user avatar
  • 617
0 votes
1 answer
49 views

I need to fill a RecyclerView with the trip data. This means I need to retrieve data from two different collections from my Firestore database. collection 1: "users" which contains all data ...
ngc-224's user avatar
  • 21
1 vote
1 answer
64 views

I have the following structure in Firestore: The map called lecturaBreve corresponds to the following class: public class BiblicalShort extends Biblical { private LHResponsoryShort responsorio; ...
A. Cedano's user avatar
  • 1,069
1 vote
1 answer
108 views

I started with Firestore and I created a collection MealsDev containing one element. I cannot display it in a recycler view. May you help with it? In the meantime I have already checked other posts, ...
Krzychu's user avatar
  • 143
0 votes
1 answer
208 views

I am trying to connect my Android app to my Firestore database. I can write to my database from my app, but I am unable to read from it. AndroidManifest: <?xml version="1.0" encoding=&...
connor66's user avatar
0 votes
1 answer
48 views

I'm making a journal app and whenever I try to use the menu on the toolbar, it says: o adapter attached skipping layout A> nd doesn't allow me to add another journal to my journal list (...
Tikkar's user avatar
  • 21
1 vote
0 answers
37 views

I tried putting firestore using the option in Android Studio which is in "Tools" and I also tried putting it directly (putting the dependencies and everything else). Also I connected my ...
Tikkar's user avatar
  • 21
0 votes
1 answer
36 views

Here is the code for the LessonGroup class: public class LessonGroup implements Serializable { //properties private String studentId; private String lessonGroupId; private String ...
Camille Ma's user avatar
0 votes
1 answer
43 views

I'm using Firestore for my project, and I've noticed that for some reason, the data stored in my db has the "is" removed from the key. Here is my model in Kotlin: @Serializable data class ...
Son Nguyen's user avatar
  • 1,690
0 votes
1 answer
31 views

I'm using the Java Firestore library to access my Firestore database. I am making this Query: Query chatQuery = firestore.collection("chats") .whereEqualTo("userId", userId) ....
ZeroTerabytes's user avatar
0 votes
1 answer
62 views

Is it possible to write to 2 different firestore databases from the same beam Job ? One database is the 'default' and the other being a different one. When building the beam pipeline, it is picking ...
Kaling's user avatar
  • 1
0 votes
1 answer
88 views

I'm trying to load data from my Firebase Firestore database. This code uses an OnSuccessListener which runs async so I'm trying to wait till it loads data to continue. I have done this by creating a ...
Chewietheshiba's user avatar
1 vote
2 answers
260 views

I'm trying to follow this tutorial. I want to be able to write Cloud Function event triggers in my Visual Studio code Java 17 Runtime project. In the above link, there is a snippet I'm trying to copy. ...
user7888262's user avatar
1 vote
0 answers
106 views

My problem is about implementation of Firebase in android app. I have followed all steps told in the tutorials but I still cannot figure out why data is not saved to the firestore. I am aware of the ...
Yadigar Yusifov's user avatar
1 vote
2 answers
38 views

Here is my code: Query query = firestore.collection("users") .document(myUserID) .collection("unseen_profiles") .whereEqualTo("country", ...
Kobita's user avatar
  • 31
0 votes
1 answer
54 views

I'm facing an issue with mapping data from Firestore to Java objects in my Spring Boot application. Specifically, when retrieving data from Firestore and mapping it to my Java class, most fields are ...
João Victor Ambrozio's user avatar
1 vote
2 answers
60 views

I have a class called BookRoomActivity: public class BookRoomActivity extends AppCompatActivity { String staffPromotionCode; EditText etRoomName,etprice,etDate,etCapacity,etPromotion; ...
Abzx's user avatar
  • 41
0 votes
0 answers
46 views

I have a problem. Android application upload the audio file to firebase, but the application doesn't upload the content. I have these codes: UploadSong (this code the controller of the input: public ...
user24494129's user avatar
0 votes
1 answer
24 views

I need to set a setonclick listener in my adapter for my RecyclerView(firestore), my activity to be show on the click is RestaurantDetails, i need to click on the restaurant cards and be directed to a ...
user24480020's user avatar
1 vote
1 answer
69 views

I obtain JSON from PubSub message. JSON represents a document from Firestore (a specific Firestore data model with additional intermediate objects that define the type of field). I need to map this ...
Jack Jhons's user avatar
0 votes
1 answer
26 views

The loop is expected to iterate for the total number of clients but exits after generating a pdf for one client: private void generatePdf() { firestore.collection("Users").document(...
Sujal Joshi's user avatar
0 votes
1 answer
46 views

I am creating an app to book parking in different locations in that when Admin accepts a user parking request I have set that particular Location's slot status as true. But I want to reset that Status ...
Pratiksha Raut's user avatar
0 votes
1 answer
49 views

Let's say I have a collection in Firestore. this collection has some documents, but not all documents have the same fields. for example, one document with ID "house" might have the fields &...
stephenarosaj's user avatar
0 votes
1 answer
67 views

public static void getMember(String id, DataListener<Member> listener){ FirebaseAgent.getMemberDocumentReference(id).get().addOnSuccessListener(new OnSuccessListener<DocumentSnapshot&...
Mouad Oumous's user avatar
0 votes
1 answer
72 views

I'm trying to get the timestamp from a document in a collection but I get an error: ERROR 26920 --- java.lang.ClassCastException: class java.util.Date cannot be cast to class com.google.cloud....
Pedro Sobral's user avatar
0 votes
1 answer
36 views

is there a way to return a map from a firebase callable function to client using Android - Java? Basically just create a map inside a firebase function (using .js) and return it to the client android ...
Zajebany Sifl's user avatar
0 votes
1 answer
32 views

Unable to get the save button (which is the tick button) to save the entry to Firebase Firestore. It always returns a failed command when pressed. It showed me a "Failed while adding detail" ...
Jadon Yeo's user avatar
2 votes
0 answers
269 views

I want to continue an old android project of mine and started fixing issues with that. My program launches well in android virtual device but then goes background.(I tried it on my phone it doesn't do ...
Faruk's user avatar
  • 863
0 votes
0 answers
19 views

I am trying to get the data from firestore database but i getting the error when i define that the value is not null but error is not remove my code public static void LoadBook(MyCompleteListener ...
sarthak tiwari's user avatar
-2 votes
1 answer
216 views

I am trying to get the database collection from Firestore but getting two errors first warning is: Do not place Android context classes in static fields Second, when I call the database, it shows: ...
Sarthak Tiwari's user avatar
0 votes
2 answers
43 views

My app is currently available only on the Internal test track. It runs without error when launched from Android Studio, but when I upload it to Google Play, delete it from my phone and then download ...
FractalBob's user avatar
  • 3,620
2 votes
0 answers
53 views

Everyone I am a new learner of Android Studio, and on our school project, we have three tabs 'album', 'notes', and 'files' and I am getting errors when deleting a document from their subcollection. ...
ynittiny's user avatar
0 votes
1 answer
54 views

im giving maintenance on a code that broke recently, its trying to retrieve data from firebase using FirestorePagingAdapter, it say that the function onCreateViewHolder does not override a method from ...
luna's user avatar
  • 21
0 votes
1 answer
69 views

I'm using Cloud Firestore to store several thousand documents each containing a field called "Best score". For most of the documents, "Best score" is a String but a number of them ...
FractalBob's user avatar
  • 3,620
1 vote
0 answers
50 views

private void deleteItem(int position) { String itemId = aniPostArrayList.get(position).aniId; // Reference to the document in Firestore DocumentReference documentReference = ...
özkan's user avatar
  • 13
0 votes
0 answers
24 views

private void checkAnswer(String selectChoice, View view) { Button selectedButton = (Button) view; Question currentQuestion = questionList.get(questionNum); if (selectChoice.trim()....
yyweixh's user avatar
0 votes
1 answer
88 views

I successfully sent data to Firestore (collection:Food), but I couldn't collect data from Firestore (collection:Food). I even added try/catch and set breakpoints, but I couldn't gain more information ...
yuki yuki's user avatar
0 votes
1 answer
307 views

I am using Firestore as my Android app database, and while trying to save data to Firestore, it still saves my 'details' field, even though annotated with @Exclude. Problem occurs because Kotlin ...
Dorian Pavetić's user avatar
0 votes
0 answers
36 views

I'm having a problem with the application I'm making for our final project. All the functionalities I need is working fine except for the buttons. Once I click the button with the correct answer, ...
yyweixh's user avatar
2 votes
1 answer
72 views

I'm working on a Java Android project. My goal is to make an application that gives the user information about countries. Whichever country the user chooses, the country and information about that ...
Burak Turan's user avatar
-1 votes
2 answers
554 views

When I was make application for user signup and signin by using firebase but I cannot run as properly it give some error like bellow. E/flutter ( 6840): #0 FirebaseCoreHostApi.optionsFromResource ...
K.D.Dilshan's user avatar
0 votes
0 answers
139 views

I've tried to connect the Material Design Component Search Bar component into my Android Studio, but I have difficulties doing so. Firstly, I'm not sure whether searchView.getEditText()....
Li's hideout's user avatar
0 votes
1 answer
362 views

I want to read from a Firestore database in a Java application. I am following the guide here: https://firebase.google.com/docs/firestore/quickstart#read_data. In order to read documents, I need to ...
Phillip Ng's user avatar
0 votes
1 answer
1k views

I have two Firestore databases in my google cloud "default" and "mydb". When I set up my spring boot app to connect to the database it always connect to the "default" one....
Roland's user avatar
  • 683
1 vote
0 answers
272 views

PERMISSION_DENIED: Missing or insufficient permissions. com.google.firebase.firestore.FirebaseFirestoreException I have several android apps on google playstore that use Firestore as the backend. All ...
Sajid's user avatar
  • 56

1
2 3 4 5
47