Flutter push notification when app is closed - firebase

I want to have a push notification when the app is closed but I don't know how to do it.
I already tried firebase cloud messaging, it worked but the notification took around 3 to 5 min to come, but I need it instantly. I tried pushy.me, it works very well when the app is openned or in background but not when it's closed. And I didn't find anything in their documentation talking about closed apps. Maybe I can do something with flutter local notification and an API?

This problem happens for me when the app is built in debug mode
When I build the app in release mode, I don't have this issue

It can caused by sometimes flutter version upgrade. In my case i tried to update my firebase_messaging to latest version and i followed this ref

Related

FCM notifications not working after change computer

I have been using FCM flawlessly during one year in debug, release, and play store release. Recently, I have change my computer from a windows to a Mac and now I am not able to make it works in play store. I am able to get notifications in debug and release but not in a signing app bundle.
I am using same signing key from windows PC so I am not sure where the problem could be. Any clue or idea will be appreciated.

iOS Firebase push notifications not working on iPhone 11 in production

The react-native app I'm working on has been having this issue for quite a while, background notifications are not working in the production app. This only happens for the iPhone 11 as we've tested with the iPhone 8 (both devices were running iOS 13.3) in production and it received them, so I don't think it would have to do with production's APNs certs. We've upgraded to .61 as well as react-native-firebase 6 hoping that that might solve the issue but to no avail, tried adding APNs headers to the message as well as some other things but nothing seems to be working. Like I said this is only happening in production, we've tried with the 11 in dev and QA and both times we were able to receive notifications.
Is there something specific that is required for iPhone 11s when using Firebase Messaging? Is there any way to view real time logs in Firebase (ie the images of logs in this post), all I've been able to find in the Firebase console is aggregated data for the app. I would like to be able to send a test notification to a specific user on prod from Insomnia and see if it is failing, why it's failing etc.
Any help would be appreciated if any other info is needed please let me know. Thanks.

Firebase Unity PC [duplicate]

This question already has an answer here:
Firebase Unity3D desktop app (Mac/PC) - does it work or not?
(1 answer)
Closed 4 years ago.
I am developing a PC game with unity and I want to use Firebase. After I downloaded the SDK and imported the packages, I got
Since the game is for PC only (not for iOS, Android or Web), I couldn't find where to download these files.
The Firebase SDK for Unity allows you to build games that target Android and/or iOS devices. While it supports developing those games in a desktop, the Firebase SDK cannot currently be used to build games targeted for Desktops.
Firebase 4.5 includes beta support for a desktop workflow, but it's not intended for releasing desktop-targeted apps.
As stated in the Firebase docs:
When you are creating an app, it's often much easier to test your app
in the Unity editor and on desktop platforms first, then deploy and
test on mobile devices later on in development. To support this
workflow, we provide a subset of the Firebase Unity SDK which can run
on Windows, OS X, Linux, and from within the Unity editor.
Authentication
Realtime Database
Remote Config
Cloud Storage
The remaining desktop libraries are stub (non-functional)
implementations, provided for convenience when building for Windows,
OS X, and Linux so that you don't need to conditionally compile code
when also targeting the desktop.
I've been able to utilize the FirebaseDatabase & FirebaseStorage packages for a desktop app, but positive results have been unreliable. The same code will work on one playthrough, then deadlock on another. This could be due to a problem with my handling of async/await calls, or it could be the FirebaseApp, which throws a cryptic 'false' error outside of runtime.

Tizen 2.3.2 push notifications

I'm trying to develop a watch app for the Gear S3 Frontier. I had been mistakenly testing with the Tizen emulator on Tizen 3.0, but have discovered that my push notification implementation does not work in 2.3.2 (which is what is on the S3 now). I have checked and rechecked against every example I could find, but cannot seem to receive push notifications. It works fine with 3.0, but the altered version that uses the 2.3.2 method of connecting simply never receives any notifications. The Samsung push API reports success when my server sends, but I never get anything on the watch or emulator in 2.3.2. I saw that this post asks a similar questions but was never fully answered and I don't have the rep to comment on it. Does someone have a working example of this?
I solved it. I discovered an error in the logs that indicated that it was looking for the "appData" field. The documentation says that you can include EITHER "appData" or "message", but it appears that you must have BOTH present in 2.3.2. Tizen 3.0 doesn't seem to care.

Using GCM for push notifications to both Android and iOS devices

I am working on an iOS app which need to get push notifications(using GCM) from web service(Made of Python).
Currently the web service works fine with Android devices, but it reports Error=MismatchSenderId, when I check this error in the online doc, it suggests the sender_id and API_key are not matched. The thing is, as I understand it(could be wrong), for iOS SDK, unlike the Android's, it doesn't need sender_id.
The tricky part is I have no access to the web service yet(which the collaboration party claim the Android app works fine with it). Could anyone shred a light on what steps should I take to fix this issue?
THanks in advance.

Resources