[AC-5898] Push notifications callback no longer invoked when a remote notification is received
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2018-09-20T10:40:11.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Richard Lustemberg |
Assignee | Shak Hossain |
Created | 2018-09-19T13:21:56.000+0000 |
Updated | 2018-09-20T12:32:28.000+0000 |
Description
Due to a refactoring of TiApp to use the updated UserNotifications framework, the
- (void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions options))completionHandler
delegate method is invoked instead of the application delegate configured on NetworkModule.m .
As a result, the pushNotificationCallback is not called. Also configuration related to how to show the notifications is ignored.
I don't know what's the best way to solve this. If first fixing it to regain backward compatibility or to use application events to handle the notifications.
Handled as part of TIMOB-26399 and 7.4.1 :)
:D yeah! Great news. Already merged into my custom build. Pity I didn't find the duplicate before.