Questions tagged [android-push-notification]
252 questions
0
votes
1 answer
Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. > duplicate entry: com/google/android/gms/gcm/PendingCallback.class
The app compiles correctly in a device with Android 6.0, but not in a phone with Android 4.4.2. When I try to compile the project from Android Studio 2.2.3, using the device with Android 4.4.2, I receive this error:
Error:Execution failed for task…

Jaime Montoya
- 6,915
- 14
- 67
- 103
0
votes
3 answers
FirebaseInstanceId.getInstance().getToken() in MyFirebaseInstanceIDService.java not appearning in the log
I am following the instructions at https://firebase.google.com/docs/cloud-messaging/android/client to set up Firebase Cloud Messaging Client App on Android. I already edited my app's manifest to include the MyFirebaseMessagingService and…

Jaime Montoya
- 6,915
- 14
- 67
- 103
0
votes
1 answer
Does Facebook SDK 3.23.1 include the FBNotifications library?
I am following the Push Campaigns Quickstart at https://developers.facebook.com/docs/push-notifications/quickstart. At the beginning of the document, I found this paragraph:
Prior to sending in-app notifications you will also need to integrate
…

Jaime Montoya
- 6,915
- 14
- 67
- 103
0
votes
1 answer
Is the Facebook Push Notifications feature supported by Facebook SDK version 3.23.1?
My goal is to implement the Facebook Push Notifications feature on my app. I am following the Push Campaigns Quickstart guide at https://developers.facebook.com/docs/push-notifications/quickstart. Before starting, I need to add the Facebook SDK to…

Jaime Montoya
- 6,915
- 14
- 67
- 103
0
votes
0 answers
GCM project cannot connect to FCM host
I am trying to ensure that my GCM client application can receive downstream messages from my new FCM project to ensure backward compatibility. I know google says it should work and several people have commented that it is successful but I have to…

pranavrao1
- 1,529
- 1
- 12
- 11
0
votes
1 answer
FCM data payload notification doesn't open the mentioned activity
I know this is asked a million times before and I have tried everything I saw but I just cant make it work. I have data payload notification. Am getting them in onMessageReceived() but when I click the notification in notification tray it doesn't…

suja
- 1,198
- 2
- 12
- 32
0
votes
3 answers
FCM - How to traverse to a particular activity when system tray notification is clicked
We are using FCM to show push notification to the end user . FCM successfully raised the notification and the user is seeing the notification from the system tray.I am using FCM console Notification composer for testing.
I will keep my app in the…

JavaUser
- 25,542
- 46
- 113
- 139
0
votes
0 answers
MS SQL Server when record insert how to give push notification in android app through Soap API in C#.net
My Database in MS SQL Server when Record insert or data Updated how to give Push notification in android app, i don't know. SOAP API Create in Visual Studio C#.net. SOAP API through Data give in JSON From MS SQL Server Database. This JSON Data Used…

Zala
- 19
- 4
0
votes
1 answer
How to localise the Firebase remote notification body text in Android?
I want to localise the firebase notification sent by the server. Through php I am sending remote notification to Android device. The following postdata I am using in php:
$postData = array(
'to' => ''.$fcmtoken,
'priority' =>…

Janarthanan V
- 45
- 3
0
votes
1 answer
In case of Long Text Notifications only single line (Trimmed Text) is appearing on MI/XIAOMI Phone
If text length is more than 50 characters then only one line is shown on Notification bar in case of MI/XIAOMI phone but on other phones its working fine
FYI : We are already using big Text Style notifications
Any work around

Tarun Kakkar
- 61
- 9
0
votes
2 answers
Should I store Android device tokens for sending push notifications?
I am working on an app, which requires Android push notifications to be implemented.
I have decided to use Firebase Cloud Messaging directly; without using any other abstraction such as AWS SNS or Pusher.
I would like to avoid storing and managing…

addy
- 387
- 1
- 18
0
votes
1 answer
Sending a link using push notifications in Azure for Android
I have created a backed in asp.net web-forms successful send a notification for all registered devices but I tired to send a link for example I need to send one push notification include a link When user touch on the notification redirect to mobile…

Rebin Qadir
- 291
- 4
- 12
0
votes
1 answer
Parse server (self hosted) not sending android notification with FCM
Hi i have self hosted parse server on digital ocean, it is sending notifications on iOS but not on android. my index.js file looks like this:
var api = new ParseServer({
databaseURI: databaseUri || 'mongodb://1.1.1.1"1/app_name',
cloud:…

Jawad Sadiq
- 65
- 7
0
votes
1 answer
php script executing twice when i am sending fcm notifications using curl
I am trying to send notification to multiple users using FCM with a curl function in PHP. Sometimes it is sending perfectly, sometimes it is re-executing entire page and inserting values twice and sending notification twice.
Here is my notification…

Rajashekar Makam
- 1
- 2
0
votes
1 answer
Firebase Notification appears temporarily
I have this issue with the (firebase push) notifications I receive in my app. They appear just for a second and then disappear. I really can't figure out what did I do wrongly. Here is my code:
public class PushNotification extends…

Claude Hangui
- 426
- 3
- 8
- 29