I am trying to save my local notification IDs in a JSON table, so I can cancel them, if needed, even when the app was closed. But JSON doesn’t support USERDATA.
Any ideas on this one?
Thanks,
Phil
I am trying to save my local notification IDs in a JSON table, so I can cancel them, if needed, even when the app was closed. But JSON doesn’t support USERDATA.
Any ideas on this one?
Thanks,
Phil
You can’t use USERDATA to save things for later use. Those are actually C pointers to memory objects and they go away when the app does. There is no way to have them.
We have a feature request in to Engineering to come up with a way to get existing notifications, but it’s not available yet.
Rob
Hej Rob,
ok thanks. Could you tell me, when this is done?
Cheers,
Phil
You can’t use USERDATA to save things for later use. Those are actually C pointers to memory objects and they go away when the app does. There is no way to have them.
We have a feature request in to Engineering to come up with a way to get existing notifications, but it’s not available yet.
Rob
Hej Rob,
ok thanks. Could you tell me, when this is done?
Cheers,
Phil