/
iOS Receive Push Payload Details
iOS Receive Push Payload Details
Used in order to receive the payload of the notification
iOS [Objective-C]
@interface AppDelegate () <AppoxeeNotificationDelegate>
@end
@implementation AppDelegate
#pragma mark - AppoxeeDelegate
- (void)appoxeeManager:(AppoxeeManager *)manager handledRemoteNotification:(APXPushNotification *)pushNotification andIdentifer:(NSString *)actionIdentifier
{
// a push notification was received.
}
- (void)appoxeeManager:(AppoxeeManager *)manager handledRichContent:(APXRichMessage *)richMessage didLaunchApp:(BOOL)didLaunch
{
// a rich message was received.
} |
iOS [Swift]
class AppDelegate: UIResponder, UIApplicationDelegate, AppoxeeNotificationDelegate {
var window: UIWindow?
func appoxee(appoxee: Appoxee, handledRemoteNotification pushNotification: APXPushNotification, andIdentifer actionIdentifier: String) {
// a push notification was received.
}
func appoxee(appoxee: Appoxee, handledRichContent richMessage: APXRichMessage, didLaunchApp didLaunch: Bool) {
// a rich message was received.
}
} |
Related content
Rich Push Notifications Integration for iOS
Rich Push Notifications Integration for iOS
More like this
Extra Fields for iOS
Extra Fields for iOS
More like this
Android Receive Push Payload Details
Android Receive Push Payload Details
More like this
Deep Linking with iOS SDK 4.0.14 or later
Deep Linking with iOS SDK 4.0.14 or later
More like this
Push Message API
Push Message API
More like this
Deep Linking with iOS SDK 5.0 or Later
Deep Linking with iOS SDK 5.0 or Later
More like this