We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
When scheduling a local notification like this:
LocalNotifications.schedule( [{ id: 1, title: 'Title', body: 'This is a message', forceShowWhenInForeground: true, customData: { idStory: "1234", titleStory: "This is the title" } }]).then(() => { alert({ title: "Notification scheduled", message: 'ID: 1', okButtonText: "OK, thanks" }); });
(note the customData object) ...
I want to get this data when the notification has been clicked.
LocalNotifications.addOnMessageReceivedCallback(notificationData => { console.log("Notification received: " + JSON.stringify(notificationData)); });
But here, I only get id, title, body, foreground and event on iOS.
On Android, I get the whole object that I've passed within the schedule method, so even customData can be accessed.
My config:
The text was updated successfully, but these errors were encountered:
@felixkrautschuk you got any solution on this issue? I am looking for the same
Sorry, something went wrong.
Any update on this issue?
Need this too. Any update?
No branches or pull requests
When scheduling a local notification like this:
(note the customData object) ...
I want to get this data when the notification has been clicked.
But here, I only get id, title, body, foreground and event on iOS.
On Android, I get the whole object that I've passed within the schedule method, so even customData can be accessed.
My config:
The text was updated successfully, but these errors were encountered: