-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from CleverTap/develop
SDK-2803-Push primer support
- Loading branch information
Showing
28 changed files
with
814 additions
and
26 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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
Binary file modified
BIN
+0 Bytes
(100%)
Plugin/CleverTapUnity/iOS/CleverTapSDK.framework/CTCarouselImageView.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Plugin/CleverTapUnity/iOS/CleverTapSDK.framework/CTInboxIconMessageCell~land.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Plugin/CleverTapUnity/iOS/CleverTapSDK.framework/CTInboxIconMessageCell~port.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Plugin/CleverTapUnity/iOS/CleverTapSDK.framework/CTInboxSimpleMessageCell~land.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Plugin/CleverTapUnity/iOS/CleverTapSDK.framework/CTInboxSimpleMessageCell~port.nib
Binary file not shown.
Binary file modified
BIN
-1.66 MB
(50%)
Plugin/CleverTapUnity/iOS/CleverTapSDK.framework/CleverTapSDK
Binary file not shown.
71 changes: 71 additions & 0 deletions
71
Plugin/CleverTapUnity/iOS/CleverTapSDK.framework/Headers/CTLocalInApp.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,71 @@ | ||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
typedef NS_ENUM(NSUInteger, CTLocalInAppType) { | ||
ALERT, | ||
HALF_INTERSTITIAL | ||
}; | ||
|
||
/*! | ||
@abstract | ||
The `CTLocalInApp` represents the builder class to display local in-app. | ||
*/ | ||
@interface CTLocalInApp : NSObject | ||
|
||
/*! | ||
@method | ||
@abstract | ||
Initializes and returns an instance of the CTLocalInApp. | ||
@discussion | ||
This method have all parameters as required fields. | ||
@param inAppType the local in-app type, ALERT or HALF_INTERSTITIAL | ||
@param titleText in-app title text | ||
@param messageText in-app message text | ||
@param followDeviceOrientation If YES, in-app will display in both orientation. If NO, in-app will not display in landscape orientation | ||
@param positiveBtnText in-app positive button text, eg "Allow" | ||
@param negativeBtnText in-app negative button text, eg "Cancel" | ||
*/ | ||
- (instancetype)initWithInAppType:(CTLocalInAppType)inAppType | ||
titleText:(NSString *)titleText | ||
messageText:(NSString *)messageText | ||
followDeviceOrientation:(BOOL)followDeviceOrientation | ||
positiveBtnText:(NSString *)positiveBtnText | ||
negativeBtnText:(NSString *)negativeBtnText; | ||
|
||
/** | ||
Returns NSDictionary having all local in-app settings as key-value pair. | ||
*/ | ||
- (NSDictionary *)getLocalInAppSettings; | ||
|
||
/* ----------------- | ||
* Optional methods. | ||
* ----------------- | ||
*/ | ||
- (void)setBackgroundColor:(NSString *)backgroundColor; | ||
- (void)setTitleTextColor:(NSString *)titleTextColor; | ||
- (void)setMessageTextColor:(NSString *)messageTextColor; | ||
- (void)setBtnBorderRadius:(NSString *)btnBorderRadius; | ||
- (void)setBtnTextColor:(NSString *)btnTextColor; | ||
- (void)setBtnBorderColor:(NSString *)btnBorderColor; | ||
- (void)setBtnBackgroundColor:(NSString *)btnBackgroundColor; | ||
- (void)setImageUrl:(NSString *)imageUrl; | ||
|
||
/** | ||
If fallbackToSettings is YES and permission is denied, then we fallback to app’s notification settings. | ||
If fallbackToSettings is NO, then we just throw a log saying permission is denied. | ||
*/ | ||
- (void)setFallbackToSettings:(BOOL)fallbackToSettings; | ||
|
||
/** | ||
If skipAlert is YES, then we skip the settings alert dialog shown before opening app notification settings. | ||
*/ | ||
- (void)setSkipSettingsAlert:(BOOL)skipAlert; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
Oops, something went wrong.