All Questions
Tagged with google-cloud-functions flutter
546 questions
0
votes
0
answers
37
views
Do Firestore Queries save time? [closed]
I'm creating an ecommerce app that has 100+ products. I want to show only 4 featured products on the homescreen.
Now, my question is, whether should I create a separate collection for featured ...
0
votes
0
answers
25
views
Unable to get the context.uid from the Flutter client side to reach the Cloud Functions
Problem
The getPotentialMatches Cloud Function in my Firebase project fails with the error User must be authenticated because context.auth is consistently undefined. The client sends a valid token, ...
1
vote
0
answers
65
views
Flutter Firebase Messaging not receiving messages from backend on iOS (works on Android and with Firebase Console)
I'm having an issue with Firebase Cloud Messaging in my Flutter app where:
On iOS: Messages only work when sent via Firebase Console, but not when sent from my backend
On Android: Messages ...
0
votes
0
answers
44
views
Passing parameters to a cloud function in Flutter
I'm having an issue calling cloud functions through my flutter app. The function seems to be going through according to the logs, but the values I pass in through Flutter are not making it to the ...
2
votes
1
answer
102
views
Flutter firebase: The authentication challenge sent by the server is not correctly formatted
I'm trying to lock a deal in firebase for a specific user.
Client will lock a price that will be the same for everyone at that exact second. When the client locks the price I want to check whether or ...
0
votes
1
answer
55
views
Firebase Callable Function with enforceAppCheck Returns "unauthenticated " Error
I'm experiencing an issue with one of my Firebase Cloud Functions. When I call my function from the client, I receive the following error:
unauthenticated
class FirebasePublicationRepository ...
0
votes
1
answer
45
views
Unit testing Python Firebase Cloud Functions in Flutter and VS Code - can't get the modules to import
I have a Flutter project that has Firebase enabled with cloud_functions. It has created a functions directory in the root of the Flutter project.
Project Structure
my-app/
├─ lib/
├─ ios/
├─ functions/...
0
votes
0
answers
28
views
How to Implement Scalable Custom Scheduled Push Notifications in Flutter Using FCM Without WorkManager?
I’m developing a Flutter app where users can set custom schedules for receiving push notifications. Each user can choose their own frequency, such as:
10 notifications per day
5 notifications per day
...
1
vote
1
answer
50
views
Calling a Firebase Cloud Function gives me List<Map<Object?, Object?>> but how can I cast it to something I can use? [duplicate]
I am calling a Firebase Cloud Function like this:
final result = await FirebaseFunctions.instance.httpsCallable('users').call();
if (result.data != null) {
final data = result.data as List<Object?...
-1
votes
2
answers
70
views
Razorpay payment gateway integration flutter error
i have been using razorpay for my flutter firebase app for a year now after migrating from cloud run v1 to v2 by deleting v1 functions and updating and redeploying them i've been getting this error ...
0
votes
0
answers
21
views
How to Use Cloud Functions with MethodChannel to Set Google API Key at Runtime in Flutter?
I’m trying to use Cloud Functions in combination with MethodChannel to set the Google API key at runtime in my Flutter app. However, I’m facing an issue because the flutter_google_maps package does ...
0
votes
1
answer
102
views
Unhandled error TypeError: handler is not a function Firebase functions
I am trying to add poke notifications on my app. And i am stuck to send notifications with firebase functions and message.I deployed my functions to firebase with firebase deploy --only functions. And ...
0
votes
0
answers
57
views
While using Firebase emulator, FireStore transaction triggers cloud function (onDocumentUpdated) when it is not supposed to
In my project, I am using FireStore, Cloud Functions, and Firebase emulator in the backend while using Flutter in the backend. I have a transaction that reads a profile document and then uses the ...
0
votes
1
answer
56
views
Flutter firebase cloud messaging bad request invalid arguments
I am trying to create a poke function with firebase functions and firebase cloud messaging in flutter. But i am getting bad request 400 invalid arguments error. I added log lines to my sendPoke.js ...
0
votes
0
answers
52
views
Flutter: how to configure Firebase AppCheck for development environment
I am trying to implement firebase functions into my Flutter app and I have issues with AppCheck.
Without appcheck, when trying to invoke a callable cloud function from Flutter, it fails, saying that ...