@selligent-marketing-cloud/selligent-react-native 3.0.0 → 3.2.6

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 (184) hide show
  1. package/README.md +43 -1550
  2. package/RNSelligent.podspec +8 -15
  3. package/android/build.gradle +48 -81
  4. package/android/src/main/java/com/selligent/BroadcastEventType.java +4 -1
  5. package/android/src/main/java/com/selligent/ButtonAction.java +81 -0
  6. package/android/src/main/java/com/selligent/ButtonBroadcastEventDataParser.java +9 -3
  7. package/android/src/main/java/com/selligent/DeviceIdBroadcastEventDataParser.java +15 -0
  8. package/android/src/main/java/com/selligent/EventType.java +1 -1
  9. package/android/src/main/java/com/selligent/GCMTokenBroadcastEventDataParser.java +6 -1
  10. package/android/src/main/java/com/selligent/InAppMessageBroadcastEventDataParser.java +7 -1
  11. package/android/src/main/java/com/selligent/NotificationMessageBroadcastEventDataParser.java +19 -0
  12. package/android/src/main/java/com/selligent/RNSelligent.java +195 -56
  13. package/android/src/main/java/com/selligent/SMSettingsFactory.java +0 -1
  14. package/android/src/main/java/com/selligent/Settings.java +0 -9
  15. package/constants.d.ts +7 -33
  16. package/constants.js +51 -85
  17. package/documentation/README.md +826 -0
  18. package/helpers.js +5 -6
  19. package/index.android.js +8 -83
  20. package/index.d.ts +33 -43
  21. package/index.ios.js +25 -76
  22. package/index.js +153 -45
  23. package/ios/RNSelligentMapper.h +21 -0
  24. package/ios/RNSelligentMapper.m +151 -0
  25. package/ios/RNSelligentMobileSDK.xcframework/Info.plist +40 -0
  26. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64/RNSelligentMobileSDK.framework/Headers/RNSelligentMobileSDK-Swift.h +350 -0
  27. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64/RNSelligentMobileSDK.framework/Info.plist +0 -0
  28. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64/RNSelligentMobileSDK.framework/Modules/RNSelligentMobileSDK.swiftmodule/arm64-apple-ios.abi.json +2603 -0
  29. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64/RNSelligentMobileSDK.framework/Modules/RNSelligentMobileSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +59 -0
  30. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64/RNSelligentMobileSDK.framework/Modules/RNSelligentMobileSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  31. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64/RNSelligentMobileSDK.framework/Modules/RNSelligentMobileSDK.swiftmodule/arm64-apple-ios.swiftinterface +59 -0
  32. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64/RNSelligentMobileSDK.framework/Modules/module.modulemap +4 -0
  33. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64/RNSelligentMobileSDK.framework/RNSelligentMobileSDK +0 -0
  34. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64/RNSelligentMobileSDK.framework/_CodeSignature/CodeResources +179 -0
  35. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64_x86_64-simulator/RNSelligentMobileSDK.framework/Headers/RNSelligentMobileSDK-Swift.h +696 -0
  36. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64_x86_64-simulator/RNSelligentMobileSDK.framework/Info.plist +0 -0
  37. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64_x86_64-simulator/RNSelligentMobileSDK.framework/Modules/RNSelligentMobileSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +2603 -0
  38. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64_x86_64-simulator/RNSelligentMobileSDK.framework/Modules/RNSelligentMobileSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +59 -0
  39. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64_x86_64-simulator/RNSelligentMobileSDK.framework/Modules/RNSelligentMobileSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  40. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64_x86_64-simulator/RNSelligentMobileSDK.framework/Modules/RNSelligentMobileSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +59 -0
  41. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64_x86_64-simulator/RNSelligentMobileSDK.framework/Modules/RNSelligentMobileSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +2603 -0
  42. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64_x86_64-simulator/RNSelligentMobileSDK.framework/Modules/RNSelligentMobileSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +59 -0
  43. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64_x86_64-simulator/RNSelligentMobileSDK.framework/Modules/RNSelligentMobileSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  44. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64_x86_64-simulator/RNSelligentMobileSDK.framework/Modules/RNSelligentMobileSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +59 -0
  45. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64_x86_64-simulator/RNSelligentMobileSDK.framework/Modules/module.modulemap +4 -0
  46. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64_x86_64-simulator/RNSelligentMobileSDK.framework/RNSelligentMobileSDK +0 -0
  47. package/ios/RNSelligentMobileSDK.xcframework/ios-arm64_x86_64-simulator/RNSelligentMobileSDK.framework/_CodeSignature/CodeResources +234 -0
  48. package/package.json +30 -11
  49. package/.gitattributes +0 -1
  50. package/CHANGELOG.md +0 -60
  51. package/android/README.md +0 -15
  52. package/android/build/generated/source/buildConfig/debug/com/selligent/BuildConfig.java +0 -12
  53. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +0 -9
  54. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +0 -18
  55. package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +0 -4
  56. package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +0 -1
  57. package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
  58. package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
  59. package/android/build/intermediates/compile_symbol_list/debug/R.txt +0 -6548
  60. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
  61. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  62. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  63. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  64. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
  65. package/android/build/intermediates/javac/debug/classes/com/selligent/BroadcastDataFactory$1.class +0 -0
  66. package/android/build/intermediates/javac/debug/classes/com/selligent/BroadcastDataFactory.class +0 -0
  67. package/android/build/intermediates/javac/debug/classes/com/selligent/BroadcastEventDataParser.class +0 -0
  68. package/android/build/intermediates/javac/debug/classes/com/selligent/BroadcastEventType.class +0 -0
  69. package/android/build/intermediates/javac/debug/classes/com/selligent/BuildConfig.class +0 -0
  70. package/android/build/intermediates/javac/debug/classes/com/selligent/ButtonBroadcastEventDataParser.class +0 -0
  71. package/android/build/intermediates/javac/debug/classes/com/selligent/ClearCacheIntervalValue.class +0 -0
  72. package/android/build/intermediates/javac/debug/classes/com/selligent/Event.class +0 -0
  73. package/android/build/intermediates/javac/debug/classes/com/selligent/EventReceiver.class +0 -0
  74. package/android/build/intermediates/javac/debug/classes/com/selligent/EventType.class +0 -0
  75. package/android/build/intermediates/javac/debug/classes/com/selligent/GCMTokenBroadcastEventDataParser.class +0 -0
  76. package/android/build/intermediates/javac/debug/classes/com/selligent/InAppMessageBroadcastEventDataParser.class +0 -0
  77. package/android/build/intermediates/javac/debug/classes/com/selligent/InAppMessageRefreshType.class +0 -0
  78. package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent$1.class +0 -0
  79. package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent$2.class +0 -0
  80. package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent$3.class +0 -0
  81. package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent$4.class +0 -0
  82. package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent$5.class +0 -0
  83. package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent.class +0 -0
  84. package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligentPackage.class +0 -0
  85. package/android/build/intermediates/javac/debug/classes/com/selligent/RemoteMessageDisplayType.class +0 -0
  86. package/android/build/intermediates/javac/debug/classes/com/selligent/SMEventFactory$1.class +0 -0
  87. package/android/build/intermediates/javac/debug/classes/com/selligent/SMEventFactory.class +0 -0
  88. package/android/build/intermediates/javac/debug/classes/com/selligent/SMSettingsFactory.class +0 -0
  89. package/android/build/intermediates/javac/debug/classes/com/selligent/Settings.class +0 -0
  90. package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +0 -2
  91. package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +0 -11
  92. package/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml +0 -9
  93. package/android/build/intermediates/navigation_json/debug/navigation.json +0 -1
  94. package/android/build/intermediates/packaged_manifests/debug/output-metadata.json +0 -18
  95. package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
  96. package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +0 -4894
  97. package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -25
  98. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  99. package/android/libs/sdk-release.aar +0 -0
  100. package/documentation/add_json_file.png +0 -0
  101. package/documentation/add_lib_file.png +0 -0
  102. package/ios/BackgroundFetchResult.h +0 -5
  103. package/ios/ClearCacheInterval.h +0 -7
  104. package/ios/ClientSettings.h +0 -22
  105. package/ios/ClientSettings.m +0 -39
  106. package/ios/EnumMapper.h +0 -36
  107. package/ios/EnumMapper.m +0 -121
  108. package/ios/Event+SMEvent.h +0 -13
  109. package/ios/Event+SMEvent.m +0 -41
  110. package/ios/Event.h +0 -12
  111. package/ios/Event.m +0 -24
  112. package/ios/EventType.h +0 -7
  113. package/ios/InAppMessageRefreshType.h +0 -6
  114. package/ios/InAppMessageSettings.h +0 -9
  115. package/ios/InAppMessageSettings.m +0 -19
  116. package/ios/LocationAuthorisationStatus.h +0 -6
  117. package/ios/LocationAuthorisationType.h +0 -4
  118. package/ios/LogLevel.h +0 -9
  119. package/ios/NotificationButtonType.h +0 -15
  120. package/ios/ParsableObject.h +0 -5
  121. package/ios/RNSelligent.h +0 -22
  122. package/ios/RNSelligent.m +0 -347
  123. package/ios/RemoteMessageDisplayType.h +0 -5
  124. package/ios/SMManagerSetting+ClientSettings.h +0 -9
  125. package/ios/SMManagerSetting+ClientSettings.m +0 -73
  126. package/ios/SelligentLogger.h +0 -7
  127. package/ios/SelligentLogger.m +0 -9
  128. package/ios/SelligentReactNative.xcodeproj/project.pbxproj +0 -446
  129. package/ios/include/SMBaseMessage.h +0 -48
  130. package/ios/include/SMBlock.h +0 -21
  131. package/ios/include/SMClearCache.h +0 -34
  132. package/ios/include/SMContentAlignment.h +0 -27
  133. package/ios/include/SMDeviceInfos.h +0 -38
  134. package/ios/include/SMDisplayMode.h +0 -27
  135. package/ios/include/SMEvent.h +0 -69
  136. package/ios/include/SMEventUser.h +0 -20
  137. package/ios/include/SMEventUserLogin.h +0 -42
  138. package/ios/include/SMEventUserLogout.h +0 -42
  139. package/ios/include/SMEventUserRegistration.h +0 -42
  140. package/ios/include/SMEventUserUnregistration.h +0 -42
  141. package/ios/include/SMFailure.h +0 -19
  142. package/ios/include/SMHelper.h +0 -51
  143. package/ios/include/SMInAppContentHTMLViewController.h +0 -59
  144. package/ios/include/SMInAppContentImageViewController.h +0 -36
  145. package/ios/include/SMInAppContentMessage.h +0 -56
  146. package/ios/include/SMInAppContentStyleOptions.h +0 -511
  147. package/ios/include/SMInAppContentType.h +0 -35
  148. package/ios/include/SMInAppContentURLViewController.h +0 -36
  149. package/ios/include/SMInAppContentViewController.h +0 -31
  150. package/ios/include/SMInAppMessage.h +0 -51
  151. package/ios/include/SMInAppMessageType.h +0 -50
  152. package/ios/include/SMInAppRefreshType.h +0 -29
  153. package/ios/include/SMLink.h +0 -39
  154. package/ios/include/SMLog.h +0 -54
  155. package/ios/include/SMManager+DataTransaction.h +0 -33
  156. package/ios/include/SMManager+InAppContent.h +0 -170
  157. package/ios/include/SMManager+InAppMessage.h +0 -172
  158. package/ios/include/SMManager+Location.h +0 -41
  159. package/ios/include/SMManager+Log.h +0 -31
  160. package/ios/include/SMManager+RemoteNotification.h +0 -171
  161. package/ios/include/SMManager+SMEvent.h +0 -67
  162. package/ios/include/SMManager+SMLink.h +0 -44
  163. package/ios/include/SMManager+SilentPush.h +0 -53
  164. package/ios/include/SMManager+StyleOptions.h +0 -36
  165. package/ios/include/SMManager+UserNotification.h +0 -180
  166. package/ios/include/SMManager+ViewController.h +0 -45
  167. package/ios/include/SMManager.h +0 -69
  168. package/ios/include/SMManagerHelper.h +0 -18
  169. package/ios/include/SMManagerInAppMessageDelegate.h +0 -24
  170. package/ios/include/SMManagerSetting+Location.h +0 -27
  171. package/ios/include/SMManagerSetting.h +0 -180
  172. package/ios/include/SMManagerSettingIAC.h +0 -48
  173. package/ios/include/SMManagerSettingIAM.h +0 -49
  174. package/ios/include/SMManagerUniversalLinksDelegate.h +0 -23
  175. package/ios/include/SMMessage.h +0 -21
  176. package/ios/include/SMNSNotification.h +0 -81
  177. package/ios/include/SMNotificationAnnotationData.h +0 -33
  178. package/ios/include/SMNotificationButtonData.h +0 -20
  179. package/ios/include/SMNotificationButtonType.h +0 -90
  180. package/ios/include/SMNotificationMessage.h +0 -31
  181. package/ios/include/SMRemoteMessageDisplayType.h +0 -32
  182. package/ios/include/SMSuccess.h +0 -16
  183. package/ios/libSelligentMobile.a +0 -0
  184. package/trigger.yml +0 -9
@@ -1,69 +0,0 @@
1
- //
2
- // SMEvent.h
3
- // MobileSDK
4
- //
5
- // Created by Gilbert Schakal on 03/06/15.
6
- // Copyright (c) 2015 Selligent. All rights reserved.
7
- //
8
-
9
- #import <Foundation/Foundation.h>
10
-
11
- #import "SMFailure.h"
12
- #import "SMSuccess.h"
13
-
14
- /*!
15
- * This is the Base class for all type of events
16
- */
17
- @interface SMEvent : NSObject
18
-
19
- /*!
20
- * Confirm if the current event should be cached or not
21
- * @discussion If the event fail to be delivered to your backend, then by default, it is cached into an internal queue.
22
- * After a while, the library will automaticly try to send it again.
23
- * Should you want to prevent this behaviour, feel free to set this property to FALSE.
24
- * By default, it is set to TRUE
25
- */
26
- @property (nonatomic) BOOL shouldCache;
27
-
28
- /*!
29
- * Create a generic event object that will be sent to platform
30
- *
31
- * @param dict A Dictionary containing any kind of custom datas that must be stored and managed by platform
32
- * @return An SMEvent object
33
- */
34
- + (instancetype _Nonnull) eventWithDictionary:(NSDictionary* _Nullable)dict;
35
-
36
- /*!
37
- * Allow to initialize a success block and/or a failure block that will be triggered after an event is sent to the platform
38
- *
39
- * @param blockSuccess An SMCompletionBlockSuccess block that will be triggered if the send to the platform is successfull
40
- * @param blockFailure An SMCompletionBlockFailure block that will be triggered if the send to the platform has failed
41
- * @discussion This method may be used as follow:
42
- *
43
- * @code
44
- * NSDictionary *dictMyCustomData = @{@"MyKey": @"MyValue"};
45
- *
46
- * SMEvent *event = [SMEvent eventWithDictionary:dictMyCustomData];
47
- *
48
- * [event applyBlockSuccess:^(SMSuccess *success) {
49
- *
50
- * // My code for success}
51
- *
52
- * BlockFailure:^(SMFailure *failure) {
53
- *
54
- * // My code for failure }];
55
- *
56
- * [[SMManager sharedInstance] sendSMEvent:event];
57
- * @endcode
58
- *
59
- * This method is optional. Use it only if you need it.
60
- * @warning It is developer's responsability to make sure no strong retrain cycles are added to the completion-blocks.
61
- * Make sure to read the following [Apple documentation.](https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/WorkingwithBlocks/WorkingwithBlocks.html#//apple_ref/doc/uid/TP40011210-CH8-SW16)
62
- * @see SMCompletionBlockSuccess
63
- * @see SMCompletionBlockFailure
64
- */
65
- - (void) applyBlockSuccess:(SMCompletionBlockSuccess _Nullable)blockSuccess BlockFailure:(SMCompletionBlockFailure _Nullable)blockFailure;
66
-
67
- @end
68
-
69
-
@@ -1,20 +0,0 @@
1
- //
2
- // SMEventUser.h
3
- // MobileSDK
4
- //
5
- // Created by Gilbert Schakal on 05/06/15.
6
- // Copyright (c) 2015 Selligent. All rights reserved.
7
- //
8
-
9
- #import "SMEvent.h"
10
-
11
- /*!
12
- * @discussion Class representing all User-eventing
13
- * Instances of this class should not be directly created.
14
- * Please use children classes instead.
15
- * #SMEventUser:#
16
- */
17
- @interface SMEventUser : SMEvent
18
-
19
-
20
- @end
@@ -1,42 +0,0 @@
1
- //
2
- // SMEventLogin.h
3
- // MobileSDK
4
- //
5
- // Created by Gilbert Schakal on 03/06/15.
6
- // Copyright (c) 2015 Selligent. All rights reserved.
7
- //
8
-
9
- #import "SMEventUser.h"
10
-
11
- /*!
12
- * User login event class
13
- */
14
- @interface SMEventUserLogin : SMEventUser
15
-
16
- /*!
17
- * Create a UserLogin event object that will be sent to selligent platform when user logged in
18
- *
19
- * @param mail The e-mail of the user
20
- * @return An SMEventUserLogin object
21
- */
22
- + (instancetype _Nonnull) eventWithEmail:(NSString*_Null_unspecified)mail;
23
-
24
- /*!
25
- * Create a UserLogin event object that will be sent to selligent platform when user logged in
26
- *
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
29
- * If email is not provided you can use in the dictionary an alternate key/value field to search for the user
30
- * @return An SMEventUserLogin object
31
- */
32
- + (instancetype _Nonnull) eventWithEmail:(NSString*_Null_unspecified)mail Dictionary:(NSDictionary<NSString*,NSString*>*_Nullable)dict;
33
-
34
- /*!
35
- * Create a UserLogin event object that will be sent to platform
36
- *
37
- * @param dict A Dictionary containing an alternate key/value field to search for the user
38
- * @return An SMEventUserLogin object
39
- */
40
- + (instancetype _Nonnull)eventWithDictionary:(NSDictionary* _Nullable)dict;
41
-
42
- @end
@@ -1,42 +0,0 @@
1
- //
2
- // SMEventLogout.h
3
- // MobileSDK
4
- //
5
- // Created by Gilbert Schakal on 03/06/15.
6
- // Copyright (c) 2015 Selligent. All rights reserved.
7
- //
8
-
9
- #import "SMEventUser.h"
10
-
11
- /*!
12
- * User logout event class
13
- */
14
- @interface SMEventUserLogout : SMEventUser
15
-
16
- /*!
17
- * Create a UserLogout event object that will be sent to selligent platform when user logged out
18
- *
19
- * @param mail The e-mail of the user
20
- * @return An SMEventUserLogout object
21
- */
22
- + (instancetype _Nonnull) eventWithEmail:(NSString*_Null_unspecified)mail;
23
-
24
- /*!
25
- * Create a UserLogout event object that will be sent to selligent platform when user logged out
26
- *
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
29
- * If email is not provided you can use in the dictionary an alternate key/value field to search for the user
30
- * @return An SMEventUserLogout object
31
- */
32
- + (instancetype _Nonnull) eventWithEmail:(NSString*_Null_unspecified)mail Dictionary:(NSDictionary<NSString*,NSString*>*_Nullable)dict;
33
-
34
- /*!
35
- * Create a UserLogout event object that will be sent to platform
36
- *
37
- * @param dict A Dictionary containing an alternate key/value field to search for the user
38
- * @return An SMEventUserLogout object
39
- */
40
- + (instancetype _Nonnull) eventWithDictionary:(NSDictionary* _Nullable)dict;
41
-
42
- @end
@@ -1,42 +0,0 @@
1
- //
2
- // SMEventRegistration.h
3
- // MobileSDK
4
- //
5
- // Created by Gilbert Schakal on 03/06/15.
6
- // Copyright (c) 2015 Selligent. All rights reserved.
7
- //
8
-
9
- #import "SMEventUser.h"
10
-
11
- /*!
12
- * User registration event class
13
- */
14
- @interface SMEventUserRegistration : SMEventUser
15
-
16
- /*!
17
- * Create a UserRegistration event object that will be sent to selligent platform when user registered
18
- *
19
- * @param mail The e-mail of the user
20
- * @return An SMEventUserRegistration object
21
- */
22
- + (instancetype _Nonnull) eventWithEmail:(NSString*_Null_unspecified)mail;
23
-
24
- /*!
25
- * Create a UserRegistration event object that will be sent to selligent platform when user registered
26
- *
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
29
- * If email is not provided you can use in the dictionary an alternate key/value field to search for the user
30
- * @return An SMEventUserRegistration object
31
- */
32
- + (instancetype _Nonnull) eventWithEmail:(NSString*_Null_unspecified)mail Dictionary:(NSDictionary<NSString*,NSString*>*_Nullable)dict;
33
-
34
- /*!
35
- * Create a UserRegistration event object that will be sent to platform
36
- *
37
- * @param dict A Dictionary containing an alternate key/value field to search for the user
38
- * @return An SMEventUserRegistration object
39
- */
40
- + (instancetype _Nonnull) eventWithDictionary:(NSDictionary* _Nullable)dict;
41
-
42
- @end
@@ -1,42 +0,0 @@
1
- //
2
- // SMEventUnregistration.h
3
- // MobileSDK
4
- //
5
- // Created by Gilbert Schakal on 03/06/15.
6
- // Copyright (c) 2015 Selligent. All rights reserved.
7
- //
8
-
9
- #import "SMEventUser.h"
10
-
11
- /*!
12
- * User unregistration event class
13
- */
14
- @interface SMEventUserUnregistration : SMEventUser
15
-
16
- /*!
17
- * Create a UserUnregistration event object that will be sent to selligent platform when user unregistered
18
- *
19
- * @param mail The e-mail of the user
20
- * @return An SMEventUserUnregistration object
21
- */
22
- + (instancetype _Nonnull) eventWithEmail:(NSString* _Null_unspecified)mail;
23
-
24
- /*!
25
- * Create a UserUnregistration event object that will be sent to selligent platform when user unregistered
26
- *
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
29
- * If email is not provided you can use in the dictionary an alternate key/value field to search for the user
30
- * @return An SMEventUserUnregistration object
31
- */
32
- + (instancetype _Nonnull) eventWithEmail:(NSString* _Null_unspecified)mail Dictionary:(NSDictionary<NSString*,NSString*>* _Nullable)dict;
33
-
34
- /*!
35
- * Create a UserUnregistration event object that will be sent to platform
36
- *
37
- * @param dict A Dictionary containing an alternate key/value field to search for the user
38
- * @return An SMEventUserUnregistration object
39
- */
40
- + (instancetype _Nonnull) eventWithDictionary:(NSDictionary* _Nullable)dict;
41
-
42
- @end
@@ -1,19 +0,0 @@
1
- //
2
- // SMFailure.h
3
- // MobileSDK
4
- //
5
- // Created by Gauthier Dumont on 09/06/15.
6
- // Copyright (c) 2015 Selligent. All rights reserved.
7
- //
8
-
9
- #import "SMMessage.h"
10
-
11
- /*!
12
- * This class is used to return any error
13
- */
14
- @interface SMFailure : SMMessage
15
-
16
- @end
17
-
18
-
19
-
@@ -1,51 +0,0 @@
1
- //
2
- // SMHelper+Location.h
3
- // MobileSDK
4
- //
5
- // Created by Marc Biosca on 6/29/21.
6
- // Copyright © 2021 Selligent. All rights reserved.
7
- //
8
-
9
- #import "SMManager+Location.h"
10
- #import "SMManagerSetting+Location.h"
11
-
12
- #import "SMManagerHelper.h"
13
-
14
- #import "SMNSNotification.h"
15
- #import "SMLink.h"
16
- #import "SMNotificationButtonData.h"
17
- #import "SMNotificationAnnotationData.h"
18
- #import "SMNotificationMessage.h"
19
-
20
- #import "SMManagerSetting.h"
21
- #import "SMManagerSettingIAM.h"
22
- #import "SMManagerSettingIAC.h"
23
-
24
- #import "SMManager+DataTransaction.h"
25
- #import "SMManager+RemoteNotification.h"
26
- #import "SMManager+UserNotification.h"
27
- #import "SMManager+InAppMessage.h"
28
- #import "SMManager+InAppContent.h"
29
- #import "SMManager+SilentPush.h"
30
- #import "SMManager+SMEvent.h"
31
- #import "SMManager+Log.h"
32
- #import "SMManager+StyleOptions.h"
33
- #import "SMManager+ViewController.h"
34
- #import "SMManager+SMLink.h"
35
-
36
- #import "SMManagerInAppMessageDelegate.h"
37
- #import "SMManagerUniversalLinksDelegate.h"
38
-
39
- #import "SMInAppContentImageViewController.h"
40
- #import "SMInAppContentURLViewController.h"
41
- #import "SMInAppContentHTMLViewController.h"
42
-
43
- #import "SMInAppContentStyleOptions.h"
44
- #import "SMContentAlignment.h"
45
-
46
- #import "SMEventUserLogin.h"
47
- #import "SMEventUserLogout.h"
48
- #import "SMEventUserRegistration.h"
49
- #import "SMEventUserUnregistration.h"
50
-
51
- #import "SMDeviceInfos.h"
@@ -1,59 +0,0 @@
1
- //
2
- // SMInAppContentHTMLViewController.h
3
- // MobileSDK
4
- //
5
- // Created by Gilbert Schakal on 15/04/16.
6
- // Copyright © 2016 Selligent. All rights reserved.
7
- //
8
-
9
- #import "SMInAppContentViewController.h"
10
- #import "SMInAppContentStyleOptions.h"
11
-
12
- /*!
13
- * A view controller for HTML In App Content
14
- */
15
- @interface SMInAppContentHTMLViewController : SMInAppContentViewController
16
-
17
- /*!
18
- * This will provide you a custom viewcontroller with all HTML in app content for a specific category
19
- *
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
21
- * @param category a NSString of the desired category of In App Content
22
- * @return a SMInAppContentHTMLViewController
23
- */
24
- + (instancetype _Nonnull) viewControllerForCategory:(NSString*_Nullable)category ;
25
-
26
- /*!
27
- * This will provide you a custom viewcontroller with all HTML in app content for a specific category
28
- *
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
- * @param category a NSString of the desired category of In App Content
31
- * @param options a SMInAppContentStyleOptions object allowing you to customise the in app content
32
- * @return a SMInAppContentHTMLViewController
33
- * @see SMInAppContentStyleOptions
34
- */
35
- + (instancetype _Nonnull) viewControllerForCategory:(NSString*_Nullable)category AndOptions:(SMInAppContentStyleOptions*_Nullable)options ;
36
-
37
- /*!
38
- * This will provide you a custom viewcontroller with HTML in app content for a specific category
39
- *
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
41
- * @param category a NSString of the desired category of In App Content
42
- * @param numberofboxes an int corresponding to the maximum numbers of html boxes that the view controller must contain
43
- * @return a SMInAppContentHTMLViewController
44
- */
45
- + (instancetype _Nonnull) viewControllerForCategory:(NSString*_Nullable)category InNumberOfBoxes:(int) numberofboxes ;
46
-
47
- /*!
48
- * This will provide you a custom viewcontroller with HTML in app content for a specific category
49
- *
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
51
- * @param category a NSString of the desired category of In App Content
52
- * @param numberofboxes an int corresponding to the maximum numbers of html boxes that the view controller must contain
53
- * @param options a SMInAppContentStyleOptions object allowing you to customise the in app content
54
- * @return a SMInAppContentHTMLViewController
55
- * @see SMInAppContentStyleOptions
56
- */
57
- + (instancetype _Nonnull) viewControllerForCategory:(NSString*_Nullable)category InNumberOfBoxes:(int) numberofboxes AndOptions:(SMInAppContentStyleOptions*_Nullable)options ;
58
-
59
- @end
@@ -1,36 +0,0 @@
1
- //
2
- // SMInAppContentImageViewController.h
3
- // MobileSDK
4
- //
5
- // Created by Gilbert Schakal on 05/04/16.
6
- // Copyright © 2016 Selligent. All rights reserved.
7
- //
8
-
9
- #import "SMInAppContentViewController.h"
10
-
11
- /*!
12
- * A view controller for Image In App Content
13
- */
14
- @interface SMInAppContentImageViewController : SMInAppContentViewController
15
-
16
- /*!
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
- *
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
20
- * @param category a NSString of the desired category of In App Content
21
- * @return a SMInAppContentImageViewController
22
- */
23
- + (instancetype _Nonnull) viewControllerForCategory:(NSString*_Nullable)category;
24
-
25
- /*!
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
- * @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
- * @param category a NSString of the desired category of In App Content
30
- * @param options a SMInAppContentStyleOptions object allowing you to customise the in app content
31
- * @return a SMInAppContentImageViewController
32
- * @see SMInAppContentStyleOptions
33
- */
34
- + (instancetype _Nonnull) viewControllerForCategory:(NSString*_Nullable)category AndOptions:(SMInAppContentStyleOptions*_Nullable)options;
35
-
36
- @end
@@ -1,56 +0,0 @@
1
- //
2
- // SMInAppContent.h
3
- // MobileSDK
4
- //
5
- // Created by Gilbert Schakal on 15/03/16.
6
- // Copyright © 2016 Selligent. All rights reserved.
7
- //
8
-
9
- #import <Foundation/Foundation.h>
10
- #import "SMBaseMessage.h"
11
- #import "SMInAppContentType.h"
12
- #import "SMDisplayMode.h"
13
-
14
- @interface SMInAppContentMessage : SMBaseMessage
15
-
16
- /*!
17
- * NSString instance providing the title of the message
18
- */
19
- @property (readonly, nonatomic) NSString *_Nullable title;
20
-
21
- /*!
22
- * NSString instance providing the content of the message
23
- */
24
- @property (readonly, nonatomic) NSString *_Nullable body;
25
-
26
- /*!
27
- * NSString instance providing the category of the message
28
- */
29
- @property (readonly, nonatomic) NSString *_Nullable category;
30
-
31
- /*!
32
- * SMInAppContentType instance providing the in app content type of the message
33
- * @see SMInAppContentType
34
- */
35
- @property (readonly, nonatomic) SMInAppContentType iacType;
36
-
37
- /*!
38
- * NSDate instance providing the expiration date of the message
39
- *
40
- * @warning Deprecated - use expirationDate on SMBaseMessage instead
41
- */
42
- @property (readonly, nonatomic) NSDate *_Nullable contentExpiration __deprecated __deprecated_msg("Use expirationDate instead.");
43
-
44
- /*!
45
- * NSDate instance providing the creation date of the message
46
- *
47
- * @warning Deprecated - use creationDate on SMBaseMessage instead
48
- */
49
- @property (readonly, nonatomic) NSDate *_Nullable contentCreation __deprecated __deprecated_msg("Use creationDate instead.");
50
-
51
- /*!
52
- * NSArray of SMLink objects
53
- */
54
- @property (readonly, nonatomic) NSArray *_Nullable arrayIACLinks;
55
-
56
- @end