@selligent-marketing-cloud/selligent-react-native 2.4.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/README.md +354 -245
- package/RNSelligent.podspec +4 -4
- package/android/build/generated/source/buildConfig/debug/com/selligent/BuildConfig.java +12 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +9 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +16 -0
- package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +2 -0
- package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/R.txt +6408 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +1 -0
- package/android/build/intermediates/incremental/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/BroadcastDataFactory$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/BroadcastDataFactory.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/BroadcastEventDataParser.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/BroadcastEventType.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/BuildConfig.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/ButtonBroadcastEventDataParser.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/ClearCacheIntervalValue.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/Event.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/EventReceiver.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/EventType.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/GCMTokenBroadcastEventDataParser.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/InAppMessageBroadcastEventDataParser.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/InAppMessageRefreshType.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent$2.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent$3.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent$4.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent$5.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligentPackage.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/RemoteMessageDisplayType.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/SMEventFactory$1.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/SMEventFactory.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/SMSettingsFactory.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/Settings.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +2 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +11 -0
- package/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml +9 -0
- package/android/build/intermediates/navigation_json/debug/navigation.json +1 -0
- package/android/build/intermediates/packaged_manifests/debug/output-metadata.json +16 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +4798 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +25 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/source-classes-mapping.txt +43 -0
- package/android/build.gradle +38 -32
- package/android/libs/sdk-release.aar +0 -0
- package/android/src/main/java/com/selligent/RNSelligent.java +41 -3
- package/android/src/main/java/com/selligent/SMSettingsFactory.java +1 -0
- package/android/src/main/java/com/selligent/Settings.java +16 -0
- package/constants.d.ts +18 -0
- package/constants.js +30 -2
- package/index.android.js +42 -0
- package/index.d.ts +14 -6
- package/index.ios.js +12 -29
- package/index.js +13 -1
- package/ios/ClientSettings.h +2 -0
- package/ios/ClientSettings.m +4 -0
- package/ios/EnumMapper.h +3 -6
- package/ios/EnumMapper.m +8 -24
- package/ios/RNSelligent.m +25 -13
- package/ios/RemoteMessageDisplayType.h +5 -0
- package/ios/SMManagerSetting+ClientSettings.m +15 -4
- package/ios/SelligentReactNative.xcodeproj/project.pbxproj +4 -12
- package/ios/include/SMBaseMessage.h +8 -12
- package/ios/include/SMBlock.h +2 -2
- package/ios/include/SMClearCache.h +0 -2
- package/ios/include/SMContentAlignment.h +1 -2
- package/ios/include/SMDeviceInfos.h +10 -8
- package/ios/include/SMDisplayMode.h +1 -2
- package/ios/include/SMEvent.h +21 -17
- package/ios/include/SMEventUser.h +0 -1
- package/ios/include/SMEventUserLogin.h +11 -16
- package/ios/include/SMEventUserLogout.h +12 -16
- package/ios/include/SMEventUserRegistration.h +12 -17
- package/ios/include/SMEventUserUnregistration.h +12 -16
- package/ios/include/SMFailure.h +1 -6
- package/ios/include/SMHelper.h +12 -4
- package/ios/include/SMInAppContentHTMLViewController.h +11 -9
- package/ios/include/SMInAppContentImageViewController.h +6 -6
- package/ios/include/SMInAppContentMessage.h +12 -12
- package/ios/include/SMInAppContentStyleOptions.h +91 -79
- package/ios/include/SMInAppContentType.h +2 -3
- package/ios/include/SMInAppContentURLViewController.h +10 -9
- package/ios/include/SMInAppContentViewController.h +3 -6
- package/ios/include/SMInAppMessage.h +22 -14
- package/ios/include/SMInAppMessageType.h +2 -6
- package/ios/include/SMInAppRefreshType.h +1 -1
- package/ios/include/SMLink.h +7 -11
- package/ios/include/SMLog.h +1 -1
- package/ios/include/SMManager+DataTransaction.h +6 -13
- package/ios/include/SMManager+InAppContent.h +20 -23
- package/ios/include/SMManager+InAppMessage.h +65 -42
- package/ios/include/SMManager+Location.h +7 -63
- package/ios/include/SMManager+Log.h +3 -14
- package/ios/include/SMManager+RemoteNotification.h +38 -34
- package/ios/include/SMManager+SMEvent.h +10 -10
- package/ios/include/SMManager+SMLink.h +44 -0
- package/ios/include/SMManager+SilentPush.h +5 -22
- package/ios/include/SMManager+StyleOptions.h +5 -8
- package/ios/include/SMManager+UserNotification.h +47 -35
- package/ios/include/SMManager+ViewController.h +45 -0
- package/ios/include/SMManager.h +15 -24
- package/ios/include/SMManagerInAppMessageDelegate.h +24 -0
- package/ios/include/SMManagerSetting+Location.h +27 -0
- package/ios/include/SMManagerSetting.h +61 -33
- package/ios/include/SMManagerSettingIAC.h +6 -17
- package/ios/include/SMManagerSettingIAM.h +7 -16
- package/ios/include/SMManagerUniversalLinksDelegate.h +23 -0
- package/ios/include/SMMessage.h +1 -3
- package/ios/include/SMNSNotification.h +21 -13
- package/ios/include/SMNotificationAnnotationData.h +4 -8
- package/ios/include/SMNotificationButtonData.h +1 -6
- package/ios/include/SMNotificationButtonType.h +1 -14
- package/ios/include/SMNotificationMessage.h +31 -0
- package/ios/include/SMRemoteMessageDisplayType.h +32 -0
- package/ios/include/SMSuccess.h +1 -4
- package/ios/{libSelligentMobile2.5.2.a → libSelligentMobile.a} +0 -0
- package/package.json +3 -3
- package/trigger.yml +9 -0
- package/ios/include/SMLocationAuthorisationType.h +0 -57
|
@@ -9,39 +9,34 @@
|
|
|
9
9
|
#import "SMEventUser.h"
|
|
10
10
|
|
|
11
11
|
/*!
|
|
12
|
-
*
|
|
13
|
-
* @inherits SMEventUser
|
|
14
|
-
* @discussion user registration event class
|
|
15
|
-
* #SMEventUserRegistration:#
|
|
12
|
+
* User registration event class
|
|
16
13
|
*/
|
|
17
14
|
@interface SMEventUserRegistration : SMEventUser
|
|
18
15
|
|
|
19
|
-
|
|
20
16
|
/*!
|
|
21
17
|
* Create a UserRegistration event object that will be sent to selligent platform when user registered
|
|
22
18
|
*
|
|
23
|
-
* @param mail
|
|
24
|
-
* @return
|
|
19
|
+
* @param mail The e-mail of the user
|
|
20
|
+
* @return An SMEventUserRegistration object
|
|
25
21
|
*/
|
|
26
|
-
+ (instancetype _Nonnull)eventWithEmail:(NSString*_Null_unspecified)mail;
|
|
22
|
+
+ (instancetype _Nonnull) eventWithEmail:(NSString*_Null_unspecified)mail;
|
|
27
23
|
|
|
28
24
|
/*!
|
|
29
25
|
* Create a UserRegistration event object that will be sent to selligent platform when user registered
|
|
30
26
|
*
|
|
31
|
-
* @param mail
|
|
32
|
-
* @param dict
|
|
27
|
+
* @param mail The e-mail of the user
|
|
28
|
+
* @param dict A Dictionary containing a string as data that must be stored and managed by platform
|
|
33
29
|
* If email is not provided you can use in the dictionary an alternate key/value field to search for the user
|
|
34
|
-
*
|
|
35
|
-
* @return a SMEventUserRegistration object
|
|
30
|
+
* @return An SMEventUserRegistration object
|
|
36
31
|
*/
|
|
37
|
-
+ (instancetype _Nonnull)eventWithEmail:(NSString*_Null_unspecified)mail Dictionary:(NSDictionary<NSString*,NSString*>*_Nullable)dict;
|
|
32
|
+
+ (instancetype _Nonnull) eventWithEmail:(NSString*_Null_unspecified)mail Dictionary:(NSDictionary<NSString*,NSString*>*_Nullable)dict;
|
|
38
33
|
|
|
39
34
|
/*!
|
|
40
35
|
* Create a UserRegistration event object that will be sent to platform
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* @return
|
|
36
|
+
*
|
|
37
|
+
* @param dict A Dictionary containing an alternate key/value field to search for the user
|
|
38
|
+
* @return An SMEventUserRegistration object
|
|
44
39
|
*/
|
|
45
|
-
+ (instancetype _Nonnull)eventWithDictionary:(NSDictionary* _Nullable)dict;
|
|
40
|
+
+ (instancetype _Nonnull) eventWithDictionary:(NSDictionary* _Nullable)dict;
|
|
46
41
|
|
|
47
42
|
@end
|
|
@@ -9,38 +9,34 @@
|
|
|
9
9
|
#import "SMEventUser.h"
|
|
10
10
|
|
|
11
11
|
/*!
|
|
12
|
-
*
|
|
13
|
-
* @inherits SMEventUser
|
|
14
|
-
* @discussion user unregistration event class
|
|
15
|
-
* #SMEventUserUnregistration:#
|
|
12
|
+
* User unregistration event class
|
|
16
13
|
*/
|
|
17
14
|
@interface SMEventUserUnregistration : SMEventUser
|
|
18
15
|
|
|
19
16
|
/*!
|
|
20
17
|
* Create a UserUnregistration event object that will be sent to selligent platform when user unregistered
|
|
21
18
|
*
|
|
22
|
-
* @param mail
|
|
23
|
-
* @return
|
|
19
|
+
* @param mail The e-mail of the user
|
|
20
|
+
* @return An SMEventUserUnregistration object
|
|
24
21
|
*/
|
|
25
|
-
+ (instancetype _Nonnull)eventWithEmail:(NSString* _Null_unspecified)mail;
|
|
22
|
+
+ (instancetype _Nonnull) eventWithEmail:(NSString* _Null_unspecified)mail;
|
|
26
23
|
|
|
27
24
|
/*!
|
|
28
25
|
* Create a UserUnregistration event object that will be sent to selligent platform when user unregistered
|
|
29
26
|
*
|
|
30
|
-
* @param mail
|
|
31
|
-
* @param dict
|
|
27
|
+
* @param mail The e-mail of the user
|
|
28
|
+
* @param dict A Dictionary containing a string as data that must be stored and managed by platform
|
|
32
29
|
* If email is not provided you can use in the dictionary an alternate key/value field to search for the user
|
|
33
|
-
*
|
|
34
|
-
* @return a SMEventUserUnregistration object
|
|
30
|
+
* @return An SMEventUserUnregistration object
|
|
35
31
|
*/
|
|
36
|
-
+ (instancetype _Nonnull)eventWithEmail:(NSString* _Null_unspecified)mail Dictionary:(NSDictionary<NSString*,NSString*>* _Nullable)dict;
|
|
32
|
+
+ (instancetype _Nonnull) eventWithEmail:(NSString* _Null_unspecified)mail Dictionary:(NSDictionary<NSString*,NSString*>* _Nullable)dict;
|
|
37
33
|
|
|
38
34
|
/*!
|
|
39
35
|
* Create a UserUnregistration event object that will be sent to platform
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* @return
|
|
36
|
+
*
|
|
37
|
+
* @param dict A Dictionary containing an alternate key/value field to search for the user
|
|
38
|
+
* @return An SMEventUserUnregistration object
|
|
43
39
|
*/
|
|
44
|
-
+ (instancetype _Nonnull)eventWithDictionary:(NSDictionary* _Nullable)dict;
|
|
40
|
+
+ (instancetype _Nonnull) eventWithDictionary:(NSDictionary* _Nullable)dict;
|
|
45
41
|
|
|
46
42
|
@end
|
package/ios/include/SMFailure.h
CHANGED
package/ios/include/SMHelper.h
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
//
|
|
2
|
-
// SMHelper.h
|
|
2
|
+
// SMHelper+Location.h
|
|
3
3
|
// MobileSDK
|
|
4
4
|
//
|
|
5
|
-
// Created by
|
|
6
|
-
// Copyright
|
|
5
|
+
// Created by Marc Biosca on 6/29/21.
|
|
6
|
+
// Copyright © 2021 Selligent. All rights reserved.
|
|
7
7
|
//
|
|
8
8
|
|
|
9
|
+
#import "SMManager+Location.h"
|
|
10
|
+
#import "SMManagerSetting+Location.h"
|
|
9
11
|
|
|
10
12
|
#import "SMManagerHelper.h"
|
|
11
13
|
|
|
12
14
|
#import "SMNSNotification.h"
|
|
13
15
|
#import "SMLink.h"
|
|
14
16
|
#import "SMNotificationButtonData.h"
|
|
17
|
+
#import "SMNotificationAnnotationData.h"
|
|
18
|
+
#import "SMNotificationMessage.h"
|
|
15
19
|
|
|
16
20
|
#import "SMManagerSetting.h"
|
|
17
21
|
#import "SMManagerSettingIAM.h"
|
|
@@ -25,8 +29,12 @@
|
|
|
25
29
|
#import "SMManager+SilentPush.h"
|
|
26
30
|
#import "SMManager+SMEvent.h"
|
|
27
31
|
#import "SMManager+Log.h"
|
|
28
|
-
#import "SMManager+Location.h"
|
|
29
32
|
#import "SMManager+StyleOptions.h"
|
|
33
|
+
#import "SMManager+ViewController.h"
|
|
34
|
+
#import "SMManager+SMLink.h"
|
|
35
|
+
|
|
36
|
+
#import "SMManagerInAppMessageDelegate.h"
|
|
37
|
+
#import "SMManagerUniversalLinksDelegate.h"
|
|
30
38
|
|
|
31
39
|
#import "SMInAppContentImageViewController.h"
|
|
32
40
|
#import "SMInAppContentURLViewController.h"
|
|
@@ -10,48 +10,50 @@
|
|
|
10
10
|
#import "SMInAppContentStyleOptions.h"
|
|
11
11
|
|
|
12
12
|
/*!
|
|
13
|
-
*
|
|
14
|
-
* #SMInAppContentHTMLViewController :#
|
|
13
|
+
* A view controller for HTML In App Content
|
|
15
14
|
*/
|
|
16
15
|
@interface SMInAppContentHTMLViewController : SMInAppContentViewController
|
|
17
16
|
|
|
18
|
-
|
|
19
17
|
/*!
|
|
20
18
|
* This will provide you a custom viewcontroller with all HTML in app content for a specific category
|
|
19
|
+
*
|
|
21
20
|
* @discussion The viewcontroller will take all available space in screen and will contain a close button if it is presented as it is. Otherwise the app will have to define a UIContainerView which will contain the view controller
|
|
22
21
|
* @param category a NSString of the desired category of In App Content
|
|
23
22
|
* @return a SMInAppContentHTMLViewController
|
|
24
23
|
*/
|
|
25
|
-
+ (instancetype) viewControllerForCategory:(NSString*)category ;
|
|
24
|
+
+ (instancetype _Nonnull) viewControllerForCategory:(NSString*_Nullable)category ;
|
|
26
25
|
|
|
27
26
|
/*!
|
|
28
27
|
* This will provide you a custom viewcontroller with all HTML in app content for a specific category
|
|
28
|
+
*
|
|
29
29
|
* @discussion The viewcontroller will take all available space in screen and will contain a close button if it is presented as it is. Otherwise the app will have to define a UIContainerView which will contain the view controller
|
|
30
30
|
* @param category a NSString of the desired category of In App Content
|
|
31
31
|
* @param options a SMInAppContentStyleOptions object allowing you to customise the in app content
|
|
32
32
|
* @return a SMInAppContentHTMLViewController
|
|
33
|
+
* @see SMInAppContentStyleOptions
|
|
33
34
|
*/
|
|
34
|
-
+ (instancetype) viewControllerForCategory:(NSString*)category AndOptions:(SMInAppContentStyleOptions*)options ;
|
|
35
|
+
+ (instancetype _Nonnull) viewControllerForCategory:(NSString*_Nullable)category AndOptions:(SMInAppContentStyleOptions*_Nullable)options ;
|
|
35
36
|
|
|
36
37
|
/*!
|
|
37
38
|
* This will provide you a custom viewcontroller with HTML in app content for a specific category
|
|
39
|
+
*
|
|
38
40
|
* @discussion The viewcontroller will take all available space in screen and will contain a close button if it is presented as it is. Otherwise the app will have to provide a UIContainerView which will contain the view controller
|
|
39
41
|
* @param category a NSString of the desired category of In App Content
|
|
40
42
|
* @param numberofboxes an int corresponding to the maximum numbers of html boxes that the view controller must contain
|
|
41
43
|
* @return a SMInAppContentHTMLViewController
|
|
42
44
|
*/
|
|
43
|
-
+ (instancetype) viewControllerForCategory:(NSString*)category InNumberOfBoxes:(int) numberofboxes ;
|
|
44
|
-
|
|
45
|
+
+ (instancetype _Nonnull) viewControllerForCategory:(NSString*_Nullable)category InNumberOfBoxes:(int) numberofboxes ;
|
|
45
46
|
|
|
46
47
|
/*!
|
|
47
48
|
* This will provide you a custom viewcontroller with HTML in app content for a specific category
|
|
49
|
+
*
|
|
48
50
|
* @discussion The viewcontroller will take all available space in screen and will contain a close button if it is presented as it is. Otherwise the app will have to provide a UIContainerView which will contain the view controller
|
|
49
51
|
* @param category a NSString of the desired category of In App Content
|
|
50
52
|
* @param numberofboxes an int corresponding to the maximum numbers of html boxes that the view controller must contain
|
|
51
53
|
* @param options a SMInAppContentStyleOptions object allowing you to customise the in app content
|
|
52
54
|
* @return a SMInAppContentHTMLViewController
|
|
55
|
+
* @see SMInAppContentStyleOptions
|
|
53
56
|
*/
|
|
54
|
-
+ (instancetype) viewControllerForCategory:(NSString*)category InNumberOfBoxes:(int) numberofboxes AndOptions:(SMInAppContentStyleOptions*)options ;
|
|
55
|
-
|
|
57
|
+
+ (instancetype _Nonnull) viewControllerForCategory:(NSString*_Nullable)category InNumberOfBoxes:(int) numberofboxes AndOptions:(SMInAppContentStyleOptions*_Nullable)options ;
|
|
56
58
|
|
|
57
59
|
@end
|
|
@@ -8,29 +8,29 @@
|
|
|
8
8
|
|
|
9
9
|
#import "SMInAppContentViewController.h"
|
|
10
10
|
|
|
11
|
-
|
|
12
11
|
/*!
|
|
13
|
-
*
|
|
14
|
-
* #SMInAppContentImageViewController :#
|
|
12
|
+
* A view controller for Image In App Content
|
|
15
13
|
*/
|
|
16
14
|
@interface SMInAppContentImageViewController : SMInAppContentViewController
|
|
17
15
|
|
|
18
16
|
/*!
|
|
19
17
|
* This will provide you a custom viewcontroller with one image view loaded with the url provided by an in app content for a specific category of image type
|
|
18
|
+
*
|
|
20
19
|
* @discussion The viewcontroller will take all available space in screen and will contain a close button if it is presented as it is. Otherwise the app will have to provide a UIContainerView which will contain the view controller
|
|
21
20
|
* @param category a NSString of the desired category of In App Content
|
|
22
21
|
* @return a SMInAppContentImageViewController
|
|
23
22
|
*/
|
|
24
|
-
+ (instancetype) viewControllerForCategory:(NSString*)category;
|
|
23
|
+
+ (instancetype _Nonnull) viewControllerForCategory:(NSString*_Nullable)category;
|
|
25
24
|
|
|
26
25
|
/*!
|
|
27
26
|
* This will provide you a custom viewcontroller with one web view loaded with the url provided by an in app content for a specific category of an Image type
|
|
27
|
+
*
|
|
28
28
|
* @discussion The viewcontroller will take all available space in screen and will contain a close button if it is presented as it is. Otherwise the app will have to define a UIContainerView which will contain the view controller
|
|
29
29
|
* @param category a NSString of the desired category of In App Content
|
|
30
30
|
* @param options a SMInAppContentStyleOptions object allowing you to customise the in app content
|
|
31
31
|
* @return a SMInAppContentImageViewController
|
|
32
|
+
* @see SMInAppContentStyleOptions
|
|
32
33
|
*/
|
|
33
|
-
+ (instancetype) viewControllerForCategory:(NSString*)category AndOptions:(SMInAppContentStyleOptions*)options
|
|
34
|
-
|
|
34
|
+
+ (instancetype _Nonnull) viewControllerForCategory:(NSString*_Nullable)category AndOptions:(SMInAppContentStyleOptions*_Nullable)options;
|
|
35
35
|
|
|
36
36
|
@end
|
|
@@ -11,46 +11,46 @@
|
|
|
11
11
|
#import "SMInAppContentType.h"
|
|
12
12
|
#import "SMDisplayMode.h"
|
|
13
13
|
|
|
14
|
-
/*!
|
|
15
|
-
* #SMInAppContentMessage :#
|
|
16
|
-
*/
|
|
17
14
|
@interface SMInAppContentMessage : SMBaseMessage
|
|
18
15
|
|
|
19
16
|
/*!
|
|
20
17
|
* NSString instance providing the title of the message
|
|
21
18
|
*/
|
|
22
|
-
@property (nonatomic) NSString * title;
|
|
19
|
+
@property (readonly, nonatomic) NSString *_Nullable title;
|
|
23
20
|
|
|
24
21
|
/*!
|
|
25
22
|
* NSString instance providing the content of the message
|
|
26
23
|
*/
|
|
27
|
-
@property (nonatomic) NSString * body;
|
|
24
|
+
@property (readonly, nonatomic) NSString *_Nullable body;
|
|
28
25
|
|
|
29
26
|
/*!
|
|
30
27
|
* NSString instance providing the category of the message
|
|
31
28
|
*/
|
|
32
|
-
@property (nonatomic) NSString * category;
|
|
29
|
+
@property (readonly, nonatomic) NSString *_Nullable category;
|
|
33
30
|
|
|
34
31
|
/*!
|
|
35
32
|
* SMInAppContentType instance providing the in app content type of the message
|
|
33
|
+
* @see SMInAppContentType
|
|
36
34
|
*/
|
|
37
|
-
@property (nonatomic) SMInAppContentType
|
|
35
|
+
@property (readonly, nonatomic) SMInAppContentType iacType;
|
|
38
36
|
|
|
39
37
|
/*!
|
|
40
38
|
* NSDate instance providing the expiration date of the message
|
|
41
|
-
*
|
|
39
|
+
*
|
|
40
|
+
* @warning Deprecated - use expirationDate on SMBaseMessage instead
|
|
42
41
|
*/
|
|
43
|
-
@property (nonatomic) NSDate
|
|
42
|
+
@property (readonly, nonatomic) NSDate *_Nullable contentExpiration __deprecated __deprecated_msg("Use expirationDate instead.");
|
|
44
43
|
|
|
45
44
|
/*!
|
|
46
45
|
* NSDate instance providing the creation date of the message
|
|
47
|
-
*
|
|
46
|
+
*
|
|
47
|
+
* @warning Deprecated - use creationDate on SMBaseMessage instead
|
|
48
48
|
*/
|
|
49
|
-
@property (nonatomic) NSDate
|
|
49
|
+
@property (readonly, nonatomic) NSDate *_Nullable contentCreation __deprecated __deprecated_msg("Use creationDate instead.");
|
|
50
50
|
|
|
51
51
|
/*!
|
|
52
52
|
* NSArray of SMLink objects
|
|
53
53
|
*/
|
|
54
|
-
@property (nonatomic) NSArray
|
|
54
|
+
@property (readonly, nonatomic) NSArray *_Nullable arrayIACLinks;
|
|
55
55
|
|
|
56
56
|
@end
|