Category "firebase"

Function not found when converting string to boolean in Firestore security rules

I'm writing a security rule on Firestore that converts a string into a boolean. According to the documentation, we should be able to do it by using the bool fun

How to load videos from Firebase Storage and return them as React component?

I have a video stored in my firebase storage and and I'm able to access it's download URL from firebase and trying to do this: const App = () => { var vide

The method "collection" isn't defined for the type FirebaseStorage

I'm getting an error trying to store data in firestore. Another issue is using my emulator in android studio ( pixel 5 ) or even all my 4 connected devices. I c

Firebase In-App Messaging, Test on Device not show up on real device

I am starting to utilize the In-app messaging feature of firebase. I didn't create a real campaign yet, but only use the the [Test on Device] when creating one.

How can I get firebase realtime data using unique id

I'm using react js and firebase. I have this code below. I'm using it to get data from another table. const uniqueEventID = Object.keys(data).map((id) => aa

The state of flutter bloc is not updating if called outside the bloc builder

I initialised all necessary blocs in my main file. Even after this, the state of bloc is not updating if called from outside the bloc builder. I am trying to im

How to delete a specific array element in firebase collection?

I have list of appointments stored in firebase collection, how can I delete a specific appointment ?

Null check operator used on a nullsis value flutter

I have problem with null check operator and i using firebase firestore or json model And i using the method to get data user from model But while i return he gi

How to refresh snapshot in flutter

I what to refresh home page so I create widget called RefreshWidget look like this import 'dart:io'; import 'package:flutter/cupertino.dart';

How to register a user whose email contains a capital letter in Firebase Authentication

I am using Firebase email and password authentication for user authentication in my app. One user's email contains uppercase letters, but when I add the user on

Firebase: Cloud Functions + Storage Read File

I am currently writing a function in Firebase Functions to be called within my Firebase mobile application. I have the code to call the function, but I do not k

How to fix gradle error in flutter project

I am getting this gradle error when running flutter project: I am using code from github for flutter pdf view and also using firebase for it. Launching lib\main

Expected a value of type 'Map<String, dynamic>', but got one of type 'Null'

I'm using flutter and managing data by cloud_firestore. I could send data to firestore, but now I'm Struggling with reading data. In firestore, data are stored

Assign a documents values as a <Type>

Making an Observable <Hero[]> out of a collection works perfectly and gives me access to all its documents, but I am unable to assign individual documents

Firebase SDK for Python: How to initialize App using apiKey?

There is the following code inside a Node.js project: Soon.app = initializeApp({ apiKey: "AIzaSyB4fcG8rtNWAiAtSmxmK3q3JLfMvtNCGP4", projectId: "soonaverse"

How to use nock in order to mock Firebase/Firestore in NodeJS?

I have a REST API which written in NodeJS. The REST API gets a file and information and then uploads the file to the drive and stores the information inside my

How to grab the current users "firstname" from firebase store. Swift 5

I did more trial and error and a bit of online research and this is what I came back with: func presentWelcomeMessage() { //Get specific doc

_CastError (Null check operator used on a null value) because it requires loading

So I am creating an Instagram clone and when I open the feed screen, an error that says '_CastError (Null check operator used on a null value)' pops up. But whe

Individual Listeners for Chat Room List Firestore

I'm trying to implement a chat message service in my iOS application. Currently, I have a tableview holding different chat rooms for each cell. However, it seem

Defining Firebase Function Return Types in Firebase using TypeScript

Is there a way to define what a Firebase function's return type using TypeScript? For example: export const helloWorld = https.onCall(async (): Promise<strin