@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.
Files changed (127) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +354 -245
  3. package/RNSelligent.podspec +4 -4
  4. package/android/build/generated/source/buildConfig/debug/com/selligent/BuildConfig.java +12 -0
  5. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +9 -0
  6. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +16 -0
  7. package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +2 -0
  8. package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +1 -0
  9. package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
  10. package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
  11. package/android/build/intermediates/compile_symbol_list/debug/R.txt +6408 -0
  12. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  13. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  14. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
  15. package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +1 -0
  16. package/android/build/intermediates/incremental/packageDebugResources/merger.xml +2 -0
  17. package/android/build/intermediates/javac/debug/classes/com/selligent/BroadcastDataFactory$1.class +0 -0
  18. package/android/build/intermediates/javac/debug/classes/com/selligent/BroadcastDataFactory.class +0 -0
  19. package/android/build/intermediates/javac/debug/classes/com/selligent/BroadcastEventDataParser.class +0 -0
  20. package/android/build/intermediates/javac/debug/classes/com/selligent/BroadcastEventType.class +0 -0
  21. package/android/build/intermediates/javac/debug/classes/com/selligent/BuildConfig.class +0 -0
  22. package/android/build/intermediates/javac/debug/classes/com/selligent/ButtonBroadcastEventDataParser.class +0 -0
  23. package/android/build/intermediates/javac/debug/classes/com/selligent/ClearCacheIntervalValue.class +0 -0
  24. package/android/build/intermediates/javac/debug/classes/com/selligent/Event.class +0 -0
  25. package/android/build/intermediates/javac/debug/classes/com/selligent/EventReceiver.class +0 -0
  26. package/android/build/intermediates/javac/debug/classes/com/selligent/EventType.class +0 -0
  27. package/android/build/intermediates/javac/debug/classes/com/selligent/GCMTokenBroadcastEventDataParser.class +0 -0
  28. package/android/build/intermediates/javac/debug/classes/com/selligent/InAppMessageBroadcastEventDataParser.class +0 -0
  29. package/android/build/intermediates/javac/debug/classes/com/selligent/InAppMessageRefreshType.class +0 -0
  30. package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent$1.class +0 -0
  31. package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent$2.class +0 -0
  32. package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent$3.class +0 -0
  33. package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent$4.class +0 -0
  34. package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent$5.class +0 -0
  35. package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent.class +0 -0
  36. package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligentPackage.class +0 -0
  37. package/android/build/intermediates/javac/debug/classes/com/selligent/RemoteMessageDisplayType.class +0 -0
  38. package/android/build/intermediates/javac/debug/classes/com/selligent/SMEventFactory$1.class +0 -0
  39. package/android/build/intermediates/javac/debug/classes/com/selligent/SMEventFactory.class +0 -0
  40. package/android/build/intermediates/javac/debug/classes/com/selligent/SMSettingsFactory.class +0 -0
  41. package/android/build/intermediates/javac/debug/classes/com/selligent/Settings.class +0 -0
  42. package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +2 -0
  43. package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +11 -0
  44. package/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml +9 -0
  45. package/android/build/intermediates/navigation_json/debug/navigation.json +1 -0
  46. package/android/build/intermediates/packaged_manifests/debug/output-metadata.json +16 -0
  47. package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
  48. package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +4798 -0
  49. package/android/build/outputs/logs/manifest-merger-debug-report.txt +25 -0
  50. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  51. package/android/build/tmp/compileDebugJavaWithJavac/source-classes-mapping.txt +43 -0
  52. package/android/build.gradle +38 -32
  53. package/android/libs/sdk-release.aar +0 -0
  54. package/android/src/main/java/com/selligent/RNSelligent.java +41 -3
  55. package/android/src/main/java/com/selligent/SMSettingsFactory.java +1 -0
  56. package/android/src/main/java/com/selligent/Settings.java +16 -0
  57. package/constants.d.ts +18 -0
  58. package/constants.js +30 -2
  59. package/index.android.js +42 -0
  60. package/index.d.ts +14 -6
  61. package/index.ios.js +12 -29
  62. package/index.js +13 -1
  63. package/ios/ClientSettings.h +2 -0
  64. package/ios/ClientSettings.m +4 -0
  65. package/ios/EnumMapper.h +3 -6
  66. package/ios/EnumMapper.m +8 -24
  67. package/ios/RNSelligent.m +25 -13
  68. package/ios/RemoteMessageDisplayType.h +5 -0
  69. package/ios/SMManagerSetting+ClientSettings.m +15 -4
  70. package/ios/SelligentReactNative.xcodeproj/project.pbxproj +4 -12
  71. package/ios/include/SMBaseMessage.h +8 -12
  72. package/ios/include/SMBlock.h +2 -2
  73. package/ios/include/SMClearCache.h +0 -2
  74. package/ios/include/SMContentAlignment.h +1 -2
  75. package/ios/include/SMDeviceInfos.h +10 -8
  76. package/ios/include/SMDisplayMode.h +1 -2
  77. package/ios/include/SMEvent.h +21 -17
  78. package/ios/include/SMEventUser.h +0 -1
  79. package/ios/include/SMEventUserLogin.h +11 -16
  80. package/ios/include/SMEventUserLogout.h +12 -16
  81. package/ios/include/SMEventUserRegistration.h +12 -17
  82. package/ios/include/SMEventUserUnregistration.h +12 -16
  83. package/ios/include/SMFailure.h +1 -6
  84. package/ios/include/SMHelper.h +12 -4
  85. package/ios/include/SMInAppContentHTMLViewController.h +11 -9
  86. package/ios/include/SMInAppContentImageViewController.h +6 -6
  87. package/ios/include/SMInAppContentMessage.h +12 -12
  88. package/ios/include/SMInAppContentStyleOptions.h +91 -79
  89. package/ios/include/SMInAppContentType.h +2 -3
  90. package/ios/include/SMInAppContentURLViewController.h +10 -9
  91. package/ios/include/SMInAppContentViewController.h +3 -6
  92. package/ios/include/SMInAppMessage.h +22 -14
  93. package/ios/include/SMInAppMessageType.h +2 -6
  94. package/ios/include/SMInAppRefreshType.h +1 -1
  95. package/ios/include/SMLink.h +7 -11
  96. package/ios/include/SMLog.h +1 -1
  97. package/ios/include/SMManager+DataTransaction.h +6 -13
  98. package/ios/include/SMManager+InAppContent.h +20 -23
  99. package/ios/include/SMManager+InAppMessage.h +65 -42
  100. package/ios/include/SMManager+Location.h +7 -63
  101. package/ios/include/SMManager+Log.h +3 -14
  102. package/ios/include/SMManager+RemoteNotification.h +38 -34
  103. package/ios/include/SMManager+SMEvent.h +10 -10
  104. package/ios/include/SMManager+SMLink.h +44 -0
  105. package/ios/include/SMManager+SilentPush.h +5 -22
  106. package/ios/include/SMManager+StyleOptions.h +5 -8
  107. package/ios/include/SMManager+UserNotification.h +47 -35
  108. package/ios/include/SMManager+ViewController.h +45 -0
  109. package/ios/include/SMManager.h +15 -24
  110. package/ios/include/SMManagerInAppMessageDelegate.h +24 -0
  111. package/ios/include/SMManagerSetting+Location.h +27 -0
  112. package/ios/include/SMManagerSetting.h +61 -33
  113. package/ios/include/SMManagerSettingIAC.h +6 -17
  114. package/ios/include/SMManagerSettingIAM.h +7 -16
  115. package/ios/include/SMManagerUniversalLinksDelegate.h +23 -0
  116. package/ios/include/SMMessage.h +1 -3
  117. package/ios/include/SMNSNotification.h +21 -13
  118. package/ios/include/SMNotificationAnnotationData.h +4 -8
  119. package/ios/include/SMNotificationButtonData.h +1 -6
  120. package/ios/include/SMNotificationButtonType.h +1 -14
  121. package/ios/include/SMNotificationMessage.h +31 -0
  122. package/ios/include/SMRemoteMessageDisplayType.h +32 -0
  123. package/ios/include/SMSuccess.h +1 -4
  124. package/ios/{libSelligentMobile2.5.2.a → libSelligentMobile.a} +0 -0
  125. package/package.json +3 -3
  126. package/trigger.yml +9 -0
  127. package/ios/include/SMLocationAuthorisationType.h +0 -57
@@ -9,39 +9,34 @@
9
9
  #import "SMEventUser.h"
10
10
 
11
11
  /*!
12
- * @class SMEventUserRegistration
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 the e-mail of the user
24
- * @return a SMEventUserRegistration object
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 the e-mail of the user
32
- * @param dict a Dictionary containing a string as data that must be stored and managed by platform
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
- * example: [SMEventUserRegistration eventWithEmail @"" Dictionary: @{@"userID": @"1234"}];
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
- * @param dict a Dictionary containing an alternate key/value field to search for the user
42
- * example: [SMEventUserRegistration eventWithDictionary:@{@"userID": @"1234"}];
43
- * @return a SMEventUserRegistration object
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
- * @class SMEventUserUnregistration
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 the e-mail of the user
23
- * @return a SMEventUserUnregistration object
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 the e-mail of the user
31
- * @param dict a Dictionary containing a string as data that must be stored and managed by platform
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
- * example: [SMEventUserUnregistration eventWithEmail @"" Dictionary: @{@"userID": @"1234"}];
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
- * @param dict a Dictionary containing an alternate key/value field to search for the user
41
- * example: [SMEventUserUnregistration eventWithDictionary:@{@"userID": @"1234"}];
42
- * @return a SMEventUserUnregistration object
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
@@ -9,15 +9,10 @@
9
9
  #import "SMMessage.h"
10
10
 
11
11
  /*!
12
- * @discussion This class is used to return any error
13
- * #SMFailure:#
12
+ * This class is used to return any error
14
13
  */
15
14
  @interface SMFailure : SMMessage
16
15
 
17
-
18
-
19
-
20
-
21
16
  @end
22
17
 
23
18
 
@@ -1,17 +1,21 @@
1
1
  //
2
- // SMHelper.h
2
+ // SMHelper+Location.h
3
3
  // MobileSDK
4
4
  //
5
- // Created by Samy Ziat on 29/09/15.
6
- // Copyright (c) 2015 Selligent. All rights reserved.
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
- * a view controller for HTML In App Content
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
- * a view controller for Image In App Content
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 iacType;
35
+ @property (readonly, nonatomic) SMInAppContentType iacType;
38
36
 
39
37
  /*!
40
38
  * NSDate instance providing the expiration date of the message
41
- * @deprecated Deprecated use expirationDate on SMBaseMessage instead
39
+ *
40
+ * @warning Deprecated - use expirationDate on SMBaseMessage instead
42
41
  */
43
- @property (nonatomic) NSDate * contentExpiration __deprecated __deprecated_msg("Use expirationDate instead.");
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
- * @deprecated Deprecated use creationDate on SMBaseMessage instead
46
+ *
47
+ * @warning Deprecated - use creationDate on SMBaseMessage instead
48
48
  */
49
- @property (nonatomic) NSDate * contentCreation __deprecated __deprecated_msg("Use creationDate instead.");
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 * arrayIACLinks;
54
+ @property (readonly, nonatomic) NSArray *_Nullable arrayIACLinks;
55
55
 
56
56
  @end