Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5898] Push notifications callback no longer invoked when a remote notification is received

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2018-09-20T10:40:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterRichard Lustemberg
AssigneeShak Hossain
Created2018-09-19T13:21:56.000+0000
Updated2018-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.

Comments

  1. Hans Knöchel 2018-09-20

    Handled as part of TIMOB-26399 and 7.4.1 :)
  2. Richard Lustemberg 2018-09-20

    :D yeah! Great news. Already merged into my custom build. Pity I didn't find the duplicate before.

JSON Source