Do I need a Firebase project to use Firebase App Check? - flutter

I want to secure my own custom API for my Flutter app.
I came across Firebase App Check, but I do not want to use Firebase.
Can I use Firebase App Check without a Firebase project? It seems to like there is not Firebase involved. Only other app attestation services. https://firebase.google.com/docs/app-check/flutter/custom-resource

Do I need a Firebase project to use Firebase App Check?
Yes.
It seems to like there is not Firebase involved. Only other app attestation services.
Firebase is not an attestation provider but it uses others providers and it's a bit easier to integrate those providers using Firebase SDK than directly using them. e.g reCAPTCHA v3 for web apps.
Once you integrate the Firebase App Check SDK in your Flutter app, you'll have to get the App Check token using getToken() and add it in your API request. Then you just need to verify the token in your backend using the Firebase Admin SDK.

Related

Firebase authentication problem with Apple sign in

I'm using firebase authentication in a flutter app.
I've set up apple authentication and I'm building for both web and for ios.
In the apple developer console, I have an app id (com.crossology.ios) and an associated services id (com.crossology.auth)
In the firebase console, if I set authentication > apple > services id to "com.crossology.ios", authentication works in my flutter app.
If I set it to "com.crossology.auth", authentication works on my flutter web interface.
I don't see a way to configure apple authentication to work for both web and app at the same time.

Swift iOS Firebase Google authentication with Google Console OAuth 2.0 Client IDs

How can we configure the custom created OAuth 2.0 Client IDs in the google console to our firebase project?
Our Firebase project is implementing google authentication in an iOS app.
Everything works properly:
added URL schemes
added .plist provided by firebase
In order to register our app through google we have to implement custom
OAuth 2.0 Client IDs
Problem:
How can we properly use the custom (google console) OAuth 2.0 Client ID in the firebase project? Do I need to use the new plist provided in the google console?

Flutter firebase chat integration in flutter app without google signin

I am developing an application for users signing up with their mobile numbers. Now I have to develop a chat module in my app How to integrate flutter firebase chat without google sign-in.
I have tried with the anonymous sign but the user's chat is not stored in firebase. May I know the steps to use firebase chat in-app and how to integrate firebase without manual google sign into my application?

Flutter and firebase cloud messaging, send a notification with an API?

With Flutter and cloud messaging, is it possible to send a push notification to one or more devices (with tokens) not with the Firebase console, but with a web API, PHP, NodeJS ... ?
What you want is possible, but not in the way you're thinking. The best way to handle this is to have your flutter app contact your backend through an API and then the backend would send the notifications to the devices using firebase cloud messaging.
Check out Firebase Admin SDK or their simple JS Web api.
https://firebase.google.com/docs/cloud-messaging/js/send-multiple

register device token manually with Firebase Notifications

I would like to integrate my existing ionic ios app with the new firebase notification service. But i could not find any documentation about registering a device token manually with the rest api or web api.
Am i missing any new feature? Or is this not possible with the current libraries?
Firebase Notifications at launch just supports Android and iOS.
For now, you can implement FCM directly for the web, see the documentation for FCM, which will allow pushing messages via the API.