Skip to content

Commit ae140b6

Browse files
committed
Release commit for Unity 2.13.0
* Android bumped to `3.14.1` * iOS bumped to `2.14.2`
1 parent 649de3d commit ae140b6

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed
Binary file not shown.

OneSignalExample/Assets/OneSignal/Platforms/iOS/OneSignal.h

+7-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ typedef NS_ENUM(NSUInteger, OSNotificationDisplayType) {
5959
/*Notification is silent, or app is in focus but InAppAlertNotifications are disabled*/
6060
OSNotificationDisplayTypeNone,
6161

62-
/*Default UIAlertView display*/
62+
/*Default UIAlertController display*/
6363
OSNotificationDisplayTypeInAppAlert,
6464

6565
/*iOS native notification display*/
@@ -210,13 +210,18 @@ typedef NS_ENUM(NSUInteger, OSNotificationDisplayType) {
210210
- (void)handleMessageAction:(OSInAppMessageAction * _Nonnull)action NS_SWIFT_NAME(handleMessageAction(action:));
211211
@end
212212

213-
/* OneSignal Session Types */
213+
/* OneSignal Influence Types */
214214
typedef NS_ENUM(NSUInteger, Session) {
215215
DIRECT,
216216
INDIRECT,
217217
UNATTRIBUTED,
218218
DISABLED
219219
};
220+
/* OneSignal Influence Channels */
221+
typedef NS_ENUM(NSUInteger, OSInfluenceChannel) {
222+
IN_APP_MESSAGE,
223+
NOTIFICATION,
224+
};
220225

221226
@interface OSOutcomeEvent : NSObject
222227

@@ -352,7 +357,6 @@ typedef void (^OSHandleInAppMessageActionClickBlock)(OSInAppMessageAction* actio
352357
/*Block for handling outcome event being sent successfully*/
353358
typedef void (^OSSendOutcomeSuccess)(OSOutcomeEvent* outcome);
354359

355-
356360
/*Dictionary of keys to pass alongside the init settings*/
357361

358362
/*Let OneSignal directly prompt for push notifications on init*/
Binary file not shown.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.12.2
1+
2.13.0

OneSignalSDK.unitypackage

909 KB
Binary file not shown.

0 commit comments

Comments
 (0)