Skip to content

Commit

Permalink
Merge pull request #1355 from OneSignal/rel/5.1.0
Browse files Browse the repository at this point in the history
Release 5.1.0
  • Loading branch information
nan-li authored Jan 5, 2024
2 parents eae5234 + fa5f824 commit 1d341d3
Show file tree
Hide file tree
Showing 125 changed files with 10,194 additions and 3,800 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.5"
s.version = "5.1.0"
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.5"
s.version = "5.1.0"
s.summary = "OneSignal push notification library for mobile apps."
s.homepage = "https://onesignal.com"
s.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down
36 changes: 18 additions & 18 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -105,48 +105,48 @@ let package = Package(
),
.binaryTarget(
name: "OneSignalFramework",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalFramework.xcframework.zip",
checksum: "3992fa88cd0e53df163bb61061637d18b4661db8fafa83186e3b8ffb6697802b"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalFramework.xcframework.zip",
checksum: "9f1b8c8c3cba585b5861d3b04df167a5e74a48400e7b6d4db7b61767b9c8bb46"
),
.binaryTarget(
name: "OneSignalInAppMessages",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalInAppMessages.xcframework.zip",
checksum: "a45f932173dffc7584a0cedfe96d298bde4aa3b87b51517d3dd649a268b9ccec"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalInAppMessages.xcframework.zip",
checksum: "92212c029622ac585cb55ac29f36f68ce9c1f50bf500c33008477f96b229f7e1"
),
.binaryTarget(
name: "OneSignalLocation",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalLocation.xcframework.zip",
checksum: "09a518db892ed75b41be46eb438ce42860e00ce1d68c9d70949155ae47fa90e2"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalLocation.xcframework.zip",
checksum: "8b1fee64e9dcebc85d5220e5600be23e560895f25aa2d6d02472d7ddb2bfd899"
),
.binaryTarget(
name: "OneSignalUser",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalUser.xcframework.zip",
checksum: "53f0375965d4320236c72187bf90d10d039c08db9e6878b2ec88a9eedcb8726e"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalUser.xcframework.zip",
checksum: "04c4226583588782a3c7eab7fc5432e5c2e5d3f7b93dbe035f11420d040edba6"
),
.binaryTarget(
name: "OneSignalNotifications",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalNotifications.xcframework.zip",
checksum: "1be5f1d399e078a25f3686808c13bedfa67f0b7cc8e598ef8ca4765cb0c5078a"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalNotifications.xcframework.zip",
checksum: "2383ae631e80b06f42557eff3f06a41a3e2614dccd854b767950e975ded70838"
),
.binaryTarget(
name: "OneSignalExtension",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalExtension.xcframework.zip",
checksum: "6afc5293b1f91c92e97d9e5be0e2822c3cf02dc5f5fbbe8195833f24dc912379"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalExtension.xcframework.zip",
checksum: "9cc6c0e0b9090c7c9816157e4ba1193194f132ebf0dae6c28533c2de3fb7c5dd"
),
.binaryTarget(
name: "OneSignalOutcomes",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalOutcomes.xcframework.zip",
checksum: "14a7cf63a33bb5892cd15bfb3c488c1ec8fa9b3c04649513daa4908c330de0ec"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalOutcomes.xcframework.zip",
checksum: "91e675c23450803d96554820dbe5a1d6aec4157364699bb141a58f24106ee7fc"
),
.binaryTarget(
name: "OneSignalOSCore",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalOSCore.xcframework.zip",
checksum: "3434e40cce694900408b4f89d402a181d9fd52d53d46a156ec08650109a11103"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalOSCore.xcframework.zip",
checksum: "a7e039b2a43bb88d2e1de3feeac977db5cf941959379ef7a196813a4f9a048da"
),
.binaryTarget(
name: "OneSignalCore",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.0.5/OneSignalCore.xcframework.zip",
checksum: "9d30ad8b223749f014106aa82347a280b12a44c6afdb8f429fbee34c33964ffa"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/5.1.0/OneSignalCore.xcframework.zip",
checksum: "b78ec86cbed1f271fe868eaa4cdce6a2ee7de5be514548f9d21e0b122653cde3"
)
]
)
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 @"050005"
#define ONESIGNAL_VERSION @"050100"

#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 modified iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework.zip
Binary file not shown.
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 @"050005"
#define ONESIGNAL_VERSION @"050100"

#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 @@ -118,6 +118,10 @@
// can use them directly.
#define DEFAULT_UNAUTHORIZATIONOPTIONS (UNAuthorizationOptionSound + UNAuthorizationOptionBadge + UNAuthorizationOptionAlert)

// Class Names used with NSClassFromString
#define ONE_SIGNAL_LOCATION_CLASS_NAME @"OneSignalLocationManager"
#define ONE_SIGNAL_IN_APP_MESSAGES_CLASS_NAME @"OneSignalInAppMessages"

// iOS Parameter Names
#define IOS_FBA @"fba"
#define IOS_USES_PROVISIONAL_AUTHORIZATION @"uses_provisional_auth"
Expand Down Expand Up @@ -287,6 +291,10 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP

#define OS_ON_USER_WILL_CHANGE @"OS_ON_USER_WILL_CHANGE"

// OSID and EID snapshots during hydration
#define OS_SNAPSHOT_ONESIGNAL_ID @"OS_SNAPSHOT_ONESIGNAL_ID"
#define OS_SNAPSHOT_EXTERNAL_ID @"OS_SNAPSHOT_EXTERNAL_ID"

// Models and Model Stores
#define OS_IDENTITY_MODEL_KEY @"OS_IDENTITY_MODEL_KEY"
#define OS_IDENTITY_MODEL_STORE_KEY @"OS_IDENTITY_MODEL_STORE_KEY"
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
</data>
<key>Headers/OneSignalCommonDefines.h</key>
<data>
SG8j5q+Z6fExky4vxn4vwfT4D5Y=
ndR/xLw4L1jcYInpPlfRn0Qag08=
</data>
<key>Headers/OneSignalConfigManager.h</key>
<data>
Expand Down Expand Up @@ -126,7 +126,7 @@
</data>
<key>Info.plist</key>
<data>
5j92A0qIhyoYwuBXYk8Ucin9gQc=
l2wiySw7LUEDPbl1AKRhl5JgO4M=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down Expand Up @@ -265,7 +265,7 @@
<dict>
<key>hash2</key>
<data>
l1n/qWZvLmzj+PhG8acqf110T8rOeDJ+T+Ru+FKBR6g=
jFVB6mq//2WLhfivs+XsCMKTED1ORLn5oxnpRIvdLbc=
</data>
</dict>
<key>Headers/OneSignalConfigManager.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 @"050005"
#define ONESIGNAL_VERSION @"050100"

#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 @@ -118,6 +118,10 @@
// can use them directly.
#define DEFAULT_UNAUTHORIZATIONOPTIONS (UNAuthorizationOptionSound + UNAuthorizationOptionBadge + UNAuthorizationOptionAlert)

// Class Names used with NSClassFromString
#define ONE_SIGNAL_LOCATION_CLASS_NAME @"OneSignalLocationManager"
#define ONE_SIGNAL_IN_APP_MESSAGES_CLASS_NAME @"OneSignalInAppMessages"

// iOS Parameter Names
#define IOS_FBA @"fba"
#define IOS_USES_PROVISIONAL_AUTHORIZATION @"uses_provisional_auth"
Expand Down Expand Up @@ -287,6 +291,10 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP

#define OS_ON_USER_WILL_CHANGE @"OS_ON_USER_WILL_CHANGE"

// OSID and EID snapshots during hydration
#define OS_SNAPSHOT_ONESIGNAL_ID @"OS_SNAPSHOT_ONESIGNAL_ID"
#define OS_SNAPSHOT_EXTERNAL_ID @"OS_SNAPSHOT_EXTERNAL_ID"

// Models and Model Stores
#define OS_IDENTITY_MODEL_KEY @"OS_IDENTITY_MODEL_KEY"
#define OS_IDENTITY_MODEL_STORE_KEY @"OS_IDENTITY_MODEL_STORE_KEY"
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>23B81</string>
<string>23C71</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<dict>
<key>Resources/Info.plist</key>
<data>
BkFCch7mVZcdA2wPF5SEfMDbkGk=
MNSoZjzKtQKkJLhkdk0vLZ9tra8=
</data>
</dict>
<key>files2</key>
Expand Down Expand Up @@ -141,7 +141,7 @@
<dict>
<key>hash2</key>
<data>
l1n/qWZvLmzj+PhG8acqf110T8rOeDJ+T+Ru+FKBR6g=
jFVB6mq//2WLhfivs+XsCMKTED1ORLn5oxnpRIvdLbc=
</data>
</dict>
<key>Headers/OneSignalConfigManager.h</key>
Expand Down Expand Up @@ -232,7 +232,7 @@
<dict>
<key>hash2</key>
<data>
y3RYB55M2LKU2SSaZZhXP4YEAPY7E5CyiXSxIL4mUnY=
GtRo3fldyjE7z2E+ZzTMbVXU6S6zdxGKnbApe36BmSg=
</data>
</dict>
</dict>
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 @"050005"
#define ONESIGNAL_VERSION @"050100"

#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 @@ -118,6 +118,10 @@
// can use them directly.
#define DEFAULT_UNAUTHORIZATIONOPTIONS (UNAuthorizationOptionSound + UNAuthorizationOptionBadge + UNAuthorizationOptionAlert)

// Class Names used with NSClassFromString
#define ONE_SIGNAL_LOCATION_CLASS_NAME @"OneSignalLocationManager"
#define ONE_SIGNAL_IN_APP_MESSAGES_CLASS_NAME @"OneSignalInAppMessages"

// iOS Parameter Names
#define IOS_FBA @"fba"
#define IOS_USES_PROVISIONAL_AUTHORIZATION @"uses_provisional_auth"
Expand Down Expand Up @@ -287,6 +291,10 @@ typedef enum {GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT, TRACE, PATCH} HTTP

#define OS_ON_USER_WILL_CHANGE @"OS_ON_USER_WILL_CHANGE"

// OSID and EID snapshots during hydration
#define OS_SNAPSHOT_ONESIGNAL_ID @"OS_SNAPSHOT_ONESIGNAL_ID"
#define OS_SNAPSHOT_EXTERNAL_ID @"OS_SNAPSHOT_EXTERNAL_ID"

// Models and Model Stores
#define OS_IDENTITY_MODEL_KEY @"OS_IDENTITY_MODEL_KEY"
#define OS_IDENTITY_MODEL_STORE_KEY @"OS_IDENTITY_MODEL_STORE_KEY"
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
</data>
<key>Headers/OneSignalCommonDefines.h</key>
<data>
SG8j5q+Z6fExky4vxn4vwfT4D5Y=
ndR/xLw4L1jcYInpPlfRn0Qag08=
</data>
<key>Headers/OneSignalConfigManager.h</key>
<data>
Expand Down Expand Up @@ -126,7 +126,7 @@
</data>
<key>Info.plist</key>
<data>
XkPUJ3HXHTzA0ASZY88QKf6lcPA=
8iPZ8AjM9MiHU+ummZFNrYSJ1R4=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down Expand Up @@ -265,7 +265,7 @@
<dict>
<key>hash2</key>
<data>
l1n/qWZvLmzj+PhG8acqf110T8rOeDJ+T+Ru+FKBR6g=
jFVB6mq//2WLhfivs+XsCMKTED1ORLn5oxnpRIvdLbc=
</data>
</dict>
<key>Headers/OneSignalConfigManager.h</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,15 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>OneSignalExtension.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
Expand All @@ -36,15 +33,18 @@
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>OneSignalExtension.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</data>
<key>Info.plist</key>
<data>
7HlcW6AuOT07ua/ecfcRV+CNRLU=
URvlqPKpOxstw6VMyv2j0srZL08=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>23B81</string>
<string>23C71</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<dict>
<key>Resources/Info.plist</key>
<data>
c3NoFIMzPrAc1McpZ7Ds0XUzsmo=
jrMdjvD9OeByHc5AsEGvtuc1PD8=
</data>
<key>Resources/PrivacyInfo.xcprivacy</key>
<data>
Expand Down Expand Up @@ -61,7 +61,7 @@
<dict>
<key>hash2</key>
<data>
srsqXs0TFQsZZL1e14Fka+RNWv/2zjYgHg5wl/8rhfM=
AJ/T0R5qTn3iHg4ktpt+47P7sud3CYMQ5I6GQO56LQk=
</data>
</dict>
<key>Resources/PrivacyInfo.xcprivacy</key>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</data>
<key>Info.plist</key>
<data>
vT8b8+x9w537UqYlp9knZjzDazQ=
HOTWdmhXQCauZ6sQHS73C8hyGWQ=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,18 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>OneSignalInAppMessages.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 All @@ -33,18 +36,15 @@
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>OneSignalInAppMessages.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>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 1d341d3

Please sign in to comment.