Notifications.scheduleLocalNotificationAsync returns a string on an iOS device

I have a use case where I schedule notifications with Notifications.scheduleLocalNotificationAsync and on iOS I get returned a string like this: D772CEEC-EABF-4D1D-9D45-CB8BB8E34523 as the localNotificationID and on android I get a number like this: 2025263896.

This becomes a problem when I want to use Notifications.cancelScheduledNotificationAsync, I get a nice can’t convert string to double error if it’s a sting from iOS.

Basically what I am trying to do is edit an existing localNotification so I am attempting to cancel the scheduledNotification and make another, perhaps there is another approach to achieve what I want to do.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.