As a novice in PHP, I am attempting to create a program that can send a basic notification (consisting of a title and message) from a localhost using PHP to an Android application through Firebase. While I have successfully sent notifications from FCM to A ...
After sending a notification to an iOS device, only one message is received, but the alert pops up multiple times (iOS 7+). However, when the notification is pushed to an Android device, everything works as expected: one message received and one alert disp ...
Having trouble rerouting when the app is resumed; I'm not sure why it's not working. The resume alert pops up and a topic id appears, but $location.path() doesn't seem to be functioning as expected. Any ideas? To provide more insight: upon ...
I am currently working on a Java application that requires the server to send push notifications to the client every one second. To achieve this, I am using HTML5 server-sent events for one-way communication from the server to the client. However, my conce ...
Trying to implement Firebase push notifications in my React JS application. I have been following the tutorials listed below: https://github.com/pavelpashkovsky/react-fcm Everything is working fine up to the point of receiving the token. However, when I ...
An error occurred with the Firebase-FCMService while running the app. The specific process and PID are as follows: com.petbacker.android, 4405. This issue is related to an IllegalArgumentException stating that targeting S+ (version 31 and above) requires e ...
Has anyone encountered issues with push notifications? They seem to work fine during development, but when attempting to use them in a live environment, they fail. The ck is configured for production use. After sending the notification, the message "Mess ...
When launching the app, I need to store the playerID once the user accepts notifications. This functionality is located within the initializeApp function in the app.component.ts file. While I am able to retrieve the playerID (verified through console.log) ...
I successfully implemented a web push notification for Google Chrome using Google Project and Service Worker. One thing I'm curious about is how to customize or style the push notification. The plain message box doesn't quite cut it for me – I'd love to ...
Currently working on an app with Ionic2 and facing a challenge with retrieving the player id after a user subscribes in order to store it in my database. Any suggestions on how I can retrieve the unique player id of OneSignal users post-subscription? ...
In my experience setting up push notifications in iOS projects, I have encountered an issue with message format when changing servers. When using my local machine or a dedicated server, the messages come through correctly. However, switching to web hosting ...
I created a function to display an AlertView when a remote notification is received using the following code: func application(application: UIApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject]){ var notifiAlert = UIAlertVie ...
Looking to set up a push notification system in nodejs that will work well for both iOS and Android. After some research, it seems like this resource may be useful: If anyone has experience with this, I would appreciate advice on the best approach to impl ...
I am looking to implement client-client push notifications (not server-to-client). My goal is to send a notification when one user messages another. Is this feasible? How can I achieve this using the structure in the Firebase real-time database? Here is a ...
As I work on developing a React Native application, my goal is to create an npm package for FCM Notifications. This would allow me to easily incorporate the functionality into any project by simply providing the necessary information to the package, such a ...
I am facing an issue where I am trying to send a push notification to a single device based on its player_id stored in my database. However, whenever I attempt to do so, the notification ends up being sent to all users instead of just one specific device ...
I want to send JSON data to an iOS device in the following format: {"aps":{"content-available":1}} Would it be better to use the AppleNotification class or the AppleNotificationPayLoad class? Can you please provide a sample code for reference? Currently, ...
I am experiencing an issue with FCM (Firebase Cloud Messaging) notifications. While I can successfully send notifications through the FCM console to my iOS device, it does not work when sending notifications from a PHP service. My goal is to be able to sen ...
For my project, I referred to this question on implementing APNS Feedback Service. Below is the code snippet I used to request feedback from servers; function send_feedback_request() { //connecting to APNS feedback servers //ensuring correct dev/p ...
Is it possible to retrieve a list of all device tokens on which my app is installed through an APNS endpoint? I am aware of the feedback service that provides the status of devices to whom messages are sent, but I believe this is only after the message ...
I have integrated the react-native-push-notifications npm library into my application to enable notifications. However, I am facing an issue while trying to schedule notifications using PushNotification.localNotificationSchedule. The code snippet for this ...