Questions tagged [android-push-notification]

252 questions
0
votes
0 answers

FCM subscribeToTopic not working for old GCM tokens

I am migrating from GCM to FCM. Before we were sending messages to thousands of devices based on a collection of GCM tokens stored on our servers. Now with FCM we are supposed to use topics. This works nicely for FCM generated tokens, but it does…
0
votes
1 answer

FCM for Amazon devices

Is there a way in which an Amazon kindle device can get the device token from FCM? I mean, our app already works with FCM for Android and iOS devices, but particularly for Kindle devices (part of Android ecosystem) they never receive a token from…
0
votes
1 answer

Withdraw/delete push notification in React Native

Our React Native app needs to send out push notification to a number of people (iOS and Android, app can be open, backgrounded, or closed), and when just one of these people performs a specific in-app action, we need our server to erase these push…
0
votes
1 answer

Not able to receive notifications On Android version below oreo

I used firebase cloud functions to the device to device notifications but notifications not working on versions below oreo. private void sendNotification1(String notificationTitle, String notificationBody) { Intent intent = new Intent(this,…
user8094010
0
votes
1 answer

Is it possible to register an application in FCM servers using an API(URL) call

I want to register my application in FCM servers using an API(URL) call by passing package name and SHA key as parameters for every new application. Through this API call I want to download/create the google-services.json file.
0
votes
0 answers

Unable to view my Push Notification in Oreo when app is in foreground/opened

I have firebase push notifications in my application whereas I used to receive notifications when the app is in foreground, background and killed. I recently upgraded my device to oreo(Samsung s8 plus). I even added NotificationBuilder's channel id…
0
votes
1 answer

Manifest merger failed and cannot build the app

I am building an app using react native(detached) and after I installed onesignal library using npm install I can no longer build my app on Android Studio. The following is the error: Manifest merger failed : Attribute …
Mizlul
  • 1
  • 7
  • 41
  • 100
0
votes
1 answer

How can i send push notification using FCM in android?

I am able to send push notification using Firebase Console. But I want to send notification from my app (which is the admin app) without using any backend services . I figured that I can send it using HTTP POST Rquest ,but I have to save the…
0
votes
1 answer

need to open multiple notification in one activity

I have implemented push notifications for my android app .I am able to show multiple notification in notification bar but only one notification work at a time. i think the problem in flags…
0
votes
1 answer

can't receive any push notification on react native app

I am using a detached react native mobile app for both android and iOS and I have been given the API to call for push notification but I am somehow confused about the 'token' parameter, I just don't know what is the 'token' field, is it a device id…
0
votes
1 answer

Google FCM token save database

I am developing an android application with user login and push notification facility. So as per the documentation, I created a FCM account and created a database for saving access token. user table user_id | …
0
votes
1 answer

How to use same google-service.json file in multiple android firebase projects?

I want to use google-service.json file in multiple project, is it possible to use same google-service.json in multiple projects? if possible how can we do it?
0
votes
1 answer

Does Firebase Cloud Messaging provide a Graphical User Interface to see, manage and monitor device topic subscriptions?

I am already obtaining successfully the Firebase Cloud Messaging (FCM) device token by using FirebaseInstanceId.getInstance().getToken(). I used the following code to subscribe the client app to a topic: String topic = "toronto"; …
0
votes
1 answer

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

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…
0
votes
1 answer

Is CPU and bandwidth intensive sending push notifications directly with Firebase Cloud Messaging?

From what I understand, when sending notifications from the Firebase compose message console from https://console.firebase.google.com/u/0/project/[projectname]:api-project-[senderID]/notification/compose, only CPU and bandwidth from the Google…