I made a small screen which subscribes to alarme's mobile service and prints notification content. pushService?.onPushMessageReceived { payload -> ... }. I've got same handling of pushes as in sample
|
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable: Any]) async -> UIBackgroundFetchResult { |
|
AlarmeeHelper().onNotificationReceived(userInfo: userInfo) |
|
return UIBackgroundFetchResult.newData |
|
} |
|
|
|
nonisolated func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) { |
|
let userInfo = notification.request.content.userInfo |
|
AlarmeeHelper().onNotificationReceived(userInfo: userInfo) |
|
|
|
completionHandler([.banner, .list, .badge, .sound]) |
|
} |
. The issue is that incomming push is handled by my app's code and still is shown by ios. On android handled in app push is not shown by system. Is it an issue?

I made a small screen which subscribes to alarme's mobile service and prints notification content.
pushService?.onPushMessageReceived { payload -> ... }. I've got same handling of pushes as in samplealarmee/sample/iosApp/iosApp/AppDelegate.swift
Lines 24 to 34 in ef3408e