Open cgosingtian opened 7 months ago
This method does handle notifications in foreground mode due to ios rules, and Jivo uses this place as one of entry points, yes
But for background notifications, Localizable strings are used, so please look here for more details:
https://jivochat.github.io/JivoSDK-iOS/documentation/jivosdk/common_project_config
Followed Push Notification instructions in https://jivochat.github.io/JivoSDK-iOS/tutorials/jivosdk/native_usage_basics
However, the push notifications don't look right when the app is in the background or if closed.
func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void)
isn't called in the background, but that seems to be where Jivo wants to change the title and the message.What's the expected way to approach showing Jivo notifications when the app is closed / in background?