You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@EddyVerbruggen , Kindly assist, this is what I have on the schedule method
LocalNotifications.schedule(
[{
id: 5,
thumbnail: true,
title: 'Richard wants your input',
body: '"Hey man, what do you think of the new design?" (swipe down to reply, or tap to open the app)',
forceShowWhenInForeground: true,
sound: "notify",
ongoing: true,
notificationLed: true,
interval:"minute",
channel: 'My Channel',
badge: 1,
at: new Date(new Date().getTime() + 10 * 1000),
actions: [
{
id: "input-richard",
type: "input",
title: "Tap here to reply",
placeholder: "Type to reply..",
submitLabel: "Reply",
launch: true,
editable: true,
// choices: ["Red", "Yellow", "Green"] // TODO Android only, but yet to see it in action
}
]
}])
.then(() => {
alert({
title: "Notification scheduled",
message: "ID: 5",
okButtonText: "OK, thanks"
});
})
.catch(error => console.log("doScheduleId5WithInput error: " + error));
}
Thanks in anticipation of your feedback
The text was updated successfully, but these errors were encountered:
Setup:
Nativescript Angular (7.0.11)
Angular (11.0.2)
@EddyVerbruggen , Kindly assist, this is what I have on the schedule method
LocalNotifications.schedule(
[{
id: 5,
thumbnail: true,
title: 'Richard wants your input',
body: '"Hey man, what do you think of the new design?" (swipe down to reply, or tap to open the app)',
forceShowWhenInForeground: true,
sound: "notify",
ongoing: true,
notificationLed: true,
interval:"minute",
channel: 'My Channel',
badge: 1,
at: new Date(new Date().getTime() + 10 * 1000),
actions: [
{
id: "input-richard",
type: "input",
title: "Tap here to reply",
placeholder: "Type to reply..",
submitLabel: "Reply",
launch: true,
editable: true,
// choices: ["Red", "Yellow", "Green"] // TODO Android only, but yet to see it in action
}
]
}])
.then(() => {
alert({
title: "Notification scheduled",
message: "ID: 5",
okButtonText: "OK, thanks"
});
})
.catch(error => console.log("doScheduleId5WithInput error: " + error));
}
Thanks in anticipation of your feedback
The text was updated successfully, but these errors were encountered: