push-notification

Push Notification Not Works Properly

徘徊边缘 提交于 2021-01-28 06:41:08
问题 I have created on Chatting Application in Android. In that I have problem occurs in Push Notification. Problem is: When User A Send Message to User X, so X gets the Push. After that User B Send Message to User X, so X gets second the Push. Then User X clicks on Push of User A Chat Screen not opens, but clicks on Push of User B Chat Screen opens. How to resolve this. PendingIntent contentIntent; UserSessionManager userSession = new UserSessionManager(context); if (type.equals("2")) { if

BroadcastReceiver when app is in background

给你一囗甜甜゛ 提交于 2021-01-28 04:46:42
问题 i am trying to write an app where i do changes to the UI depending on the msgs i send with gcm push notifications and i manged to do so by using BroadcastReceiver onReceive function to implement it but it only work if the app is in foreground but if it was in background or closed nothing happen so any way around that? edit1: in the manifest file if i understood ur question right <receiver android:name="com.google.android.gms.gcm.GcmReceiver" android:exported="true" android:permission="com

TypeError: firebase.default.messaging is not a function (in '_firebase.default.messaging()','firebase.default.messaging is undefined)

…衆ロ難τιáo~ 提交于 2021-01-27 17:43:04
问题 I want to send notifications using firebase cloud functions so I am trying to get a token using firebase.messaging().getToken() but I keep getting the error: TypeError: firebase.default.messaging is not a function (in '_firebase.default.messaging()','firebase.default.messaging is undefined) I have installed firebase and firebase/messages about 5 different ways but cannot seem to get past this error so I assume that those methods must be outdated or I am doing something very wrong. Here is my

How do I Quickly Automate Sending FCM or APNS Messages?

南笙酒味 提交于 2021-01-27 04:44:47
问题 I am developing a backend service that sends push notifications to mobile apps via either FCM or APNS. I would like to create an automated test that can run in under a minute and validates that the server can successfully send a notification. Note that I do not necessarily need to check that the notification has been delivered, just that FCM or APNS has successfully processed the request to send the message. I know that theoretically I could automate this test using a tool like appium and use

How do I Quickly Automate Sending FCM or APNS Messages?

三世轮回 提交于 2021-01-27 04:44:24
问题 I am developing a backend service that sends push notifications to mobile apps via either FCM or APNS. I would like to create an automated test that can run in under a minute and validates that the server can successfully send a notification. Note that I do not necessarily need to check that the notification has been delivered, just that FCM or APNS has successfully processed the request to send the message. I know that theoretically I could automate this test using a tool like appium and use

How do I Quickly Automate Sending FCM or APNS Messages?

百般思念 提交于 2021-01-27 04:42:30
问题 I am developing a backend service that sends push notifications to mobile apps via either FCM or APNS. I would like to create an automated test that can run in under a minute and validates that the server can successfully send a notification. Note that I do not necessarily need to check that the notification has been delivered, just that FCM or APNS has successfully processed the request to send the message. I know that theoretically I could automate this test using a tool like appium and use

Can't set Build Action to GoogleServiceJson

大城市里の小女人 提交于 2021-01-21 12:11:55
问题 I'm working with Xamarin-Android to make an application, so I need to set Build Action to my google-services.json file but there is no such Property as GoogleServicesJson, and when I try just to write it, it shows me an exception: Exception of type 'System.Runtime.InteropServices.ExternalException' was thrown. I tried to save and then restart Visual Studio, but it didn't solve the problem. If you know how to solve this problem, please help me! :) That's the file I'm clicking on 回答1: The

Sending Push Notifications to iOS from PWA

纵然是瞬间 提交于 2021-01-21 04:11:48
问题 I'm sorry, I know this question has been asked before but I couldn't find updated answer. I've got a Progressive Web App which made with Blazor WebAssembly and I was wondering if I can send push notifications to iOS devices? Although people said if works now on Safari on MacOS, Push API's website says that it does not support Safari on iOS. Do I need to wrap every web app if I target iOS? I don't have a MacBook, do I need to buy one just to achieve this? Also there are Firebase and Azure

Sending Push Notifications to iOS from PWA

可紊 提交于 2021-01-21 04:11:16
问题 I'm sorry, I know this question has been asked before but I couldn't find updated answer. I've got a Progressive Web App which made with Blazor WebAssembly and I was wondering if I can send push notifications to iOS devices? Although people said if works now on Safari on MacOS, Push API's website says that it does not support Safari on iOS. Do I need to wrap every web app if I target iOS? I don't have a MacBook, do I need to buy one just to achieve this? Also there are Firebase and Azure

Sending Push Notifications to iOS from PWA

Deadly 提交于 2021-01-21 04:09:49
问题 I'm sorry, I know this question has been asked before but I couldn't find updated answer. I've got a Progressive Web App which made with Blazor WebAssembly and I was wondering if I can send push notifications to iOS devices? Although people said if works now on Safari on MacOS, Push API's website says that it does not support Safari on iOS. Do I need to wrap every web app if I target iOS? I don't have a MacBook, do I need to buy one just to achieve this? Also there are Firebase and Azure