Appoxee API now enable you to specify if notifications should be displayed on the foreground (relevant for devices with OS 10)
You can now specify whether notifications should be displayed on the foreground using Appoxee API by setting the below.
Code Block |
---|
title | Foreground notifications - ObjC |
---|
|
[[Appoxee shared] setShowNotificationsOnForeground:YES]; |
Code Block |
---|
title | Foreground notifications - Swift |
---|
|
Appoxee.shared()?.showNotificationsOnForeground = |
Default behaviour will be that notifications are not displayed when app is in the foreground.