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.
Related
I wanted to run my swiftui app on macos, unfortunately i can still see error That
Running InstanceID on a simulator doesn't have APNS. Use prod
profile by default.
I used the code from firebase messaging docs to initialize firebase messaging and later on I wanted to get instance id token.
While using Xcode I don't get any other errors instead of this which I mentioned. That's why I decided to archive my app and run it independently
outside Xcode. Unfortunately I still can see in console error message about running in simulator. When I run that code on my physical iPhone everything works properly.
Xcode log
Mac console log
Does anyone know what should I change or how should I archive the app properly in order to firebase not detect my app as simulator?
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 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.
I am trying to send push notification on my iOS device with the help of FCM and ionic 3. But I'm unable to get on my device, for android it is working fine, but for iOS its not working. I'm getting device token for iOS and I've enabled push notification from xcode also.
Is there any other configuration, which I'm missing between iOS and FCM?
Yes.
Steps for ios FCM Integration:
Add the GoogleService-info.plist file in to the root folder of your app.
Add the plugin to your app following this link : https://ionicframework.com/docs/native/fcm/
Write the necessary code
Run command in terminal/cmd 'ionic cordova prepare'
Open Xcode and allow the code to be indexed.
Click on 'show project navigator' on the extreme left hand side below run button. Check the Resources Folder and click on GoogleService-info.plist. If it is empty, delete it and manually place the file again in that folder by dragging and dropping.
Under Capabilities, ON push notifications and ON background modes> remote notifications
8 Upload p8 file on firebase console.
9 and you're done! Test your notification :)
Note: Don't forget to use actual device to test this feature. iOS Simulator doesn't support notifications.
App Crash Issue: Make sure that platforms/ios/MyApp/Resources/Resources/GoogleService-Info.plist and platforms/ios/MyApp/Resources/GoogleService-Info.plist
are same and complete. An incomplete file on any of the above paths can lead to crashing of the app.