All Questions
203 questions
0
votes
0
answers
39
views
Payment is not made with no throttling
I am implementing Stripe intent payment in my Angular + Firebase app. I implemented Firebase function like this from example on official documentation.
My problem is that if I try to do payment with ...
0
votes
1
answer
19
views
cloud functions firebase to use it
Do I need a backend language for Firebase Cloud Functions, or is TypeScript enough to code, for example, a matchmaking system?
ChatGPT himself isn't sure about that.
Is it a fact that you don't need a ...
1
vote
1
answer
58
views
Angular Fire Functions - app.functions is not a function
I am using Angular v16 with Angular Fire v16 and Firebase v9. I did all the setup like in the instructions. I did the firebase login, firebase init and made the functions to typescript.
Then I ...
0
votes
1
answer
60
views
How to add more regions to the provideFunctions function in Angular Firebase?
I'm using the provideFunctions function in my Angular Firebase project to initialize the Cloud Functions for my application. However, I need to add more regions to support my application's global user ...
0
votes
0
answers
81
views
Cloud Function v2 cors set to true but still get error The value of the 'Access-Control-Allow-Credentials' header in the response is ''
My goal is to create a session cookie and return it in the Response Header's Set-Cookie.
The problem:
httpsCallable do not send the idToken nor the csrfToken, so I use httpClient.
response.cookies?....
0
votes
1
answer
372
views
500 Error being returned from Firebase Function
This is a followup question to (Calling Firebase Function from Angular gives "bad request" error, but works fine called from URL) just for history purposes.
I had written a Firebase Function ...
0
votes
1
answer
115
views
Calling Firebase Function from Angular gives "bad request" error, but works fine called from URL
I am very new to Firebase Functions. I created a Function called getQuizById(). The function returns the Quiz in JSON format. If I call the function directly via a URL, it returns the JSON data as ...
0
votes
2
answers
700
views
How do I use Firebase AppCheck with httpsCallable functions?
I'm using firebase functions like so...
exports.sendLicenseAgain = onCall({
enforceAppCheck: true,
consumeAppCheckToken: true,
}, async (req) => {
...
})
and i have this in my angular 17 ...
1
vote
0
answers
302
views
Error running angular 17 with SSR and cloud functions
Angular 17 build is generating below files
Before angular 17 my output is in format of index.js file .
Then i am calling the cloud function
const {onRequest} = require("firebase-functions/v2/...
0
votes
1
answer
352
views
How to call Firebase Functions from AngularFire
I created a Firebase Cloud function with functions.https.onRequest and I made it work like an API that responds with JSON data from the Firebase Realtime database.
However, I found out about functions....
0
votes
1
answer
196
views
how to initialize firestore
hi need to get data from firestore inside a cloud function, to inizialize firebase I have a file firebase.ts:
import * as admin from "firebase-admin";
import { getFirestore } from "...
2
votes
1
answer
141
views
app.functions is not a function in Firebase Angular SDK functions, HttpsCallable
i'm struggling a bit setting up firebase functions within my angular project.
I'm trying to do the following:
const callable = this.fns.httpsCallable('getLandingPageText');
console.log(callable);
...
0
votes
2
answers
617
views
CORS error for a Firebase Extension Function on localhost (Angular)
does anyone know how to solve the CORS error for a Firebase Extension Function on localhost?
In summary, I'm trying to use an extension called "Authenticate with Stream Chat." Inside the ...
0
votes
1
answer
33
views
Error while doing a POST call from Angular to Firebase Cloud Function
I've created a Firebase Cloud Function and it's working;
export const deleteUser = functions.https.onRequest(async (request, response) => {
const userEmail = request.body.userEmail;
await admin....
1
vote
1
answer
329
views
Firebase functions with Angular Universal slow page loading time
I created an Angular app and i use Angular Universal for SSR. Following modern Angular deployment, i deployed the app using Firebase Hosting and Functions as described in this post (https://medium.com/...