When the user signs up the first time, I use sendEmailVerification by the following code: and here is useAccount.java Firebase information after signing up and as you can see All the information was received accurately. But I want to receive additional information when user first use the app. SO i tried to receive additional info by following code and this
Tag: google-cloud-platform
I got the following error while pulling data from android studio Firebase
I could not understand the problem. It gave such an error when trying to pull the information from the Realtime Database or code.firebasteki to the screen, what is the problem? Book MainActivity RecyclerView_Config FirebaseDatabaseHelper firebase E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.phonebook, PID: 14998 com.google.firebase.database.DatabaseException: Failed to convert value of type java.lang.Long to String at com.google.firebase.database.core.utilities.encoding.CustomClassMapper.convertString(CustomClassMapper.java:426) at com.google.firebase.database.core.utilities.encoding.CustomClassMapper.deserializeToClass(CustomClassMapper.java:217) at com.google.firebase.database.core.utilities.encoding.CustomClassMapper.deserializeToType(CustomClassMapper.java:179) at
How to upload files >32mb via Google Cloud Run
I implemented a Cloud Run process in Java with Spring Boot which consumes file uploads via HTTP. The uploaded files are sometimes over 32 MB in size. I know that 32mb is the fixed single-request limit under Cloud Run. The documentation of Cloud Run mentions two approaches to support the upload of larger files. Resumable upload and XML API multipart
get data with query from document collection and document subcollection in firestore
I have a collection with “grup” name and have a subcollection named “anggota”. Please help me, how to display data by query referring to collection document and subcollection document. Firestore collection: I’ve tried with this query but it doesn’t work, the data doesn’t appear Answer When you are using the following query: It means that you are creating a reference
should i use firestore database to store a boolean value for my button state (pressed/unpressed)
I’m building a food delivery app using Firestore to populate a RecyclerView, I have a button in every view in RecyclerView. I just want to know if I use Firestore boolean to save my buttons state in view, and give permission to the user to change the boolean value when the button is pressed. it will be a good idea
How to check a child value in firebase and hide a button for that user logged in?
I want to hide a Button in my app when the user that is logged in has a specified value in the Realtime Firebase Database. So I have a child where the value changes between Yes or No it depends on what rights the user is having. So I want to hide a Button when a user has the value
How to properly iterate Bigquery TableResult in Java
I am trying to iterate the rows from TableResult using getValues() as below. if I use getValues(), it’s retrieving only the first page rows. I want to iterate all the rows using getValues() and NOT using iterateAll(). In the below code, the problem is its going infinite time. not ending. while(results.hasNextPage()) is not ending. what is the problem in the
Apache Beam BigqueryIO.Write getSuccessfulInserts not working
We are creating a simple apache beam pipeline which inserts data into a bigquery table and We are trying to get the tableRows which have been successfully Inserted into the table and tableRows which are errored, the code is as shown in the screenshot According to the following documentation: https://beam.apache.org/releases/javadoc/2.33.0/org/apache/beam/sdk/io/gcp/bigquery/WriteResult.html BigQueryIO.writeTableRows() returns a WriteResult object which has getSuccessfulInserts() which will
Failed to get driver instance for jdbcUrl=jdbc:postgresql:/// error for CloudSQL
I am trying to connect to my GCP projects PostgreSQL CloudSQL instance from my local machine. The PostgreSQL doesn’t have a public IP, only private. I get the below error Failed to get driver instance for jdbcUrl=jdbc:postgresql:///mdm java.sql.SQLException: No suitable driver I have verified that my username, instancename, IAM connectivity is all working fine. The IAM service account I am
How to retrieve multiple username from Firestore and assign the username to the correct markers on map
The code shown below is the code used to retrieve the multiple users location from Realtime Firebase and assign to the markers on map: The structure of the real-time firebase is as follow: The result of the code is as follow: When I click on the marker, it only shows the userID of the user. I want the marker to