Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

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.

  • Make sure that the developer understand that they need to define a URL scheme

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

#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"])")
}

 


  • No labels