push-notification

Sending Push Notifications to iOS from PWA

六眼飞鱼酱① 提交于 2021-01-21 04:09:07
问题 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

push notification enable and disable by using switch

ぃ、小莉子 提交于 2021-01-09 12:57:04
问题 im using firebase push notification(FCM)..and i want to enable and disable notifications by switch button for that i have shared preferences to enable and disable notifications but it seems my logic is not at all working if turn on and off switch still it is receiving notifications need help thanks activity:-- val sharedPreferences = getSharedPreferences("myname", MODE_PRIVATE) simpleSwitch.setChecked(sharedPreferences.getBoolean("SWITCH_PARTIDOS_STATE", false)) simpleSwitch

push notification enable and disable by using switch

拈花ヽ惹草 提交于 2021-01-09 12:55:27
问题 im using firebase push notification(FCM)..and i want to enable and disable notifications by switch button for that i have shared preferences to enable and disable notifications but it seems my logic is not at all working if turn on and off switch still it is receiving notifications need help thanks activity:-- val sharedPreferences = getSharedPreferences("myname", MODE_PRIVATE) simpleSwitch.setChecked(sharedPreferences.getBoolean("SWITCH_PARTIDOS_STATE", false)) simpleSwitch

push notification enable and disable by using switch

穿精又带淫゛_ 提交于 2021-01-09 12:46:56
问题 im using firebase push notification(FCM)..and i want to enable and disable notifications by switch button for that i have shared preferences to enable and disable notifications but it seems my logic is not at all working if turn on and off switch still it is receiving notifications need help thanks activity:-- val sharedPreferences = getSharedPreferences("myname", MODE_PRIVATE) simpleSwitch.setChecked(sharedPreferences.getBoolean("SWITCH_PARTIDOS_STATE", false)) simpleSwitch

push notification enable and disable by using switch

ε祈祈猫儿з 提交于 2021-01-09 12:45:58
问题 im using firebase push notification(FCM)..and i want to enable and disable notifications by switch button for that i have shared preferences to enable and disable notifications but it seems my logic is not at all working if turn on and off switch still it is receiving notifications need help thanks activity:-- val sharedPreferences = getSharedPreferences("myname", MODE_PRIVATE) simpleSwitch.setChecked(sharedPreferences.getBoolean("SWITCH_PARTIDOS_STATE", false)) simpleSwitch

How to get the push notification payload when force-quit / swipe up to kill the iOS app without tapping on the banner/alert?

浪子不回头ぞ 提交于 2021-01-04 03:14:35
问题 I’m building an app which handles notifications pushed from Parse, and trying to create a notification history function. I’ve enabled the background modes successfully, so when the app is running in the background, the app can get the payload well via application:didReceiveRemoteNotification:fetchCompletionHandler even the banner/alert is not tapped. However, when force-quit / swipe up to kill the app, application:didReceiveRemoteNotification:fetchCompletionHandler is not called. Is there any

How to get the push notification payload when force-quit / swipe up to kill the iOS app without tapping on the banner/alert?

亡梦爱人 提交于 2021-01-04 03:12:49
问题 I’m building an app which handles notifications pushed from Parse, and trying to create a notification history function. I’ve enabled the background modes successfully, so when the app is running in the background, the app can get the payload well via application:didReceiveRemoteNotification:fetchCompletionHandler even the banner/alert is not tapped. However, when force-quit / swipe up to kill the app, application:didReceiveRemoteNotification:fetchCompletionHandler is not called. Is there any

Flutter FCM with Laravel

若如初见. 提交于 2021-01-01 04:22:52
问题 I am Using Laravel for my App backend and want to send push notification to my flutter app by topic. Now I implemented firebase messaging into my flutter app. as _registerOnFirebase() { _firebaseMessaging.subscribeToTopic('all'); _firebaseMessaging.getToken().then((token) => print(token)); } void getMessage() { _firebaseMessaging.configure( onMessage: (Map<String, dynamic> message) async { print('received message'); }, onResume: (Map<String, dynamic> message) async { print('on resume $message

Can't get badge count when app is not in foreground - react native iOS

霸气de小男生 提交于 2020-12-16 03:51:06
问题 I can't get the badge count on ios when the app is in the background and closed. I have referred this issue #1824. But it has closed, I didn't get any solution from that. I am sharing a piece of code what I have used to get notifications this.notificationListener = firebase .notifications() .onNotification(async (notification) => { const localNotification = new firebase.notifications.Notification({ show_in_foreground: false }) .setNotificationId(notification.notificationId) .setTitle

Can't get badge count when app is not in foreground - react native iOS

不打扰是莪最后的温柔 提交于 2020-12-16 03:50:29
问题 I can't get the badge count on ios when the app is in the background and closed. I have referred this issue #1824. But it has closed, I didn't get any solution from that. I am sharing a piece of code what I have used to get notifications this.notificationListener = firebase .notifications() .onNotification(async (notification) => { const localNotification = new firebase.notifications.Notification({ show_in_foreground: false }) .setNotificationId(notification.notificationId) .setTitle