Skip to content

Commit

Permalink
Merge pull request #1225 from OneSignal/rel/5.0.0_beta_01
Browse files Browse the repository at this point in the history
Release `5.0.0-beta-01`
  • Loading branch information
nan-li authored Feb 3, 2023
2 parents 57287d9 + e201251 commit a38c92a
Show file tree
Hide file tree
Showing 123 changed files with 1,989 additions and 1,163 deletions.
2 changes: 1 addition & 1 deletion OneSignal.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "OneSignal"
s.version = "5.0.0-alpha-02"
s.version = "5.0.0-beta-01"
s.summary = "OneSignal push notification library for mobile apps."
s.homepage = "https://onesignal.com"
s.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down
2 changes: 1 addition & 1 deletion OneSignalXCFramework.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "OneSignalXCFramework"
s.version = "5.0.0-alpha-02"
s.version = "5.0.0-beta-01"
s.summary = "OneSignal push notification library for mobile apps."
s.homepage = "https://onesignal.com"
s.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down
28 changes: 14 additions & 14 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,38 +76,38 @@ let package = Package(
),
.binaryTarget(
name: "OneSignalFramework",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-alpha-02/OneSignalFramework.xcframework.zip",
checksum: "d45239a066c9620f00cf0b0508db2d81378fa6079c98f634fdb510b983e21111"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-01/OneSignalFramework.xcframework.zip",
checksum: "0e2c58de5d3d03864528d78d4d390b90ec5b2bfc344ade68812aa7b3dfb629ab"
),
.binaryTarget(
name: "OneSignalUser",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-alpha-02/OneSignalUser.xcframework.zip",
checksum: "9b415219de725844f6929513152a3d6ae61dad9917527db1674179fdd689c807"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-01/OneSignalUser.xcframework.zip",
checksum: "da868cfd691374fc9255fa372fe1005e53d68a82ede5787e0bf4995f2497a502"
),
.binaryTarget(
name: "OneSignalNotifications",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-alpha-02/OneSignalNotifications.xcframework.zip",
checksum: "6a36df4a860ed50a7d221cfa353ee1f49cd757435ac1c0e6983c2a349c5576bc"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-01/OneSignalNotifications.xcframework.zip",
checksum: "9c087205a839354f11c1ac156368d57765b764750911b08b1550d9881e0e148b"
),
.binaryTarget(
name: "OneSignalExtension",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-alpha-02/OneSignalExtension.xcframework.zip",
checksum: "cecb194cea6068e202c0df349dd510340c573205f4ccd9e6d34f0d4bd3ff5492"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-01/OneSignalExtension.xcframework.zip",
checksum: "2871768867538dc8c2afcd2dfb5a412b74fc581da41aeeaf82a0e8d3e4b749f9"
),
.binaryTarget(
name: "OneSignalOutcomes",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-alpha-02/OneSignalOutcomes.xcframework.zip",
checksum: "373984163aa80bb9d03c33ed05c12a0e37c5c24448db9b209605349725a3e057"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-01/OneSignalOutcomes.xcframework.zip",
checksum: "60f6b46e0e8605b84fe24485d9cb1ab88143b47b3c6eabc5d5243baf7a8141d8"
),
.binaryTarget(
name: "OneSignalOSCore",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-alpha-02/OneSignalOSCore.xcframework.zip",
checksum: "51ab6b1acec053cb999a3efdfef67c29e7490ebf59e6e489fb964227c01a7555"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-01/OneSignalOSCore.xcframework.zip",
checksum: "1e34e36df8f8faf9b46f00fcf82ae421c77585c09f4a9ec40afd9425bef6d84c"
),
.binaryTarget(
name: "OneSignalCore",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-alpha-02/OneSignalCore.xcframework.zip",
checksum: "fd1725e5414289154a2bf852c4ff5aaff8301407025902eabde388557f73aacc"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.0-beta-01/OneSignalCore.xcframework.zip",
checksum: "55905e13959b9bfd348e27911dd47222ae3a7559e00d8b3dcd2a2ad7cf73a793"
)
]
)
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
// "*" in comment line ending comment means the string value has not been changed
// App

#define ONESIGNAL_VERSION @"050000-alpha-02"
#define ONESIGNAL_VERSION @"050000-beta-01"

#define OSUD_APP_ID @"GT_APP_ID" // * OSUD_APP_ID
#define OSUD_REGISTERED_WITH_APPLE @"GT_REGISTERED_WITH_APPLE" // * OSUD_REGISTERED_WITH_APPLE
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,30 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>OneSignalCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>OneSignalCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
// "*" in comment line ending comment means the string value has not been changed
// App

#define ONESIGNAL_VERSION @"050000-alpha-02"
#define ONESIGNAL_VERSION @"050000-beta-01"

#define OSUD_APP_ID @"GT_APP_ID" // * OSUD_APP_ID
#define OSUD_REGISTERED_WITH_APPLE @"GT_REGISTERED_WITH_APPLE" // * OSUD_REGISTERED_WITH_APPLE
Expand Down Expand Up @@ -231,13 +231,10 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP

#ifndef OS_TEST
// OneSignal API Client Defines
#define REATTEMPT_DELAY 30.0
#define REATTEMPT_DELAY 5.0
#define REQUEST_TIMEOUT_REQUEST 120.0 //for most HTTP requests
#define REQUEST_TIMEOUT_RESOURCE 120.0 //for loading a resource like an image
#define MAX_ATTEMPT_COUNT 3

// Send tags batch delay
#define SEND_TAGS_DELAY 5.0
#define MAX_ATTEMPT_COUNT 5

// the max number of UNNotificationCategory ID's the SDK will register
#define MAX_CATEGORIES_SIZE 128
Expand All @@ -254,9 +251,6 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP
#define REQUEST_TIMEOUT_RESOURCE 0.02 //for loading a resource like an image
#define MAX_ATTEMPT_COUNT 3

// Send tags batch delay
#define SEND_TAGS_DELAY 0.005

// the max number of UNNotificationCategory ID's the SDK will register
#define MAX_CATEGORIES_SIZE 5

Expand Down Expand Up @@ -284,7 +278,6 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP
#define OS_ONESIGNAL_ID @"onesignal_id"
#define OS_EXTERNAL_ID @"external_id"

#define OS_RETAIN_PREVIOUS_USER @"retain_previous_user"
#define OS_ON_USER_WILL_CHANGE @"OS_ON_USER_WILL_CHANGE"

// Models and Model Stores
Expand All @@ -310,7 +303,8 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP
#define OS_OPERATION_REPO_DELTA_QUEUE_KEY @"OS_OPERATION_REPO_DELTA_QUEUE_KEY"

// User Executor
#define OS_USER_EXECUTOR_REQUEST_QUEUE_KEY @"OS_USER_EXECUTOR_REQUEST_QUEUE_KEY"
#define OS_USER_EXECUTOR_USER_REQUEST_QUEUE_KEY @"OS_USER_EXECUTOR_USER_REQUEST_QUEUE_KEY"
#define OS_USER_EXECUTOR_TRANSFER_SUBSCRIPTION_REQUEST_QUEUE_KEY @"OS_USER_EXECUTOR_TRANSFER_SUBSCRIPTION_REQUEST_QUEUE_KEY"

// Identity Executor
#define OS_IDENTITY_EXECUTOR_DELTA_QUEUE_KEY @"OS_IDENTITY_EXECUTOR_DELTA_QUEUE_KEY"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {

@protocol OSDebug <NSObject>
+ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel;
+ (void)setVisualLevel:(ONE_S_LOG_LEVEL)visualLogLevel;
+ (void)setAlertLevel:(ONE_S_LOG_LEVEL)logLevel NS_REFINED_FOR_SWIFT;
@end

@interface OneSignalLog : NSObject<OSDebug>
+ (Class<OSDebug>)Debug;
+ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel;
+ (void)setVisualLevel:(ONE_S_LOG_LEVEL)visualLogLevel;
+ (void)setAlertLevel:(ONE_S_LOG_LEVEL)logLevel;
+ (void)onesignalLog:(ONE_S_LOG_LEVEL)logLevel message:(NSString* _Nonnull)message;
@end
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</data>
<key>Headers/OneSignalCommonDefines.h</key>
<data>
W5nwNvSWT4H8xJ6pDlreBEAAn7Q=
qGveK4yB11bIlJ+Z87iCUhyOPEk=
</data>
<key>Headers/OneSignalConfigManager.h</key>
<data>
Expand All @@ -86,7 +86,7 @@
</data>
<key>Headers/OneSignalLog.h</key>
<data>
+AiZ0kKN8BatL469uOR7lP2dKUk=
wk8I7qEKwJNPyhXpP6jLzTrV4sI=
</data>
<key>Headers/OneSignalMobileProvision.h</key>
<data>
Expand Down Expand Up @@ -239,7 +239,7 @@
<dict>
<key>hash2</key>
<data>
ek9IEl9cgshCZvdp4CgQbhWv44x25oTiwfXephwL6DU=
XP9ZPfxT6H+albNmTdkhFeb46G3aaf6zPiHU6UN4eqE=
</data>
</dict>
<key>Headers/OneSignalConfigManager.h</key>
Expand Down Expand Up @@ -267,7 +267,7 @@
<dict>
<key>hash2</key>
<data>
nyebF5JgbuqB46Vsbi6A0g0HVGb9YNyMX1PaHKTScVw=
TTh02f8eEgWpT90lK8GWCEw6O4YEAUrYwK/k+J5iZ7I=
</data>
</dict>
<key>Headers/OneSignalMobileProvision.h</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
// "*" in comment line ending comment means the string value has not been changed
// App

#define ONESIGNAL_VERSION @"050000-alpha-02"
#define ONESIGNAL_VERSION @"050000-beta-01"

#define OSUD_APP_ID @"GT_APP_ID" // * OSUD_APP_ID
#define OSUD_REGISTERED_WITH_APPLE @"GT_REGISTERED_WITH_APPLE" // * OSUD_REGISTERED_WITH_APPLE
Expand Down Expand Up @@ -231,13 +231,10 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP

#ifndef OS_TEST
// OneSignal API Client Defines
#define REATTEMPT_DELAY 30.0
#define REATTEMPT_DELAY 5.0
#define REQUEST_TIMEOUT_REQUEST 120.0 //for most HTTP requests
#define REQUEST_TIMEOUT_RESOURCE 120.0 //for loading a resource like an image
#define MAX_ATTEMPT_COUNT 3

// Send tags batch delay
#define SEND_TAGS_DELAY 5.0
#define MAX_ATTEMPT_COUNT 5

// the max number of UNNotificationCategory ID's the SDK will register
#define MAX_CATEGORIES_SIZE 128
Expand All @@ -254,9 +251,6 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP
#define REQUEST_TIMEOUT_RESOURCE 0.02 //for loading a resource like an image
#define MAX_ATTEMPT_COUNT 3

// Send tags batch delay
#define SEND_TAGS_DELAY 0.005

// the max number of UNNotificationCategory ID's the SDK will register
#define MAX_CATEGORIES_SIZE 5

Expand Down Expand Up @@ -284,7 +278,6 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP
#define OS_ONESIGNAL_ID @"onesignal_id"
#define OS_EXTERNAL_ID @"external_id"

#define OS_RETAIN_PREVIOUS_USER @"retain_previous_user"
#define OS_ON_USER_WILL_CHANGE @"OS_ON_USER_WILL_CHANGE"

// Models and Model Stores
Expand All @@ -310,7 +303,8 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP
#define OS_OPERATION_REPO_DELTA_QUEUE_KEY @"OS_OPERATION_REPO_DELTA_QUEUE_KEY"

// User Executor
#define OS_USER_EXECUTOR_REQUEST_QUEUE_KEY @"OS_USER_EXECUTOR_REQUEST_QUEUE_KEY"
#define OS_USER_EXECUTOR_USER_REQUEST_QUEUE_KEY @"OS_USER_EXECUTOR_USER_REQUEST_QUEUE_KEY"
#define OS_USER_EXECUTOR_TRANSFER_SUBSCRIPTION_REQUEST_QUEUE_KEY @"OS_USER_EXECUTOR_TRANSFER_SUBSCRIPTION_REQUEST_QUEUE_KEY"

// Identity Executor
#define OS_IDENTITY_EXECUTOR_DELTA_QUEUE_KEY @"OS_IDENTITY_EXECUTOR_DELTA_QUEUE_KEY"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {

@protocol OSDebug <NSObject>
+ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel;
+ (void)setVisualLevel:(ONE_S_LOG_LEVEL)visualLogLevel;
+ (void)setAlertLevel:(ONE_S_LOG_LEVEL)logLevel NS_REFINED_FOR_SWIFT;
@end

@interface OneSignalLog : NSObject<OSDebug>
+ (Class<OSDebug>)Debug;
+ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel;
+ (void)setVisualLevel:(ONE_S_LOG_LEVEL)visualLogLevel;
+ (void)setAlertLevel:(ONE_S_LOG_LEVEL)logLevel;
+ (void)onesignalLog:(ONE_S_LOG_LEVEL)logLevel message:(NSString* _Nonnull)message;
@end
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
<dict>
<key>hash2</key>
<data>
ek9IEl9cgshCZvdp4CgQbhWv44x25oTiwfXephwL6DU=
XP9ZPfxT6H+albNmTdkhFeb46G3aaf6zPiHU6UN4eqE=
</data>
</dict>
<key>Headers/OneSignalConfigManager.h</key>
Expand Down Expand Up @@ -155,7 +155,7 @@
<dict>
<key>hash2</key>
<data>
nyebF5JgbuqB46Vsbi6A0g0HVGb9YNyMX1PaHKTScVw=
TTh02f8eEgWpT90lK8GWCEw6O4YEAUrYwK/k+J5iZ7I=
</data>
</dict>
<key>Headers/OneSignalMobileProvision.h</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
// "*" in comment line ending comment means the string value has not been changed
// App

#define ONESIGNAL_VERSION @"050000-alpha-02"
#define ONESIGNAL_VERSION @"050000-beta-01"

#define OSUD_APP_ID @"GT_APP_ID" // * OSUD_APP_ID
#define OSUD_REGISTERED_WITH_APPLE @"GT_REGISTERED_WITH_APPLE" // * OSUD_REGISTERED_WITH_APPLE
Expand Down Expand Up @@ -231,13 +231,10 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP

#ifndef OS_TEST
// OneSignal API Client Defines
#define REATTEMPT_DELAY 30.0
#define REATTEMPT_DELAY 5.0
#define REQUEST_TIMEOUT_REQUEST 120.0 //for most HTTP requests
#define REQUEST_TIMEOUT_RESOURCE 120.0 //for loading a resource like an image
#define MAX_ATTEMPT_COUNT 3

// Send tags batch delay
#define SEND_TAGS_DELAY 5.0
#define MAX_ATTEMPT_COUNT 5

// the max number of UNNotificationCategory ID's the SDK will register
#define MAX_CATEGORIES_SIZE 128
Expand All @@ -254,9 +251,6 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP
#define REQUEST_TIMEOUT_RESOURCE 0.02 //for loading a resource like an image
#define MAX_ATTEMPT_COUNT 3

// Send tags batch delay
#define SEND_TAGS_DELAY 0.005

// the max number of UNNotificationCategory ID's the SDK will register
#define MAX_CATEGORIES_SIZE 5

Expand Down Expand Up @@ -284,7 +278,6 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP
#define OS_ONESIGNAL_ID @"onesignal_id"
#define OS_EXTERNAL_ID @"external_id"

#define OS_RETAIN_PREVIOUS_USER @"retain_previous_user"
#define OS_ON_USER_WILL_CHANGE @"OS_ON_USER_WILL_CHANGE"

// Models and Model Stores
Expand All @@ -310,7 +303,8 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP
#define OS_OPERATION_REPO_DELTA_QUEUE_KEY @"OS_OPERATION_REPO_DELTA_QUEUE_KEY"

// User Executor
#define OS_USER_EXECUTOR_REQUEST_QUEUE_KEY @"OS_USER_EXECUTOR_REQUEST_QUEUE_KEY"
#define OS_USER_EXECUTOR_USER_REQUEST_QUEUE_KEY @"OS_USER_EXECUTOR_USER_REQUEST_QUEUE_KEY"
#define OS_USER_EXECUTOR_TRANSFER_SUBSCRIPTION_REQUEST_QUEUE_KEY @"OS_USER_EXECUTOR_TRANSFER_SUBSCRIPTION_REQUEST_QUEUE_KEY"

// Identity Executor
#define OS_IDENTITY_EXECUTOR_DELTA_QUEUE_KEY @"OS_IDENTITY_EXECUTOR_DELTA_QUEUE_KEY"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {

@protocol OSDebug <NSObject>
+ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel;
+ (void)setVisualLevel:(ONE_S_LOG_LEVEL)visualLogLevel;
+ (void)setAlertLevel:(ONE_S_LOG_LEVEL)logLevel NS_REFINED_FOR_SWIFT;
@end

@interface OneSignalLog : NSObject<OSDebug>
+ (Class<OSDebug>)Debug;
+ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel;
+ (void)setVisualLevel:(ONE_S_LOG_LEVEL)visualLogLevel;
+ (void)setAlertLevel:(ONE_S_LOG_LEVEL)logLevel;
+ (void)onesignalLog:(ONE_S_LOG_LEVEL)logLevel message:(NSString* _Nonnull)message;
@end
Binary file not shown.
Loading

0 comments on commit a38c92a

Please sign in to comment.