Skip to content

Commit 76b01a0

Browse files
authored
Merge pull request #1280 from OneSignal/rel/5.0.0-beta-05
Release 5.0.0-beta-05
2 parents 651446b + c33c96f commit 76b01a0

File tree

191 files changed

+3097
-26450
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

191 files changed

+3097
-26450
lines changed

OneSignal.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "OneSignal"
3-
s.version = "5.0.0-beta-04"
3+
s.version = "5.0.0-beta-05"
44
s.summary = "OneSignal push notification library for mobile apps."
55
s.homepage = "https://onesignal.com"
66
s.license = { :type => 'MIT', :file => 'LICENSE' }

OneSignalXCFramework.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "OneSignalXCFramework"
3-
s.version = "5.0.0-beta-04"
3+
s.version = "5.0.0-beta-05"
44
s.summary = "OneSignal push notification library for mobile apps."
55
s.homepage = "https://onesignal.com"
66
s.license = { :type => 'MIT', :file => 'LICENSE' }

Package.swift

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -105,48 +105,48 @@ let package = Package(
105105
),
106106
.binaryTarget(
107107
name: "OneSignalFramework",
108-
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-04/OneSignalFramework.xcframework.zip",
109-
checksum: "c1a9a6d372fa8a2e4dfa077e74c6a5cdc523ce1005e58a05d888aec742f80d52"
108+
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-05/OneSignalFramework.xcframework.zip",
109+
checksum: "671086520e15751ae5fb5ac0b7721cb2c6f317c8701e94d90f049c054ba1ad8e"
110110
),
111111
.binaryTarget(
112112
name: "OneSignalInAppMessages",
113-
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-04/OneSignalInAppMessages.xcframework.zip",
114-
checksum: "needschecksum"
113+
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-05/OneSignalInAppMessages.xcframework.zip",
114+
checksum: "267a1d2f4a2d20d5db460318b4ede69f9c9e307718d7ad3f421fe608ec0f9b58"
115115
),
116116
.binaryTarget(
117117
name: "OneSignalLocation",
118-
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-04/OneSignalLocation.xcframework.zip",
119-
checksum: "needschecksum"
118+
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-05/OneSignalLocation.xcframework.zip",
119+
checksum: "6be5d1ffc7adda9859b94f8a12eda014b6331367183947313793d0ed114498f2"
120120
),
121121
.binaryTarget(
122122
name: "OneSignalUser",
123-
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-04/OneSignalUser.xcframework.zip",
124-
checksum: "ca63ac5255a5a3cc7cd8b70e7ede241a1355783776a8a9c841e0c45f179622f0"
123+
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-05/OneSignalUser.xcframework.zip",
124+
checksum: "c4a2e83ca7c0e83ece1657dd0888b8c187975f0045ac4ad47126cfc5caa7fa4d"
125125
),
126126
.binaryTarget(
127127
name: "OneSignalNotifications",
128-
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-04/OneSignalNotifications.xcframework.zip",
129-
checksum: "17cb0cdf119d16f83e7cb8dffec0de4b063eae2e46b4edde4e6f2976abd7e98d"
128+
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-05/OneSignalNotifications.xcframework.zip",
129+
checksum: "e270c4f564a0f7287c0dca68a76fd27ad4c97026df6a887240242a0d239350bd"
130130
),
131131
.binaryTarget(
132132
name: "OneSignalExtension",
133-
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-04/OneSignalExtension.xcframework.zip",
134-
checksum: "4a42a7ddf3174dbd168313623f188a2dfdbd7f3f2114cf52e9806567937161fc"
133+
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-05/OneSignalExtension.xcframework.zip",
134+
checksum: "b9be2f25732eed4cdfec5c9724210b88b621fe15900055e1559074f9cdaa6173"
135135
),
136136
.binaryTarget(
137137
name: "OneSignalOutcomes",
138-
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-04/OneSignalOutcomes.xcframework.zip",
139-
checksum: "376671a3357973dd8dde03052ad8488f5340ab53d864c8a7e926017878a0085b"
138+
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-05/OneSignalOutcomes.xcframework.zip",
139+
checksum: "32e56bf8ed1ff0fcde63225cd640e402c5290b212f96d77fab0cabbb12f44a52"
140140
),
141141
.binaryTarget(
142142
name: "OneSignalOSCore",
143-
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-04/OneSignalOSCore.xcframework.zip",
144-
checksum: "6b6655ef9c14e52fe883c008cff23dcc9d51e72f9ffe52317ad496762a3aac76"
143+
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-05/OneSignalOSCore.xcframework.zip",
144+
checksum: "d3d6a036f6bd3659d698ffd8ff1b1a80963b7b45eb1ae17a530466bd567820f3"
145145
),
146146
.binaryTarget(
147147
name: "OneSignalCore",
148-
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-04/OneSignalCore.xcframework.zip",
149-
checksum: "f1fb011382a317d1cd790fd47cdc097d4b279c716418ed535d7966922c04b1f9"
148+
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-05/OneSignalCore.xcframework.zip",
149+
checksum: "d92bc22675985f85f24ef5e6f3e4ad433f67abe5e985aa3e23d6784e56c04584"
150150
)
151151
]
152152
)

iOS_SDK/OneSignalSDK/OneSignalCore/Source/OneSignalCommonDefines.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
// "*" in comment line ending comment means the string value has not been changed
4747
// App
4848

49-
#define ONESIGNAL_VERSION @"050000-beta-04"
49+
#define ONESIGNAL_VERSION @"050000-beta-05"
5050

5151
#define OSUD_APP_ID @"GT_APP_ID" // * OSUD_APP_ID
5252
#define OSUD_REGISTERED_WITH_APPLE @"GT_REGISTERED_WITH_APPLE" // * OSUD_REGISTERED_WITH_APPLE
Binary file not shown.

iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/Info.plist

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,19 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64_x86_64-maccatalyst</string>
9+
<string>ios-arm64</string>
1010
<key>LibraryPath</key>
1111
<string>OneSignalCore.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15-
<string>x86_64</string>
1615
</array>
1716
<key>SupportedPlatform</key>
1817
<string>ios</string>
19-
<key>SupportedPlatformVariant</key>
20-
<string>maccatalyst</string>
2118
</dict>
2219
<dict>
2320
<key>LibraryIdentifier</key>
24-
<string>ios-arm64_x86_64-simulator</string>
21+
<string>ios-arm64_x86_64-maccatalyst</string>
2522
<key>LibraryPath</key>
2623
<string>OneSignalCore.framework</string>
2724
<key>SupportedArchitectures</key>
@@ -32,19 +29,22 @@
3229
<key>SupportedPlatform</key>
3330
<string>ios</string>
3431
<key>SupportedPlatformVariant</key>
35-
<string>simulator</string>
32+
<string>maccatalyst</string>
3633
</dict>
3734
<dict>
3835
<key>LibraryIdentifier</key>
39-
<string>ios-arm64</string>
36+
<string>ios-arm64_x86_64-simulator</string>
4037
<key>LibraryPath</key>
4138
<string>OneSignalCore.framework</string>
4239
<key>SupportedArchitectures</key>
4340
<array>
4441
<string>arm64</string>
42+
<string>x86_64</string>
4543
</array>
4644
<key>SupportedPlatform</key>
4745
<string>ios</string>
46+
<key>SupportedPlatformVariant</key>
47+
<string>simulator</string>
4848
</dict>
4949
</array>
5050
<key>CFBundlePackageType</key>

iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSDialogInstanceManager.h

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,29 @@
1-
//
2-
// OSDialogPresenter.h
3-
// OneSignal
4-
//
5-
// Created by Elliot Mawby on 11/2/22.
6-
// Copyright © 2022 Hiptic. All rights reserved.
7-
//
1+
/*
2+
Modified MIT License
3+
4+
Copyright 2022 OneSignal
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
1. The above copyright notice and this permission notice shall be included in
14+
all copies or substantial portions of the Software.
15+
16+
2. All copies of substantial portions of the Software may only be used in connection
17+
with services provided by OneSignal.
18+
19+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25+
THE SOFTWARE.
26+
*/
827

928
#import <Foundation/Foundation.h>
1029

iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSInAppMessages.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
@property (strong, nonatomic, nonnull) NSString *messageId;
3535

36-
// Convert the object into a NSDictionary
36+
// Dictionary of properties available on OSInAppMessage only
3737
- (NSDictionary *_Nonnull)jsonRepresentation;
3838

3939
@end
@@ -78,18 +78,22 @@ typedef NS_ENUM(NSUInteger, OSInAppMessageActionUrlType) {
7878

7979
@interface OSInAppMessageWillDisplayEvent : NSObject
8080
@property (nonatomic, readonly, nonnull) OSInAppMessage *message;
81+
- (NSDictionary *_Nonnull)jsonRepresentation;
8182
@end
8283

8384
@interface OSInAppMessageDidDisplayEvent : NSObject
8485
@property (nonatomic, readonly, nonnull) OSInAppMessage *message;
86+
- (NSDictionary *_Nonnull)jsonRepresentation;
8587
@end
8688

8789
@interface OSInAppMessageWillDismissEvent : NSObject
8890
@property (nonatomic, readonly, nonnull) OSInAppMessage *message;
91+
- (NSDictionary *_Nonnull)jsonRepresentation;
8992
@end
9093

9194
@interface OSInAppMessageDidDismissEvent : NSObject
9295
@property (nonatomic, readonly, nonnull) OSInAppMessage *message;
96+
- (NSDictionary *_Nonnull)jsonRepresentation;
9397
@end
9498

9599
@interface OSInAppMessageClickEvent : NSObject

iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSNetworkingUtils.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,18 @@
2929

3030
// NS_ASSUME_NONNULL_BEGIN
3131

32+
typedef NS_ENUM(NSInteger, OSResponseStatusType) {
33+
OSResponseStatusInvalid = 0,
34+
OSResponseStatusRetryable,
35+
OSResponseStatusUnauthorized,
36+
OSResponseStatusMissing,
37+
OSResponseStatusConflict
38+
};
39+
3240
@interface OSNetworkingUtils : NSObject
3341

3442
+ (NSNumber*)getNetType;
43+
+ (OSResponseStatusType)getResponseStatusType:(NSInteger)statusCode;
3544

3645
@end
3746

iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OneSignalCommonDefines.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
// "*" in comment line ending comment means the string value has not been changed
4747
// App
4848

49-
#define ONESIGNAL_VERSION @"050000-beta-04"
49+
#define ONESIGNAL_VERSION @"050000-beta-05"
5050

5151
#define OSUD_APP_ID @"GT_APP_ID" // * OSUD_APP_ID
5252
#define OSUD_REGISTERED_WITH_APPLE @"GT_REGISTERED_WITH_APPLE" // * OSUD_REGISTERED_WITH_APPLE
@@ -73,7 +73,6 @@
7373

7474
// Notification
7575
#define OSUD_LAST_MESSAGE_OPENED @"GT_LAST_MESSAGE_OPENED_" // * OSUD_MOST_RECENT_NOTIFICATION_OPENED
76-
#define OSUD_NOTIFICATION_OPEN_LAUNCH_URL @"ONESIGNAL_INAPP_LAUNCH_URL" // * OSUD_NOTIFICATION_OPEN_LAUNCH_URL
7776
#define OSUD_TEMP_CACHED_NOTIFICATION_MEDIA @"OSUD_TEMP_CACHED_NOTIFICATION_MEDIA" // OSUD_TEMP_CACHED_NOTIFICATION_MEDIA
7877
// Remote Params
7978
#define OSUD_LOCATION_ENABLED @"OSUD_LOCATION_ENABLED"

0 commit comments

Comments
 (0)