Skip to content

Commit 4764458

Browse files
committed
Binaries for 5.0.0 Beta 3
1 parent 2e79dc9 commit 4764458

File tree

184 files changed

+28252
-4092
lines changed

Some content is hidden

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

184 files changed

+28252
-4092
lines changed
Binary file not shown.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64_x86_64-maccatalyst</string>
9+
<string>ios-arm64_x86_64-simulator</string>
1010
<key>LibraryPath</key>
1111
<string>OneSignalCore.framework</string>
1212
<key>SupportedArchitectures</key>
@@ -17,11 +17,11 @@
1717
<key>SupportedPlatform</key>
1818
<string>ios</string>
1919
<key>SupportedPlatformVariant</key>
20-
<string>maccatalyst</string>
20+
<string>simulator</string>
2121
</dict>
2222
<dict>
2323
<key>LibraryIdentifier</key>
24-
<string>ios-arm64_x86_64-simulator</string>
24+
<string>ios-arm64_x86_64-maccatalyst</string>
2525
<key>LibraryPath</key>
2626
<string>OneSignalCore.framework</string>
2727
<key>SupportedArchitectures</key>
@@ -32,7 +32,7 @@
3232
<key>SupportedPlatform</key>
3333
<string>ios</string>
3434
<key>SupportedPlatformVariant</key>
35-
<string>simulator</string>
35+
<string>maccatalyst</string>
3636
</dict>
3737
<dict>
3838
<key>LibraryIdentifier</key>

iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/ios-arm64/OneSignalCore.framework/Headers/OSNotification+Internal.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@
3131
#define OSNotification_Internal_h
3232

3333
@interface OSNotification(Internal)
34-
+(instancetype _Nonnull )parseWithApns:(nonnull NSDictionary *)message;
35-
- (void)setCompletionBlock:(OSNotificationDisplayResponse _Nonnull)completion;
36-
- (void)startTimeoutTimer;
37-
- (void)complete:(nullable OSNotification *)notification;
3834
@end
3935

4036
#endif /* OSNotification_Internal_h */

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,17 @@ typedef NS_ENUM(NSUInteger, OSNotificationActionType) {
3636
OSNotificationActionTypeActionTaken
3737
};
3838

39-
@interface OSNotificationAction : NSObject
40-
41-
/* The type of the notification action */
42-
@property(readonly)OSNotificationActionType type;
43-
39+
@interface OSNotificationClickResult : NSObject
4440
/* The ID associated with the button tapped. NULL when the actionType is NotificationTapped */
4541
@property(readonly, nullable)NSString* actionId;
42+
@property(readonly, nullable)NSString* url;
4643

4744
@end
4845

49-
@interface OSNotificationOpenedResult : NSObject
46+
@interface OSNotificationClickEvent : NSObject
5047

5148
@property(readonly, nonnull)OSNotification* notification;
52-
@property(readonly, nonnull)OSNotificationAction *action;
49+
@property(readonly, nonnull)OSNotificationClickResult *result;
5350

5451
/* Convert object into an NSString that can be convertible into a custom Dictionary / JSON Object */
5552
- (NSString* _Nonnull)stringify;

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,13 @@
4040
- (BOOL)notifyChange:(ObjectType)state;
4141
@end
4242

43+
// OSBoolObservable is for BOOL states which OSObservable above does not work with
44+
45+
@interface OSBoolObservable<__covariant ObserverType> : NSObject
46+
- (instancetype _Nonnull)initWithChangeSelector:(SEL)selector;
47+
- (void)addObserver:(ObserverType)observer;
48+
- (void)removeObserver:(ObserverType)observer;
49+
- (BOOL)notifyChange:(BOOL)state;
50+
@end
51+
4352
#endif /* OSObservable_h */

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ NS_ASSUME_NONNULL_END
5353
@end
5454

5555
@interface OSRequestLiveActivityEnter: OneSignalRequest
56-
+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
56+
+ (instancetype _Nonnull)withSubscriptionId:(NSString * _Nonnull)subscriptionId
5757
appId:(NSString * _Nonnull)appId
5858
activityId:(NSString * _Nonnull)activityId
5959
token:(NSString * _Nonnull)token;
6060
@end
6161

6262
@interface OSRequestLiveActivityExit: OneSignalRequest
63-
+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
63+
+ (instancetype _Nonnull)withSubscriptionId:(NSString * _Nonnull)subscriptionId
6464
appId:(NSString * _Nonnull)appId
6565
activityId:(NSString * _Nonnull)activityId;
6666
@end

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

Lines changed: 8 additions & 4 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-02"
49+
#define ONESIGNAL_VERSION @"050000-beta-03"
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
@@ -65,9 +65,12 @@
6565
#define OSUD_PERMISSION_EPHEMERAL_FROM @"OSUD_PERMISSION_EPHEMERAL_FROM" // * OSUD_PERMISSION_EPHEMERAL_FROM
6666
#define OSUD_LANGUAGE @"OSUD_LANGUAGE" // * OSUD_LANGUAGE
6767
#define DEFAULT_LANGUAGE @"en" // * OSUD_LANGUAGE
68-
// Push Subscription
69-
#define OSUD_PUSH_SUBSCRIPTION_ID @"GT_PLAYER_ID" // * OSUD_PUSH_SUBSCRIPTION_ID
70-
#define OSUD_PUSH_TOKEN @"GT_DEVICE_TOKEN" // * OSUD_PUSH_TOKEN
68+
69+
/* Push Subscription */
70+
#define OSUD_LEGACY_PLAYER_ID @"GT_PLAYER_ID" // The legacy player ID from SDKs prior to 5.x.x
71+
#define OSUD_PUSH_SUBSCRIPTION_ID @"OSUD_PUSH_SUBSCRIPTION_ID"
72+
#define OSUD_PUSH_TOKEN @"GT_DEVICE_TOKEN"
73+
7174
// Notification
7275
#define OSUD_LAST_MESSAGE_OPENED @"GT_LAST_MESSAGE_OPENED_" // * OSUD_MOST_RECENT_NOTIFICATION_OPENED
7376
#define OSUD_NOTIFICATION_OPEN_LAUNCH_URL @"ONESIGNAL_INAPP_LAUNCH_URL" // * OSUD_NOTIFICATION_OPEN_LAUNCH_URL
@@ -152,6 +155,7 @@
152155

153156
// APNS params
154157
#define ONESIGNAL_IAM_PREVIEW @"os_in_app_message_preview_id"
158+
#define ONESIGNAL_POST_PREVIEW_IAM @"ONESIGNAL_POST_PREVIEW_IAM"
155159

156160
#define ONESIGNAL_SUPPORTED_ATTACHMENT_TYPES @[@"aiff", @"wav", @"mp3", @"mp4", @"jpg", @"jpeg", @"png", @"gif", @"mpeg", @"mpg", @"avi", @"m4a", @"m4v"]
157161

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,5 @@ typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {
4343

4444
@interface OneSignalLog : NSObject<OSDebug>
4545
+ (Class<OSDebug>)Debug;
46-
+ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel;
47-
+ (void)setAlertLevel:(ONE_S_LOG_LEVEL)logLevel;
4846
+ (void)onesignalLog:(ONE_S_LOG_LEVEL)logLevel message:(NSString* _Nonnull)message;
4947
@end

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
+(void)init;
3434
+(void)updateFromDownloadParams:(NSDictionary*)params;
3535

36-
+(void)trackOpenEvent:(OSNotificationOpenedResult*)results;
36+
+(void)trackOpenEvent:(OSNotificationClickEvent*)event;
3737
+(void)trackReceivedEvent:(OSNotification*)notification;
3838
+(void)trackInfluenceOpenEvent;
3939
@end

0 commit comments

Comments
 (0)