Extra Fields for iOS
After receiving push notification, handle extra fields on your own.
Â
func appoxee(_ appoxee: Appoxee, handledRemoteNotification pushNotification: APXPushNotification, andIdentifer actionIdentifier: String) {
if let firstTestKey = pushNotification.extraFields?["firstTestKey"] {
print(firstTestKey)
//do logic for firstTestKey
}
if let secondTestKey = pushNotification.extraFields?["secondTestKey"] {
print(secondTestKey)
//do logic for secondTestKey
}
}
Â