android-push-notification


Is there any way how to get data from push notification using FirebaseMessagingService in background?

十年热恋 提交于 2020-01-16 10:11:52
问题 I'm using FirebaseMessagingService for my push notifications. It is working as intented in app. onMessageReceived is called, I can get notification title and body + data payload and send reaction depends on payload data to my Activity using LocalBroadcastManager . But there is problem with background push notification. This will only show notification in background, but it is not created in onMessageReceived because this function cannot be called if app is in background. According to

Are push notifications delivered to android phones after its disabled in settings?

馋奶兔 提交于 2020-01-04 06:09:04
问题 In Android, if we disable app notifications using the OS settings, will fcm/gcm still deliver the notification to the device? If it is delivered to the device will the notification be passed onto the app? or does the OS block it? Is the device_token invalidated? I am assuming that when we disable notifications, android os communicates these settings to the fcm/gcm server. 回答1: In Android, if we disable app notifications using the OS settings, will fcm/gcm still deliver the notification to the

Are push notifications delivered to android phones after its disabled in settings?

試著忘記壹切 提交于 2020-01-04 06:08:53
问题 In Android, if we disable app notifications using the OS settings, will fcm/gcm still deliver the notification to the device? If it is delivered to the device will the notification be passed onto the app? or does the OS block it? Is the device_token invalidated? I am assuming that when we disable notifications, android os communicates these settings to the fcm/gcm server. 回答1: In Android, if we disable app notifications using the OS settings, will fcm/gcm still deliver the notification to the

firebase_messaging not customizing notification when app is not in foreground

一曲冷凌霜 提交于 2019-12-23 21:19:42
问题 I need to group notifications from firebase about messages comes from users. Firebase push notification is grouping achieved by using **flutter_local_notification** plugin. This is done inside onMessage() callback set up during Firebase configuration. But when app is not in foreground this grouping and other customer styling can not be done. I had given "tag" field in notification section of Firebase push notification. This will show only one notification according to the tag . But i need to

Android GCM Push notifications not received on some latest OS (Oreo and Pie)

纵饮孤独 提交于 2019-12-13 02:27:28
问题 We're using GCM for push notification for our app with target release to 26. But on some devices with OS(Oreo and Pie) notifications are not received. We have implemented push notification channels as well.For mostly users it worked but some users face this issue. Details: Play services GCM version: 11.0.4 compileSdkVersion 26 targetSdkVersion 26 Any help would be appreciated. Thanks 来源: https://stackoverflow.com/questions/54017617/android-gcm-push-notifications-not-received-on-some-latest-os

Receive a notification issue and open a fragment

核能气质少年 提交于 2019-12-11 11:55:22
问题 I am working on application notification when a user receives a friend request notification and clicks on the notification the application has to redirect him to the user profile who have sent the request. I am facing more than a problem: first, if the application running in the background the receiver can receive a notification, but if the application is running, the receiver application crash after the sender sends a notification and it doesn't show the notification. the second problem is

Cannot resolve method 'setPushNotificationsRegistrationId(java.lang.String)' for Facebook Push Notifications

混江龙づ霸主 提交于 2019-12-08 10:12:06
问题 I am implementing push notifications in Android with Firebase Cloud Messaging, and I am implementing Facebook Push Notifications and Facebook In-App Notifications too. I am following the instructions at https://developers.facebook.com/docs/push-notifications/android to set up Push Campaigns for Android. I already completed the instructions at https://firebase.google.com/docs/cloud-messaging/android/client for setting up a Firebase Cloud Messaging Client App on Android. This is the content of

Some Oreo devices are not getting Push Notification

时光总嘲笑我的痴心妄想 提交于 2019-11-27 19:51:58
Samsung S8/S5/J2/Note3 are getting Firebase Push Notification successfully either app is killed, in background or foreground, but Infinix Note 5 (Android One- Oreo) and Oppo F9(Oreo) are not getting push notification if app is killed, they work fine if app is in background or foreground. I went through a lot of articles, this and this , mentions that Chinese phones haves this problem, and there are some work around from user side to make these notification work on their phones. but i want to know if anything is possible from development side to make notification work on each and every android

Some Oreo devices are not getting Push Notification

旧城冷巷雨未停 提交于 2019-11-26 20:00:44
问题 Samsung S8/S5/J2/Note3 are getting Firebase Push Notification successfully either app is killed, in background or foreground, but Infinix Note 5 (Android One- Oreo) and Oppo F9(Oreo) are not getting push notification if app is killed, they work fine if app is in background or foreground. I went through a lot of articles, this and this, mentions that Chinese phones haves this problem, and there are some work around from user side to make these notification work on their phones. but i want to

工具导航Map