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

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

Related

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?

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

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.

Registering iap purchase analytics event in Flutter using Flurry analytics

I am new to Flurry analytics, and from the looks of the docs they have for both iOS and Android, there is a support for registering purchase events with a dedicated method on each platform separately. But with flutter plugin they have, this option is not supported, and therefore I am not able to register purchases at all on their dashboard. Is there a way of "manually" sending this iap event, so the dashboard can still consume it?
I think you are asking if this data can be sent directly to the Flurry servers, without being sent from the SDK. If so, this is unfortunately not possible.

Twilio IP-Messaging ing hybrid ionic app

Do we still need to use a native module to interact with twilio ip messaging in hybrid apps? I'd like to use it in a ionic app (chat with push etc.), but pure JS would be preferred.. All I could find about this was this thread Twilio on cross platform mobile tools (Ionic, React-Native) but I was wondering if it is still needed to add native modules...
Twilio developer evangelist here.
Twilio IP Messaging has a JavaScript library which you could use as part of your Ionic application.
The only thing that would miss would be push notifications, which are built into the iOS and Android SDKs. You could implement your own notifications (check out Twilio Notify for an easy way to do that) but you would have to keep track of the online status of your users yourself and use the IP Messaging webhooks to capture messages and notify your users yourself.
Let me know if that helps at all.

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.