-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MC-1468] Custom templates present and dismiss (Custom Templates Part…
… 4) (#332) * Implement Template Context * Implement custom template present and dismiss * Clear template context delegate on dismiss * Test evaluate custom templates * Add template present and dismiss tests
- Loading branch information
1 parent
26175fc
commit 29c2ba0
Showing
28 changed files
with
936 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// | ||
// CTInAppNotificationDisplayDelegate.h | ||
// CleverTapSDK | ||
// | ||
// Created by Nikola Zagorchev on 21.05.24. | ||
// Copyright © 2024 CleverTap. All rights reserved. | ||
// | ||
|
||
#ifndef CTInAppNotificationDisplayDelegate_h | ||
#define CTInAppNotificationDisplayDelegate_h | ||
|
||
@class CTInAppDisplayViewController; | ||
|
||
@protocol CTInAppNotificationDisplayDelegate <NSObject> | ||
|
||
- (void)notificationDidShow:(CTInAppNotification *)notification; | ||
|
||
- (void)handleNotificationCTA:(NSURL *)ctaURL buttonCustomExtras:(NSDictionary *)buttonCustomExtras forNotification:(CTInAppNotification *)notification fromViewController:(CTInAppDisplayViewController *)controller withExtras:(NSDictionary *)extras; | ||
|
||
- (void)notificationDidDismiss:(CTInAppNotification *)notification fromViewController:(CTInAppDisplayViewController *)controller; | ||
|
||
/** | ||
Called when in-app button is tapped for requesting push permission. | ||
*/ | ||
- (void)handleInAppPushPrimer:(CTInAppNotification *)notification | ||
fromViewController:(CTInAppDisplayViewController *)controller | ||
withFallbackToSettings:(BOOL)isFallbackToSettings; | ||
|
||
/** | ||
Called to notify that local in-app push primer is dismissed. | ||
*/ | ||
- (void)inAppPushPrimerDidDismissed; | ||
|
||
@end | ||
|
||
#endif /* Header_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.