Handle Foreground Notifications

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.

Foreground notifications - ObjC
[[Appoxee shared] setShowNotificationsOnForeground:YES];
Foreground notifications - Swift
Appoxee.shared()?.showNotificationsOnForeground = true;


Default behaviour will be that notifications are not displayed when app is in the foreground.