3 thoughts on “Unable to clear delivered notifications in v6

  1. For IOS @aravi365

    - (void)applicationDidBecomeActive:(UIApplication *)application {
    // delete the badge
       [UIApplication sharedApplication].applicationIconBadgeNumber = 0;
    // delete the notifications
      [[UNUserNotificationCenter currentNotificationCenter] removeAllDeliveredNotifications];
    }
    

    In AppDelegate.m.

3 thoughts on “Unable to clear delivered notifications in v6

  1. For IOS @aravi365

    - (void)applicationDidBecomeActive:(UIApplication *)application {
    // delete the badge
       [UIApplication sharedApplication].applicationIconBadgeNumber = 0;
    // delete the notifications
      [[UNUserNotificationCenter currentNotificationCenter] removeAllDeliveredNotifications];
    }
    

    In AppDelegate.m.

3 thoughts on “Unable to clear delivered notifications in v6

  1. For IOS @aravi365

    - (void)applicationDidBecomeActive:(UIApplication *)application {
    // delete the badge
       [UIApplication sharedApplication].applicationIconBadgeNumber = 0;
    // delete the notifications
      [[UNUserNotificationCenter currentNotificationCenter] removeAllDeliveredNotifications];
    }
    

    In AppDelegate.m.