Skip to content

Commit

Permalink
Merge pull request #1154 from OneSignal/rel/3.12.0
Browse files Browse the repository at this point in the history
Release 3.12.0
  • Loading branch information
fhboswell committed Nov 16, 2022
2 parents 32de71b + 893cfcb commit 8c34107
Show file tree
Hide file tree
Showing 30 changed files with 105 additions and 45 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 = "3.11.5"
s.version = "3.12.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 = "3.11.5"
s.version = "3.12.0"
s.summary = "OneSignal push notification library for mobile apps."
s.homepage = "https://onesignal.com"
s.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down
16 changes: 8 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,23 @@ let package = Package(
),
.binaryTarget(
name: "OneSignal",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.11.5/OneSignal.xcframework.zip",
checksum: "225e4e970eb04d8cd27a1a54e2d331b5af71ea51e34be690ee794262e02dde85"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.12.0/OneSignal.xcframework.zip",
checksum: "6ea78916f1c5ea66dae462e14c2aa2680d0292e74ac40a92257ce985eb4941a1"
),
.binaryTarget(
name: "OneSignalExtension",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.11.5/OneSignalExtension.xcframework.zip",
checksum: "0d9474da57841bb6390cfc8302b598b39328ca5e3783f6f7810bf8372250751e"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.12.0/OneSignalExtension.xcframework.zip",
checksum: "a97cfe29b3334eb381fdc5a743f96218a28667034aee75de2005393b248d9584"
),
.binaryTarget(
name: "OneSignalOutcomes",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.11.5/OneSignalOutcomes.xcframework.zip",
checksum: "617be43975e74a0b4e24df3fbf770317fa5f7ffb7507f8fe4ffa21fc3c4bd92e"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.12.0/OneSignalOutcomes.xcframework.zip",
checksum: "564e3e819428f9b2af7dcc9919489ee5525c98e70ed4684ab18ed74b7088fc56"
),
.binaryTarget(
name: "OneSignalCore",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.11.5/OneSignalCore.xcframework.zip",
checksum: "08bb86ceb27a9d021e7ab1cf3acb791f210f8768b17f7be88108c8ffed69fa32"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.12.0/OneSignalCore.xcframework.zip",
checksum: "eefdbd9d3091bf9230e5e6db28c89e8d13ac9633f0cf096d914919c48015366f"
)
]
)
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,17 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<string>ios-arm64_armv7_armv7s</string>
<key>LibraryPath</key>
<string>OneSignalCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
<string>armv7</string>
<string>armv7s</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
Expand All @@ -37,17 +36,18 @@
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7_armv7s</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>OneSignalCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>armv7s</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
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,22 @@ NS_ASSUME_NONNULL_END
+ (instancetype _Nonnull)withUserId:(NSString * _Nullable)externalId withUserIdHashToken:(NSString * _Nullable)hashToken withOneSignalUserId:(NSString * _Nonnull)userId withSMSHashToken:(NSString * _Nullable)smsHashToken appId:(NSString * _Nonnull)appId;
@end


@interface OSRequestTrackV1 : OneSignalRequest
+ (instancetype _Nonnull)trackUsageData:(NSString * _Nonnull)osUsageData
appId:(NSString * _Nonnull)appId;
@end

@interface OSRequestLiveActivityEnter: OneSignalRequest
+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
appId:(NSString * _Nonnull)appId
activityId:(NSString * _Nonnull)activityId
token:(NSString * _Nonnull)token;
@end

@interface OSRequestLiveActivityExit: OneSignalRequest
+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
appId:(NSString * _Nonnull)appId
activityId:(NSString * _Nonnull)activityId;
@end
#endif /* Requests_h */

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</data>
<key>Headers/OSRequests.h</key>
<data>
AR5Sc+CHZpqT5yvSRTYyHuLBEjc=
MqtDyOupA+cu7c+vEvwpMBVA1b4=
</data>
<key>Headers/OneSignalClient.h</key>
<data>
Expand Down Expand Up @@ -175,11 +175,11 @@
<dict>
<key>hash</key>
<data>
AR5Sc+CHZpqT5yvSRTYyHuLBEjc=
MqtDyOupA+cu7c+vEvwpMBVA1b4=
</data>
<key>hash2</key>
<data>
GmdFYLP8Zwsod7m7aemuj8E4msAflq+RJTLAA2Y/hpY=
YdFlpQOMH+9m9N627gcvPVwShSPrBzKvDm3E3FCYHvk=
</data>
</dict>
<key>Headers/OneSignalClient.h</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,22 @@ NS_ASSUME_NONNULL_END
+ (instancetype _Nonnull)withUserId:(NSString * _Nullable)externalId withUserIdHashToken:(NSString * _Nullable)hashToken withOneSignalUserId:(NSString * _Nonnull)userId withSMSHashToken:(NSString * _Nullable)smsHashToken appId:(NSString * _Nonnull)appId;
@end


@interface OSRequestTrackV1 : OneSignalRequest
+ (instancetype _Nonnull)trackUsageData:(NSString * _Nonnull)osUsageData
appId:(NSString * _Nonnull)appId;
@end

@interface OSRequestLiveActivityEnter: OneSignalRequest
+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
appId:(NSString * _Nonnull)appId
activityId:(NSString * _Nonnull)activityId
token:(NSString * _Nonnull)token;
@end

@interface OSRequestLiveActivityExit: OneSignalRequest
+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
appId:(NSString * _Nonnull)appId
activityId:(NSString * _Nonnull)activityId;
@end
#endif /* Requests_h */

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</data>
<key>Headers/OSRequests.h</key>
<data>
AR5Sc+CHZpqT5yvSRTYyHuLBEjc=
MqtDyOupA+cu7c+vEvwpMBVA1b4=
</data>
<key>Headers/OneSignalClient.h</key>
<data>
Expand Down Expand Up @@ -175,11 +175,11 @@
<dict>
<key>hash</key>
<data>
AR5Sc+CHZpqT5yvSRTYyHuLBEjc=
MqtDyOupA+cu7c+vEvwpMBVA1b4=
</data>
<key>hash2</key>
<data>
GmdFYLP8Zwsod7m7aemuj8E4msAflq+RJTLAA2Y/hpY=
YdFlpQOMH+9m9N627gcvPVwShSPrBzKvDm3E3FCYHvk=
</data>
</dict>
<key>Headers/OneSignalClient.h</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,22 @@ NS_ASSUME_NONNULL_END
+ (instancetype _Nonnull)withUserId:(NSString * _Nullable)externalId withUserIdHashToken:(NSString * _Nullable)hashToken withOneSignalUserId:(NSString * _Nonnull)userId withSMSHashToken:(NSString * _Nullable)smsHashToken appId:(NSString * _Nonnull)appId;
@end


@interface OSRequestTrackV1 : OneSignalRequest
+ (instancetype _Nonnull)trackUsageData:(NSString * _Nonnull)osUsageData
appId:(NSString * _Nonnull)appId;
@end

@interface OSRequestLiveActivityEnter: OneSignalRequest
+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
appId:(NSString * _Nonnull)appId
activityId:(NSString * _Nonnull)activityId
token:(NSString * _Nonnull)token;
@end

@interface OSRequestLiveActivityExit: OneSignalRequest
+ (instancetype _Nonnull)withUserId:(NSString * _Nonnull)userId
appId:(NSString * _Nonnull)appId
activityId:(NSString * _Nonnull)activityId;
@end
#endif /* Requests_h */

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<dict>
<key>hash2</key>
<data>
GmdFYLP8Zwsod7m7aemuj8E4msAflq+RJTLAA2Y/hpY=
YdFlpQOMH+9m9N627gcvPVwShSPrBzKvDm3E3FCYHvk=
</data>
</dict>
<key>Headers/OneSignalClient.h</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,32 @@
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<string>ios-arm64_armv7_armv7s</string>
<key>LibraryPath</key>
<string>OneSignalExtension.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
<string>armv7</string>
<string>armv7s</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7_armv7s</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>OneSignalExtension.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>armv7s</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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,19 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7_armv7s</string>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>OneSignal.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>armv7s</string>
<string>i386</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 @@ -35,19 +37,17 @@
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64_armv7_armv7s</string>
<key>LibraryPath</key>
<string>OneSignal.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
<string>armv7</string>
<string>armv7s</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,14 @@ typedef void (^OSFailureBlock)(NSError* error);
+ (void)setLaunchURLsInApp:(BOOL)launchInApp;
+ (void)setProvidesNotificationSettingsView:(BOOL)providesView;


#pragma mark Live Activity
+ (void)enterLiveActivity:(NSString * _Nonnull)activityId withToken:(NSString * _Nonnull)token;
+ (void)enterLiveActivity:(NSString * _Nonnull)activityId withToken:(NSString * _Nonnull)token withSuccess:(OSResultSuccessBlock _Nullable)successBlock withFailure:(OSFailureBlock _Nullable)failureBlock;

+ (void)exitLiveActivity:(NSString * _Nonnull)activityId;
+ (void)exitLiveActivity:(NSString * _Nonnull)activityId withSuccess:(OSResultSuccessBlock _Nullable)successBlock withFailure:(OSFailureBlock _Nullable)failureBlock;

#pragma mark Logging
+ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel visualLevel:(ONE_S_LOG_LEVEL)visualLogLevel;
+ (void)onesignalLog:(ONE_S_LOG_LEVEL)logLevel message:(NSString* _Nonnull)message;
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,14 @@ typedef void (^OSFailureBlock)(NSError* error);
+ (void)setLaunchURLsInApp:(BOOL)launchInApp;
+ (void)setProvidesNotificationSettingsView:(BOOL)providesView;


#pragma mark Live Activity
+ (void)enterLiveActivity:(NSString * _Nonnull)activityId withToken:(NSString * _Nonnull)token;
+ (void)enterLiveActivity:(NSString * _Nonnull)activityId withToken:(NSString * _Nonnull)token withSuccess:(OSResultSuccessBlock _Nullable)successBlock withFailure:(OSFailureBlock _Nullable)failureBlock;

+ (void)exitLiveActivity:(NSString * _Nonnull)activityId;
+ (void)exitLiveActivity:(NSString * _Nonnull)activityId withSuccess:(OSResultSuccessBlock _Nullable)successBlock withFailure:(OSFailureBlock _Nullable)failureBlock;

#pragma mark Logging
+ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel visualLevel:(ONE_S_LOG_LEVEL)visualLogLevel;
+ (void)onesignalLog:(ONE_S_LOG_LEVEL)logLevel message:(NSString* _Nonnull)message;
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<dict>
<key>Headers/OneSignal.h</key>
<data>
mQ+MJNUP1yuwHNHzLF2Yntx7Juk=
gcVwtG6FQnnTbAP09KZgVsg7kOY=
</data>
<key>Info.plist</key>
<data>
Expand All @@ -23,11 +23,11 @@
<dict>
<key>hash</key>
<data>
mQ+MJNUP1yuwHNHzLF2Yntx7Juk=
gcVwtG6FQnnTbAP09KZgVsg7kOY=
</data>
<key>hash2</key>
<data>
VELs3Q2lmztrUjGTE9911GS73kLP2HPzBCZl2dk3dkA=
ud8ClrxlKPZ7wfDJMrDUOIVFvFnyvp3J5DIuQAXndDQ=
</data>
</dict>
<key>Modules/module.modulemap</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,14 @@ typedef void (^OSFailureBlock)(NSError* error);
+ (void)setLaunchURLsInApp:(BOOL)launchInApp;
+ (void)setProvidesNotificationSettingsView:(BOOL)providesView;


#pragma mark Live Activity
+ (void)enterLiveActivity:(NSString * _Nonnull)activityId withToken:(NSString * _Nonnull)token;
+ (void)enterLiveActivity:(NSString * _Nonnull)activityId withToken:(NSString * _Nonnull)token withSuccess:(OSResultSuccessBlock _Nullable)successBlock withFailure:(OSFailureBlock _Nullable)failureBlock;

+ (void)exitLiveActivity:(NSString * _Nonnull)activityId;
+ (void)exitLiveActivity:(NSString * _Nonnull)activityId withSuccess:(OSResultSuccessBlock _Nullable)successBlock withFailure:(OSFailureBlock _Nullable)failureBlock;

#pragma mark Logging
+ (void)setLogLevel:(ONE_S_LOG_LEVEL)logLevel visualLevel:(ONE_S_LOG_LEVEL)visualLogLevel;
+ (void)onesignalLog:(ONE_S_LOG_LEVEL)logLevel message:(NSString* _Nonnull)message;
Expand Down
Binary file not shown.

0 comments on commit 8c34107

Please sign in to comment.