Skip to content

Commit 7f829c4

Browse files
committed
2.5.1 Release commit
1 parent 7c16109 commit 7f829c4

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
See this github's Releases section for a full change log.
2+
https://github.com/OneSignal/OneSignal-iOS-SDK/releases

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 = "2.5.0"
3+
s.version = "2.5.1"
44
s.summary = "OneSignal push notification library for mobile apps."
55
s.homepage = "https://onesignal.com"
66
s.license = { :type => 'MIT', :file => 'LICENSE' }

iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Versions/A/Headers/OneSignal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {
292292
+ (NSString*)sdk_semantic_version;
293293

294294
// Only use if you set kOSSettingsKeyAutoPrompt to false
295-
+ (void)registerForPushNotifications;
295+
+ (void)registerForPushNotifications __deprecated_msg("Please use promptForPushNotificationsWithUserResponse instead.");
296296
+ (void)promptForPushNotificationsWithUserResponse:(void(^)(BOOL accepted))completionHandler;
297297

298298
// - Logging
@@ -318,7 +318,7 @@ typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {
318318
+ (void)syncHashedEmail:(NSString*)email;
319319

320320
// - Subscription and Permissions
321-
+ (void)IdsAvailable:(OSIdsAvailableBlock)idsAvailableBlock;
321+
+ (void)IdsAvailable:(OSIdsAvailableBlock)idsAvailableBlock __deprecated_msg("Please use getPermissionSubscriptionState or addSubscriptionObserver and addPermissionObserver instead.");
322322

323323
+ (OSPermissionSubscriptionState*)getPermissionSubscriptionState;
324324

Binary file not shown.

iOS_SDK/OneSignalSDK/Source/OneSignal.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ @implementation OSPendingCallbacks
113113

114114
@implementation OneSignal
115115

116-
NSString* const ONESIGNAL_VERSION = @"020500";
116+
NSString* const ONESIGNAL_VERSION = @"020501";
117117
static NSString* mSDKType = @"native";
118118
static BOOL coldStartFromTapOnNotification = NO;
119119

0 commit comments

Comments
 (0)