BatchLabs / Batch-iOS-SDK

Batch SDK for iOS
https://batch.com/features
Other
29 stars 12 forks source link

Description of parameter willShowSystemForegroundAlert in the method BatchPush.handle #25

Closed Damien-B closed 3 years ago

Damien-B commented 3 years ago

I think there's a slight problem in the description of the following method : BatchPush.handle(userNotificationCenter: <#T##UNUserNotificationCenter#>, willPresent: <#T##UNNotification#>, willShowSystemForegroundAlert: <#T##Bool#>)

The documentation of the parameter willShowSystemForegroundAlert is cut, there might be a "not missing" in "to show this notification, or."

Whether you will tell the framework to show this notification, or. Batch uses this value to adjust its behaviour accordingly for a better user experience.

abarisain commented 3 years ago

Hello,

Thanks, we'll fix this.

willShowSystemForegroundAlert represents what's given in the completionHandler.

Return true if you're returning at least [.alert], false if []

abarisain commented 3 years ago

Will be fixed with 1.17, thanks for reporting