I have stepped through all the steps here twice over.
https://github.com/flutter/plugins/tree/master/packages/firebase_messaging
I even deleted and re-paired my android package with FCM.
I have the right intent added to the manifest xml... and double checked it.
I have tried both on my Android Emulator, and my Actual Google Pixel.
I don't ever see an android notification.
Any assistance is greatly appreciated.
I'm using
Android Version - 9.0 (Pie) - API 28
Emulator Version - 28.0.16-5112988
It's a fresh emulator.
[EDIT]
I am now able to get notifications to my actual Google Pixel, but still not the emulator.
Thank you.
Related
I updated IOS SDK to 14.4 and MAC OS also been updated.
All of a sudden FCM stopped working, it was working perfectly fine.
I am not understanding what exactly went wrong.
1.Since, fcm token is been triggered and registering in database as well.
2.Tried triggering from firebase console but still unable to receive notification, but in android it works fine.
3. Tried to trigger from our backend application (Dot Net), it gives Success:1 Failure:0
plugins used are cordova-plugin-fcm-with-dependecy-updated
import {FCM} from "cordova-plugin-fcm-with-dependecy-updated" declared in app.components.ts
Any help, will we be much appreciated.
I solved this problem in android studio by creating my custom notification handler and just inputing the data firebase sends. But I can't seem to find a way/guide/tutorial to do so with ionic.
Is there a way to do that or do is it only possible to show notifications when app in background?
I've tried every guide I found online but most of them just do nothing or the notification is just showed when app in background.
Thanks
Update: 23 July 2019
The reworked implementation has been released as cordova-plugin-firebasex#6.0.0.
See the documentation for more info: https://github.com/dpa99c/cordova-plugin-firebase
Original answer
This is something I'm working on in cordova-plugin-firebasex (my fork of cordova-plugin-firebase).
Currently it's a work in progress (first draft implementation done for Android on the dev branch) and I'm working on the iOS implementation.
You can test it out using the dev branch of my test harness project.
Hoping to have a releasable version in the next week or so.
We are using Firebase for push notifications for Android and iOS, and all the notifications are working perfectly.
But when I log into firebase, and try to see the activity in “Streamview”, I see only iOS activity, and nothing for Android.
I do see the activity in Cloud messaging’s Report section, for both iOS and Android.
The application we have built is built using Xamarin forms.
One thing to note from the Firebase console is that it doesn’t appear as though the console recognizes that SDK setup was fully complete.
When going into the link where it says “Continue SDK Setup”.
Finally, when proceeding to step #4 it tries to verify that there has been communication between the app and Google’s servers and it doesn’t seem to find anything and it just sits there looking.
Notifications appear to work, but the app just doesn’t seem to be registering as being used under the Android side.
Any pointers in this direction will be very helpful.
i don't have any idea what is wrong here.
I want to watch complete report of my push notifications sending count, for both platform Android and iOS. but i am getting only iOS report in stream view tab not for Android.
I made the comment above and now I have found an answer, at least for my situation. I had added Xamarin.Firebase.Core to the PCL project as the documentation suggests. Later I saw documentation for Android Java that showed Firebase Core being added to the gradle file at the app level. So I added Xamarin.Firebase.Core NuGet package to the Android project also and now I can see data for Android in the Firebase Console.
I have implemented firebase in my xamarin ios project. FCM token is getting generated, but when I am pushing a notification from firebase console nothing is happening. Can anyone tell me what wrong I am doing? I have used packages such as
Firebase.ios.InstanceID - 2.0.4,
Firebase.ios.Core - 4.0.8,
Firebase.ios.CloudMessaging - 2.0.4
Assuming you are testing it on a physical device and have all the necessary code in place. Make sure you have team id added in project setting at FCM console.
I have updated my devices to iOS 10.1 and somehow the push notification has stopped working. I still have a device on iOS 10.0.2 and I still receive notifications and silent push on this one.
I am working with xCode 8 and swift 3. I have implemented the required iOS 10 methods for swift and cannot really figure out what has changed with this update. Could not find any push related changes here too: https://support.apple.com/kb/DL1893?locale=ja_JP&viewlocale=en_US.
Is there some other documentation/release notes maybe that I am missing here ? Anyone else facing the same issue ?
Any help is appreciated. Thanks!