Questions tagged [android-push-notification]

252 questions
0
votes
1 answer

Can multiple users subscribe to a topic at the same time whenever they are in a list in FCM

I want to subscribe to a topic in FCM to send notification to multiple user at the same time and I have all the users in the list and list contains the token. so my question is that how can list of user subscribe to a topic.thanks
0
votes
1 answer

Android icons: what does the term optical square mean?

I'm looking for the sizes of the icons that I should provide to my Android application and I have read several times the term of "optical square" but I'm not sure to understand what it means. Could you please explain?
Simon
  • 6,025
  • 7
  • 46
  • 98
0
votes
2 answers

What is the best way to send push notification to thousands of users using firebase cloud messaging?

I need to send push notifications to thousands of users. But according to firebase documentation i can send only to 500 users at a time. getMessaging().sendMulticast(message) .then((response) => { console.log(response.successCount + ' messages…
0
votes
1 answer

How can i send AWS SNS push notification using FCM in nodejs?

I wanted to ask how can i send AWS SNS push notification end to end means i don't want to use the console for creating endpoints and arn I want to send the notification using nodejs. I am able to send the notification for one device using console…
0
votes
0 answers

Push notification not work if generate the apk in another machine

Good day, I have a mobile project (Cordova app). There are 2 developer working on it. When developer A using his computer to generate the APK file, the app will not able to receive the push notification. However, if developer B using his computer…
0
votes
0 answers

Why does not direct where I want to be when I clicked notification?

I want put textview header and text of the notification. I send push notification with firebase and always comes and see header and text of the notifictaion on notification panel.(This is no problem) My app consist of:MainActivity,Main2Activity and…
0
votes
0 answers

Custom action button in push notification react native android

I want to develop push notifications which has custom action buttons (2 buttons) which says "Yes" & "No" clicking on "Yes" button calls an REST Api without actually opening the app. The notification should work irrespective of whether the app is in…
0
votes
1 answer

Create PendingIntent for notification without specifying activity

Is there any way to create PendingIntent for notification or to show notification from "data" layer. In that layer I don't have activity class. So can Intent automatically choose one activity that is marked like "default" or "launcher"? …
0
votes
1 answer

Firebase Scheduled notification not sending notification daily

I have scheduled a push notification for my Android App, for a month at 11.00 am daily using the firebase console. It sends the notification if I send it now. But if I schedule it for daily, it comes for 2-3 in the beginning but after that, there is…
0
votes
3 answers

Specific activity not opening from notification click when the app is not in foreground(app is in recents, not killed!)

I want to open a specific activity on notification click. But when the application is in the background, it doent open. I am not even passing the extras(ie, the data). I just want to open the activity and according to user logged in, i do some…
0
votes
1 answer

iOS / Android Push Notification Categories / Sub Types / Taxonomy

Many companies define different sub-types of push notifications. The users can opt-in/out of different sub-types based on their interests. See attached image from instagram where in settings you can choose to subscribe to different push notification…
0
votes
0 answers

Firebase cloud messaging's remoteMessage has empty body

I am using Firebase cloud Messaging to show push notification but its not showing instead its not doing anything I have connected Firebase successfully with my application but now i am just Toasting the body of notification in…
0
votes
2 answers

SharedPreference not working in app closed state

I need to store push notifications data to shared preference and show it inside the app. It's working fine while app is in open state. But if i force close the app. notification is received but shared preference not store the data. I unable to debug…
0
votes
0 answers

Function onNotification not firing

I use the lib https://github.com/zo0r/react-native-push-notification The callback onNotification is fired only when foreground is true but when the app is closed the callback is never invoked My app entry point is return (
0
votes
1 answer

How to send Ms Azure push notifications to android device from Postman

I am trying to send Azure push notification to android devices by using Postman. To achieve this i saw post in microsoftDocs but docs saying that This API doesn't support Firebase Cloud Messaging (FCM) yet. Is there any way to send FCM push…
Bahu
  • 1,516
  • 2
  • 28
  • 49