forked from CleverTap/clevertap-cordova
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd2b913
commit cbd819e
Showing
98 changed files
with
223 additions
and
22 deletions.
There are no files selected for viewing
Binary file modified
BIN
+5 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTAVPlayerControlsViewController.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTAVPlayerControlsViewController.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+6 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCarouselImageMessageCell~land.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+9 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCarouselImageMessageCell~land.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+4 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCarouselImageMessageCell~port.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-9 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCarouselImageMessageCell~port.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+3 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCarouselImageView.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-4 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCarouselImageView.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+6 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCarouselMessageCell~land.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCarouselMessageCell~land.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-8 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCarouselMessageCell~port.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-1 Byte
(100%)
src/ios/CleverTapSDK.framework/CTCarouselMessageCell~port.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCoverImageViewController~ipad.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCoverImageViewController~ipad.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCoverImageViewController~ipadland.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
src/ios/CleverTapSDK.framework/CTCoverImageViewController~ipadland.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+3 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCoverImageViewController~iphoneland.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCoverImageViewController~iphoneland.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
src/ios/CleverTapSDK.framework/CTCoverImageViewController~iphoneport.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-5 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCoverImageViewController~iphoneport.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+6 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCoverViewController~ipad.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCoverViewController~ipad.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCoverViewController~ipadland.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-7 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCoverViewController~ipadland.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-4 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCoverViewController~iphoneland.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+5 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCoverViewController~iphoneland.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-5 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTCoverViewController~iphoneport.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-1 Byte
(100%)
src/ios/CleverTapSDK.framework/CTCoverViewController~iphoneport.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTFooterViewController~ipad.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
src/ios/CleverTapSDK.framework/CTFooterViewController~ipad.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-15 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTFooterViewController~ipadland.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-5 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTFooterViewController~ipadland.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+3 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTFooterViewController~iphoneland.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+14 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTFooterViewController~iphoneland.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-4 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTFooterViewController~iphoneport.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTFooterViewController~iphoneport.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
...s/CleverTapSDK.framework/CTHalfInterstitialImageViewController~ipad.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+7 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTHalfInterstitialImageViewController~ipad.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+3 Bytes
(100%)
...everTapSDK.framework/CTHalfInterstitialImageViewController~ipadland.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-9 Bytes
(100%)
...ios/CleverTapSDK.framework/CTHalfInterstitialImageViewController~ipadland.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-1 Byte
(100%)
...erTapSDK.framework/CTHalfInterstitialImageViewController~iphoneland.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+5 Bytes
(100%)
...s/CleverTapSDK.framework/CTHalfInterstitialImageViewController~iphoneland.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+5 Bytes
(100%)
...erTapSDK.framework/CTHalfInterstitialImageViewController~iphoneport.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+3 Bytes
(100%)
...s/CleverTapSDK.framework/CTHalfInterstitialImageViewController~iphoneport.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-8 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTHalfInterstitialViewController~ipad.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+11 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTHalfInterstitialViewController~ipad.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+15 Bytes
(100%)
...os/CleverTapSDK.framework/CTHalfInterstitialViewController~ipadland.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-11 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTHalfInterstitialViewController~ipadland.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-1 Byte
(100%)
.../CleverTapSDK.framework/CTHalfInterstitialViewController~iphoneland.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-5 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTHalfInterstitialViewController~iphoneland.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-5 Bytes
(100%)
.../CleverTapSDK.framework/CTHalfInterstitialViewController~iphoneport.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+9 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTHalfInterstitialViewController~iphoneport.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTHeaderViewController~ipad.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTHeaderViewController~ipad.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-1 Byte
(100%)
src/ios/CleverTapSDK.framework/CTHeaderViewController~ipadland.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-8 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTHeaderViewController~ipadland.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTHeaderViewController~iphoneland.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-1 Byte
(100%)
src/ios/CleverTapSDK.framework/CTHeaderViewController~iphoneland.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+11 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTHeaderViewController~iphoneport.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-1 Byte
(100%)
src/ios/CleverTapSDK.framework/CTHeaderViewController~iphoneport.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
src/ios/CleverTapSDK.framework/CTInboxIconMessageCell~land.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-9 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInboxIconMessageCell~land.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+4 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInboxIconMessageCell~port.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInboxIconMessageCell~port.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-4 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInboxSimpleMessageCell~land.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-17 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInboxSimpleMessageCell~land.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-4 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInboxSimpleMessageCell~port.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-3 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInboxSimpleMessageCell~port.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+5 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInterstitialImageViewController~ipad.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInterstitialImageViewController~ipad.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+3 Bytes
(100%)
...s/CleverTapSDK.framework/CTInterstitialImageViewController~ipadland.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+13 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInterstitialImageViewController~ipadland.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-6 Bytes
(100%)
...CleverTapSDK.framework/CTInterstitialImageViewController~iphoneland.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-4 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInterstitialImageViewController~iphoneland.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-8 Bytes
(100%)
...CleverTapSDK.framework/CTInterstitialImageViewController~iphoneport.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-5 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInterstitialImageViewController~iphoneport.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInterstitialViewController~ipad.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInterstitialViewController~ipad.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-1 Byte
(100%)
src/ios/CleverTapSDK.framework/CTInterstitialViewController~ipadland.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+4 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInterstitialViewController~ipadland.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
-11 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInterstitialViewController~iphoneland.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInterstitialViewController~iphoneland.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+20 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInterstitialViewController~iphoneport.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+5 Bytes
(100%)
src/ios/CleverTapSDK.framework/CTInterstitialViewController~iphoneport.nib/runtime.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/ios/CleverTapSDK.framework/CleverTapInboxViewController.nib/objects-11.0+.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/ios/CleverTapSDK.framework/CleverTapInboxViewController.nib/objects-13.0+.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/ios/CleverTapSDK.framework/CleverTapInboxViewController.nib/runtime.nib
Binary file not shown.
Binary file not shown.
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
158 changes: 158 additions & 0 deletions
158
src/ios/CleverTapSDK.framework/Headers/CleverTap+DisplayUnit.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
#import <Foundation/Foundation.h> | ||
#import "CleverTap.h" | ||
@class CleverTapDisplayUnitContent; | ||
|
||
/*! | ||
@abstract | ||
The `CleverTapDisplayUnit` represents the display unit object. | ||
*/ | ||
@interface CleverTapDisplayUnit : NSObject | ||
|
||
- (instancetype _Nullable )initWithJSON:(NSDictionary *_Nullable)json; | ||
/*! | ||
* json defines the display unit data in the form of NSDictionary. | ||
*/ | ||
@property (nullable, nonatomic, copy, readonly) NSDictionary *json; | ||
/*! | ||
* unitID defines the display unit identifier. | ||
*/ | ||
@property (nullable, nonatomic, copy, readonly) NSString *unitID; | ||
/*! | ||
* type defines the display unit type. | ||
*/ | ||
@property (nullable, nonatomic, copy, readonly) NSString *type; | ||
/*! | ||
* bgColor defines the backgroundColor of the display unit. | ||
*/ | ||
@property (nullable, nonatomic, copy, readonly) NSString *bgColor; | ||
/*! | ||
* customExtras defines the extra data in the form of an NSDictionary. The extra key/value pairs set in the CleverTap dashboard. | ||
*/ | ||
@property (nullable, nonatomic, copy, readonly) NSDictionary *customExtras; | ||
/*! | ||
* content defines the content of the display unit. | ||
*/ | ||
@property (nullable, nonatomic, copy, readonly) NSArray<CleverTapDisplayUnitContent *> *contents; | ||
|
||
@end | ||
|
||
/*! | ||
@abstract | ||
The `CleverTapDisplayUnitContent` represents the display unit content. | ||
*/ | ||
@interface CleverTapDisplayUnitContent : NSObject | ||
/*! | ||
* title defines the title section of the display unit content. | ||
*/ | ||
@property (nullable, nonatomic, copy, readonly) NSString *title; | ||
/*! | ||
* titleColor defines hex-code value of the title color as String. | ||
*/ | ||
@property (nullable, nonatomic, copy, readonly) NSString *titleColor; | ||
/*! | ||
* message defines the message section of the display unit content. | ||
*/ | ||
@property (nullable, nonatomic, copy, readonly) NSString *message; | ||
/*! | ||
* messageColor defines hex-code value of the message color as String. | ||
*/ | ||
@property (nullable, nonatomic, copy, readonly) NSString *messageColor; | ||
/*! | ||
* videoPosterUrl defines video URL of the display unit as String. | ||
*/ | ||
@property (nullable, nonatomic, copy, readonly) NSString *videoPosterUrl; | ||
/*! | ||
* actionUrl defines action URL of the display unit as String. | ||
*/ | ||
@property (nullable, nonatomic, copy, readonly) NSString *actionUrl; | ||
/*! | ||
* mediaUrl defines media URL of the display unit as String. | ||
*/ | ||
@property (nullable, nonatomic, copy, readonly) NSString *mediaUrl; | ||
/*! | ||
* iconUrl defines icon URL of the display unit as String. | ||
*/ | ||
@property (nullable, nonatomic, copy, readonly) NSString *iconUrl; | ||
/*! | ||
* mediaIsAudio check whether mediaUrl is an audio. | ||
*/ | ||
@property (nonatomic, readonly, assign) BOOL mediaIsAudio; | ||
/*! | ||
* mediaIsVideo check whether mediaUrl is a video. | ||
*/ | ||
@property (nonatomic, readonly, assign) BOOL mediaIsVideo; | ||
/*! | ||
* mediaIsImage check whether mediaUrl is an image. | ||
*/ | ||
@property (nonatomic, readonly, assign) BOOL mediaIsImage; | ||
/*! | ||
* mediaIsGif check whether mediaUrl is a gif. | ||
*/ | ||
@property (nonatomic, readonly, assign) BOOL mediaIsGif; | ||
|
||
- (instancetype _Nullable )initWithJSON:(NSDictionary *_Nullable)jsonObject; | ||
|
||
@end | ||
|
||
@protocol CleverTapDisplayUnitDelegate <NSObject> | ||
@optional | ||
- (void)displayUnitsUpdated:(NSArray<CleverTapDisplayUnit *>*_Nonnull)displayUnits; | ||
@end | ||
|
||
typedef void (^CleverTapDisplayUnitSuccessBlock)(BOOL success); | ||
|
||
@interface CleverTap (DisplayUnit) | ||
|
||
/*! | ||
@method | ||
@abstract | ||
This method returns all the display units. | ||
*/ | ||
- (NSArray<CleverTapDisplayUnit *>*_Nonnull)getAllDisplayUnits; | ||
|
||
/*! | ||
@method | ||
@abstract | ||
This method return display unit for the provided unitID | ||
*/ | ||
- (CleverTapDisplayUnit *_Nullable)getDisplayUnitForID:(NSString *_Nonnull)unitID; | ||
|
||
/*! | ||
@method | ||
@abstract | ||
The `CleverTapDisplayUnitDelegate` protocol provides methods for notifying | ||
your application (the adopting delegate) about display units. | ||
@discussion | ||
This sets the CleverTapDisplayUnitDelegate. | ||
@param delegate an object conforming to the CleverTapDisplayUnitDelegate Protocol | ||
*/ | ||
- (void)setDisplayUnitDelegate:(id <CleverTapDisplayUnitDelegate>_Nonnull)delegate; | ||
|
||
/*! | ||
@method | ||
@abstract | ||
Record Notification Viewed for display unit. | ||
@param unitID unique id of the display unit | ||
*/ | ||
- (void)recordDisplayUnitViewedEventForID:(NSString *_Nonnull)unitID; | ||
|
||
/*! | ||
@method | ||
@abstract | ||
Record Notification Clicked for display unit. | ||
@param unitID unique id of the display unit | ||
*/ | ||
- (void)recordDisplayUnitClickedEventForID:(NSString *_Nonnull)unitID; | ||
|
||
@end |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
|
||
#define WR_SDK_REVISION @"30701" | ||
#define WR_SDK_REVISION @"30703" |
Binary file not shown.
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