firebase-cloud-messaging

Postman - Firebase notification ios

邮差的信 提交于 2020-01-05 04:17:08
问题 I tried to send POST to firebase with Postman but i have an error : <HTML> <HEAD> <TITLE>Unauthorized</TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1>Unauthorized</H1> <H2>Error 401</H2> </BODY> </HTML> Here is my body and header. For authorization I am not sure, I put the api server key of my ios firebase project. I'd like to send it and show the notification on my device. Thank you for the help. When I launch the app with xcode, I got fail to fecth APNS but at the end :

Firebase push notification receiving only when app is in foreground ios

丶灬走出姿态 提交于 2020-01-05 04:11:14
问题 I have integrated my app Xamarin.iOS with Firebase Cloud Messaging. Push notifications working properly when app is in foreground or i background the app & then return to the app but not working when app is in background or killed. Here is my code public override bool FinishedLaunching(UIApplication app, NSDictionary options) { UIApplication.SharedApplication.StatusBarStyle = UIStatusBarStyle.LightContent; Firebase.Core.App.Configure(); UNUserNotificationCenter.Current.Delegate = this; if

Fetching analytics related to push notification in `FCM Cloud Messaging`

穿精又带淫゛_ 提交于 2020-01-05 02:30:54
问题 I want to know whether push notifications are delivered to all the registrationId mapped to my user database or not. I have 8000 users and all are having registrationId. I had sent notification to all of them and now i want to determine whether all those user had received the notification or not. so is there any way to access this analytics using some FCM url. I am aware that i can see analytics in google publisher from STATISTICS menu and selecting FCM messages and to check the delivery

How to implement Google Cloud Messaging - Topic Messaging in Chrome?

為{幸葍}努か 提交于 2020-01-05 01:32:30
问题 In the Google Cloud Messaging for Chrome documentation there are no information about Topic Messaging feature. https://developers.google.com/cloud-messaging/chrome/client Is not yet available? Here is the GCM reference docs without subscribe method https://developer.chrome.com/apps/gcm And here is the Android and iOS reference with the GcmPubSub class that provides subscribe/unsubscribe methods: https://developers.google.com/android/reference/com/google/android/gms/gcm/GcmPubSub https:/

How to implement Google Cloud Messaging - Topic Messaging in Chrome?

末鹿安然 提交于 2020-01-05 01:31:09
问题 In the Google Cloud Messaging for Chrome documentation there are no information about Topic Messaging feature. https://developers.google.com/cloud-messaging/chrome/client Is not yet available? Here is the GCM reference docs without subscribe method https://developer.chrome.com/apps/gcm And here is the Android and iOS reference with the GcmPubSub class that provides subscribe/unsubscribe methods: https://developers.google.com/android/reference/com/google/android/gms/gcm/GcmPubSub https:/

Sending bulk push notifications using FCM in C#?

白昼怎懂夜的黑 提交于 2020-01-04 08:26:13
问题 I am writing a c# service that will allow me to send push notifications using FCM. Now, everything works fine but then I want to send bulk push notification using FCM. I want to be able to send the same message to multiple devices at once. The current takes one registration token and then goes through the whole process and then goes to the next one. But this will be useless if I have to send push notification to many numbers at once. What should be my best option? c# code public String

Add SHA-1 from production certificate for GCM/FCM

ε祈祈猫儿з 提交于 2020-01-04 07:35:08
问题 I have an app that is using FCM. I've added package to the FCM and it said "Debug signing certificate SHA-1 (optional)", so everything works as expected. Now I'm preparing it for the release and wonder do I need to change this SHA-1 certificate to value from the release certificate or it's not required and for release I should leave everything as it is? 回答1: Yes, you must add SHA-1 of release certificate. you can add SHA-from settings button and then add fingerprint: you can have both SHA-1

Can't receive FCM Push Notifications for iOS

岁酱吖の 提交于 2020-01-04 06:51:21
问题 I'm trying to use the Firebase Cloud Messaging (FCM) SDK to send push notification to iOS devices. I created a very simple application which has an empty ViewController and an AppDelegate copied by that provided in the quick start iOS project. I followed all the instructions provided in the guide: Installed SDK using pod, here is my podFile: # Uncomment the next line to define a global platform for your project # platform :ios, '9.0' pod 'Firebase/Core' pod 'Firebase/Messaging' target

Findout when Firebase message recieved when app in background

旧时模样 提交于 2020-01-04 05:49:09
问题 I know that there is the same question with this title but unfortunately it is not answered right and it is accepted!!! here I want to know how I can find out a FCM message received when app is in background to do some action on message received before clicking by user. but when app is in background onMessageReceived is not triggered! I googled so much and could not find a good way. 回答1: As I've mentioned in the comments section, when sending a message with a notification message payload the

GoogleService failed to initialize, status: 10, Missing google app id value from from string resources with name google_app_id

情到浓时终转凉″ 提交于 2020-01-04 04:11:11
问题 Im getting this error out of nowhere it used to work just fine. Here is what i have: in app.gradle dependencies: implementation "com.google.firebase:firebase-core:16.0.1" implementation "com.google.firebase:firebase-messaging:17.3.1" in app.gradle end of file: apply plugin: 'com.google.gms.google-services' in project gradle file: dependencies { classpath 'com.android.tools.build:gradle:3.3.0-alpha10' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'io.fabric