Questions tagged [android-push-notification]
252 questions
0
votes
1 answer
How to trigger App Center Push from my asp.net Web API?
I'm making an android Xamarin.Android. I finished the android application and now I want to add remote push notifications based on my item condition in my database that can accessed from ASP.Net Web Api.
I succeeded sent notifications from App…

Yeremia Danang
- 139
- 1
- 2
- 12
0
votes
1 answer
How to do custom turn on/off push notification in Background and Kill
I need to develop custom turn off/on push notification. Value "on" or "off" I get from SharedPreferences.
In Foreground the option of turn off works well because it can set in onMessageReceived.
But how to do this options for Kill and Background…

Yevgen
- 93
- 1
- 1
- 8
0
votes
0 answers
Generating local notification from Fragment causes "Fragment not attached to activity error"
I am trying to generate a local notification from a fragment, using the following code.
NotificationManagerCompat notificationManager = NotificationManagerCompat.from(mActivity.getApplicationContext());
notificationManager.notify(1,…

Tulika
- 625
- 1
- 8
- 23
0
votes
1 answer
Android push notification off: how does it work internally?
When we disable push notifications at app level:
Does the OS automatically unregister the app from GCM/FCM ? (i.e) Will the GCM/FCM stop sending messages to the client for that app.
Will the push event listener code block be executed (minus UI…

Ravi
- 3,719
- 6
- 28
- 40
0
votes
2 answers
Go to an Activity After Opening Push Notification
The following code serves as my handler when the user taps a push notification. The code is working properly and launchURL is accurately recorded in my log. However, as a next step I would like to direct the user to an activity called ViewPushLink.…

jumpingmaniac
- 107
- 2
- 13
0
votes
0 answers
Need the detail or description of permission.C2D_MESSAGE
In my app, I use the GCM push notification. All sample app for push notification has this two permission. I need to know the reason for this permission. I couldn't find any documentation of permission.C2D_MESSAGE permission.

Hussein Juybari
- 107
- 14
0
votes
1 answer
onesignal push gives error : leaked window DecorView@5cd239d[] that was originally added here
I set up onesignal on my native android app.
it works fine. When I push message to clients , push arrives but if the app is open it gives error.
how can I solve this?
thanks in advance
error is :
E/WindowManager: android.view.WindowLeaked:…

CompEng
- 7,161
- 16
- 68
- 122
0
votes
0 answers
React native Clevertap push notification integration
I am trying to integrate clevertap plugin into my application. I have followed below procedure:-
Installed react native clevertap plugin using this link and followed all the mention steps.
Also added firebase messaging package implementation in…

Anil Ravsaheb Ghodake
- 1,587
- 2
- 27
- 45
0
votes
0 answers
Laravel : PushNotification for fcm not working on live
I am using PushNotification (by Edujogon) for push notification services.
So, for that I created a file in config/pushnotification and set my key and all for fcm and apn.
On this file I set
'fcm' => [
'priority' => 'normal',
'dry_run' =>…

Javed
- 817
- 4
- 22
- 44
0
votes
3 answers
Edujugon Push Notification
i am trying Edujugon Push Notification laravel; all configuration be correct.
my push notification code is
$push = new PushNotification('fcm');
$push->setMessage([
'notification' => [
'title'=>'This is the title',
…

Dhruv Yadav
- 41
- 1
- 7
0
votes
0 answers
Invalid registration token. Check the token format
Invalid registration token. Check the token format. when sending push notification from firebase console in android
0
votes
0 answers
After importing an application from GCM to FCM in the Firebase Console, will Push Notifications continue to work for some time through GCM?
I have a question about importing an GCM App to FCM through the Firebase console.
Can you tell me if Push Notifications will continue to work after migrating to the older versions of the App via GCM?
In my case it will be a time consuming process,…

Cleberson Falk
- 188
- 9
0
votes
1 answer
Firebase can not send push notification to android app
I am successfully sent push notifications to FireBase Cloud Messaging(FCM) from server in order to send them to android device. But I don't know why FCM does not send those notifications to device.
My code is as below,
Notification to FCM from…

Thamarai T
- 252
- 1
- 6
- 19
0
votes
2 answers
Oreo (API 26) Notifications not received when app in background
I was having some difficulties in implementing the notifications for API 26 and above. The notification arrives when app is open but no notifications are received when the app is in background or closed.(I have included notification channels as per…

Vinu Polly
- 61
- 1
- 8
0
votes
2 answers
Offers and deals implementation in Push notifications in Android
I have implemented push notification using fcm, but I want the notification to be similar like Flipkart, If I post some any offers and deals to the user, the user must redirect to that page if he click on the push notification. How can I implement…

Tirumalesh kallepalli
- 13
- 1
- 3