This repository was archived by the owner on Jan 14, 2025. It is now read-only.
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
data from the array return by getScheduledLocalNotifications not giving desired result #2172
Closed
Description
data
object from the Array got by getScheduledLocalNotifications
gives null on android and on ios give empty object.
While creating
PushNotification.localNotificationSchedule({
category: 'Reminder',
channelId: 'reminder',
title: `Reminder: ${comingFrom ? apiData.project.name : 5}`,
message: note ? note : 'Donation reminder',
date: new Date(Date.now() + 86400 * parseInt(days, 10) * 1000),
data: {
frequency: days,
pid: comingFrom ? apiData.project_id : data.pid,
type: 'reminder',
},
allowWhileIdle: true,
});
Also it gives proper notification , but getScheduledLocalNotifications
doesn't give proper data
element
Metadata
Metadata
Assignees
Labels
No labels