Closed archerx3 closed 6 years ago
Hey @archerx3, Could you please reach out to the CleverTap support team at support@clevertap.com with your use-case and more details.
I mean in code, provide the API to custom actions for different notifications.
- (void)didReceiveNotificationResponse:(UNNotificationResponse *)response
completionHandler:(void (^)(UNNotificationContentExtensionResponseOption))completion {
UNNotificationContentExtensionResponseOption actionResponseOption = [self.contentViewController handleAction:response.actionIdentifier];
completion(actionResponseOption);
}
- (UNNotificationContentExtensionResponseOption)handleAction:(NSString *)action
{
// If can open some API, to handle custom action
}
RT, Can you provide more custom actions with more different notification?
Need custom more actions for different notification, and different handle for different action.