I don’t think we have changed anything regarding to local push notifications in quite a while. If I remember correctly, if the game is running while a scheduled notification triggers, the callback would be called directly instead of showing a notification “toast”/popup… Could it be some change in a newer iOS version? I’ll try to reproduce it on one of our devices here.
I have an idea, maybe you know: is it possible to track close app event with 100% probability? (can I be sure that final method of script runs when user close an app)
If it’s possibll I would make one central point in code of registration all local notifications and the remove them all when app start.
No, if the engine crashes (which should be very rarely) the final() of scripts will not be called. If the app is shut down properly then yes, final() should always be called.