Skip to content

Commit

Permalink
chore: Update Plugin.h files to support Xiaomi, Baidu and Huawei
Browse files Browse the repository at this point in the history
  • Loading branch information
SuryaClevertap committed May 16, 2020
1 parent 0a1b6d9 commit 1682f97
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ static NSString* const CTHandleOpenURLNotification = @"CTHandleOpenURLNotificati
- (void)setPushTokenAsString:(CDVInvokedUrlCommand *)command;
- (void)setPushToken:(NSData*)pushToken;

/**
Xiaomi, Baidu and Huawei Push Token Changes
*/
-(void)setPushXiaomiTokenAsString:(CDVInvokedUrlCommand *)command;
-(void)setPushBaiduTokenAsString:(CDVInvokedUrlCommand *)command;
-(void)setPushHuaweiTokenAsString:(CDVInvokedUrlCommand *)command;

/** Let CleverTap handle the push notification
CleverTap will insure your AppDelege OpenUrl: sourceApplication: is called with a deep link, if included in notification
*/
Expand Down
7 changes: 7 additions & 0 deletions src/ios/CleverTapPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ static NSString* const CTHandleOpenURLNotification = @"CTHandleOpenURLNotificati
- (void)setPushTokenAsString:(CDVInvokedUrlCommand *)command;
- (void)setPushToken:(NSData*)pushToken;

/**
Xiaomi, Baidu and Huawei Push Token Changes
*/
-(void)setPushXiaomiTokenAsString:(CDVInvokedUrlCommand *)command;
-(void)setPushBaiduTokenAsString:(CDVInvokedUrlCommand *)command;
-(void)setPushHuaweiTokenAsString:(CDVInvokedUrlCommand *)command;

/** Let CleverTap handle the push notification
CleverTap will insure your AppDelege OpenUrl: sourceApplication: is called with a deep link, if included in notification
*/
Expand Down

0 comments on commit 1682f97

Please sign in to comment.