Skip to content

Commit 4164af4

Browse files
committed
binaries for release 3.7.0
1 parent e2c7135 commit 4164af4

File tree

14 files changed

+92
-17
lines changed

14 files changed

+92
-17
lines changed

iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Versions/A/Headers/OneSignal.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,12 @@ typedef NS_ENUM(NSUInteger, OSNotificationActionType) {
156156

157157
@end;
158158

159+
@interface OSInAppMessage : NSObject
160+
161+
@property (strong, nonatomic, nonnull) NSString *messageId;
162+
163+
@end
164+
159165
@interface OSInAppMessageOutcome : NSObject
160166

161167
@property (strong, nonatomic, nonnull) NSString *name;
@@ -210,6 +216,14 @@ typedef NS_ENUM(NSUInteger, OSNotificationActionType) {
210216
- (void)handleMessageAction:(OSInAppMessageAction * _Nonnull)action NS_SWIFT_NAME(handleMessageAction(action:));
211217
@end
212218

219+
@protocol OSInAppMessageLifecycleHandler <NSObject>
220+
@optional
221+
- (void)onWillDisplayInAppMessage:(OSInAppMessage *)message;
222+
- (void)onDidDisplayInAppMessage:(OSInAppMessage *)message;
223+
- (void)onWillDismissInAppMessage:(OSInAppMessage *)message;
224+
- (void)onDidDismissInAppMessage:(OSInAppMessage *)message;
225+
@end
226+
213227
// Pass in nil means a notification will not display
214228
typedef void (^OSNotificationDisplayResponse)(OSNotification* _Nullable notification);
215229
/* OneSignal Influence Types */
@@ -472,6 +486,7 @@ typedef void (^OSInAppMessageClickBlock)(OSInAppMessageAction * _Nonnull action)
472486
+ (void)setNotificationWillShowInForegroundHandler:(OSNotificationWillShowInForegroundBlock _Nullable)block;
473487
+ (void)setNotificationOpenedHandler:(OSNotificationOpenedBlock _Nullable)block;
474488
+ (void)setInAppMessageClickHandler:(OSInAppMessageClickBlock _Nullable)block;
489+
+ (void)setInAppMessageLifecycleHandler:(NSObject<OSInAppMessageLifecycleHandler> *_Nullable)delegate;
475490

476491
#pragma mark Post Notification
477492
+ (void)postNotification:(NSDictionary* _Nonnull)jsonData;
Binary file not shown.

iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/Info.plist

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,17 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64_x86_64-maccatalyst</string>
9+
<string>ios-arm64_armv7_armv7s</string>
1010
<key>LibraryPath</key>
1111
<string>OneSignal.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15-
<string>x86_64</string>
15+
<string>armv7</string>
16+
<string>armv7s</string>
1617
</array>
1718
<key>SupportedPlatform</key>
1819
<string>ios</string>
19-
<key>SupportedPlatformVariant</key>
20-
<string>maccatalyst</string>
2120
</dict>
2221
<dict>
2322
<key>LibraryIdentifier</key>
@@ -37,17 +36,18 @@
3736
</dict>
3837
<dict>
3938
<key>LibraryIdentifier</key>
40-
<string>ios-arm64_armv7_armv7s</string>
39+
<string>ios-arm64_x86_64-maccatalyst</string>
4140
<key>LibraryPath</key>
4241
<string>OneSignal.framework</string>
4342
<key>SupportedArchitectures</key>
4443
<array>
4544
<string>arm64</string>
46-
<string>armv7</string>
47-
<string>armv7s</string>
45+
<string>x86_64</string>
4846
</array>
4947
<key>SupportedPlatform</key>
5048
<string>ios</string>
49+
<key>SupportedPlatformVariant</key>
50+
<string>maccatalyst</string>
5151
</dict>
5252
</array>
5353
<key>CFBundlePackageType</key>

iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_armv7_armv7s/OneSignal.framework/Headers/OneSignal.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,12 @@ typedef NS_ENUM(NSUInteger, OSNotificationActionType) {
156156

157157
@end;
158158

159+
@interface OSInAppMessage : NSObject
160+
161+
@property (strong, nonatomic, nonnull) NSString *messageId;
162+
163+
@end
164+
159165
@interface OSInAppMessageOutcome : NSObject
160166

161167
@property (strong, nonatomic, nonnull) NSString *name;
@@ -210,6 +216,14 @@ typedef NS_ENUM(NSUInteger, OSNotificationActionType) {
210216
- (void)handleMessageAction:(OSInAppMessageAction * _Nonnull)action NS_SWIFT_NAME(handleMessageAction(action:));
211217
@end
212218

219+
@protocol OSInAppMessageLifecycleHandler <NSObject>
220+
@optional
221+
- (void)onWillDisplayInAppMessage:(OSInAppMessage *)message;
222+
- (void)onDidDisplayInAppMessage:(OSInAppMessage *)message;
223+
- (void)onWillDismissInAppMessage:(OSInAppMessage *)message;
224+
- (void)onDidDismissInAppMessage:(OSInAppMessage *)message;
225+
@end
226+
213227
// Pass in nil means a notification will not display
214228
typedef void (^OSNotificationDisplayResponse)(OSNotification* _Nullable notification);
215229
/* OneSignal Influence Types */
@@ -472,6 +486,7 @@ typedef void (^OSInAppMessageClickBlock)(OSInAppMessageAction * _Nonnull action)
472486
+ (void)setNotificationWillShowInForegroundHandler:(OSNotificationWillShowInForegroundBlock _Nullable)block;
473487
+ (void)setNotificationOpenedHandler:(OSNotificationOpenedBlock _Nullable)block;
474488
+ (void)setInAppMessageClickHandler:(OSInAppMessageClickBlock _Nullable)block;
489+
+ (void)setInAppMessageLifecycleHandler:(NSObject<OSInAppMessageLifecycleHandler> *_Nullable)delegate;
475490

476491
#pragma mark Post Notification
477492
+ (void)postNotification:(NSDictionary* _Nonnull)jsonData;

iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/Headers/OneSignal.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,12 @@ typedef NS_ENUM(NSUInteger, OSNotificationActionType) {
156156

157157
@end;
158158

159+
@interface OSInAppMessage : NSObject
160+
161+
@property (strong, nonatomic, nonnull) NSString *messageId;
162+
163+
@end
164+
159165
@interface OSInAppMessageOutcome : NSObject
160166

161167
@property (strong, nonatomic, nonnull) NSString *name;
@@ -210,6 +216,14 @@ typedef NS_ENUM(NSUInteger, OSNotificationActionType) {
210216
- (void)handleMessageAction:(OSInAppMessageAction * _Nonnull)action NS_SWIFT_NAME(handleMessageAction(action:));
211217
@end
212218

219+
@protocol OSInAppMessageLifecycleHandler <NSObject>
220+
@optional
221+
- (void)onWillDisplayInAppMessage:(OSInAppMessage *)message;
222+
- (void)onDidDisplayInAppMessage:(OSInAppMessage *)message;
223+
- (void)onWillDismissInAppMessage:(OSInAppMessage *)message;
224+
- (void)onDidDismissInAppMessage:(OSInAppMessage *)message;
225+
@end
226+
213227
// Pass in nil means a notification will not display
214228
typedef void (^OSNotificationDisplayResponse)(OSNotification* _Nullable notification);
215229
/* OneSignal Influence Types */
@@ -472,6 +486,7 @@ typedef void (^OSInAppMessageClickBlock)(OSInAppMessageAction * _Nonnull action)
472486
+ (void)setNotificationWillShowInForegroundHandler:(OSNotificationWillShowInForegroundBlock _Nullable)block;
473487
+ (void)setNotificationOpenedHandler:(OSNotificationOpenedBlock _Nullable)block;
474488
+ (void)setInAppMessageClickHandler:(OSInAppMessageClickBlock _Nullable)block;
489+
+ (void)setInAppMessageLifecycleHandler:(NSObject<OSInAppMessageLifecycleHandler> *_Nullable)delegate;
475490

476491
#pragma mark Post Notification
477492
+ (void)postNotification:(NSDictionary* _Nonnull)jsonData;

iOS_SDK/OneSignalSDK/OneSignal_XCFramework/OneSignal.xcframework/ios-arm64_i386_x86_64-simulator/OneSignal.framework/_CodeSignature/CodeResources

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<dict>
77
<key>Headers/OneSignal.h</key>
88
<data>
9-
+5RuY6/iQhV7bDrd1Jqm3MA0qtE=
9+
wUODJ2TiiriA6l4LCjoG4u3Fmq8=
1010
</data>
1111
<key>Info.plist</key>
1212
<data>
13-
lleSWDDyV7LxO6eklA9wNMnXLOQ=
13+
Y6uLBrIYgaJIC3RViHz0tm6VXv8=
1414
</data>
1515
<key>Modules/module.modulemap</key>
1616
<data>
@@ -23,11 +23,11 @@
2323
<dict>
2424
<key>hash</key>
2525
<data>
26-
+5RuY6/iQhV7bDrd1Jqm3MA0qtE=
26+
wUODJ2TiiriA6l4LCjoG4u3Fmq8=
2727
</data>
2828
<key>hash2</key>
2929
<data>
30-
xReNp86WG/EDKkzut25w6kqbAn57pZ7SEKQejDlKV10=
30+
VVenTFRGpn21k6NwqiQoy0atqCtjFjDl23bo88t6r0w=
3131
</data>
3232
</dict>
3333
<key>Modules/module.modulemap</key>

0 commit comments

Comments
 (0)