Deep-linking is a type of action that can be triggered when the user open the push notification. It provides the ability to open a specific page within the app.
Appoxee SDK will trigger deep linking in the same manner the iOS will trigger deep linking (Using URL Schemes to Communicate with Apps).
Deep linking can be sent using the following:
Example on how to use the sent key in Appoxee iOS SDK is mentioned below:
Objective-C
AppDelegate.m #pragma mark - Schemes - (void)appoxee:(nonnull Appoxee *)appoxee handledRemoteNotification:(nonnull APXPushNotification *)pushNotification andIdentifer:(nonnull NSString *)actionIdentifier { // Here the special field will be received in extra parameters in "pushNotification" NSLog(@"URL - %@", [pushNotification.extraFields objectForKey:@"apx_dpl"]); } |
Swift
#pragma mark - Schemes func appoxee(_ appoxee: Appoxee, handledRemoteNotification pushNotification: APXPushNotification, andIdentifer actionIdentifier: String) { // Here the special field will be received in extra parameters in "pushNotification" print("URL - \(pushNotification.extraFields["apx_dpl"])") } |