Skip to content

Commit 889646f

Browse files
committed
2.3.0 Framework release
1 parent 1173024 commit 889646f

File tree

4 files changed

+6
-18
lines changed

4 files changed

+6
-18
lines changed

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.2.3"
3+
s.version = "2.3.0"
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/Framework/OneSignal.framework/Versions/A/Headers/OneSignal.h

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,6 @@
5252
#define XC8_AVAILABLE 1
5353
#import <UserNotifications/UserNotifications.h>
5454

55-
@protocol OSUserNotificationCenterDelegate <NSObject>
56-
@optional
57-
- (void)userNotificationCenter:(id)center willPresentNotification:(id)notification withCompletionHandler:(void (^)(NSUInteger options))completionHandler __deprecated_msg("Can use your own delegate as normal.");
58-
- (void)userNotificationCenter:(id)center didReceiveNotificationResponse:(id)response withCompletionHandler:(void (^)())completionHandler __deprecated_msg("Can use your own delegate as normal.");
59-
@end
60-
6155
#endif
6256

6357
/* The action type associated to an OSNotificationAction object */
@@ -80,9 +74,9 @@ typedef NS_ENUM(NSUInteger, OSNotificationDisplayType) {
8074

8175

8276

83-
/* iOS 10+
77+
/*
8478
Used as value type for `kOSSettingsKeyInFocusDisplayOption`
85-
for setting the display option of a notification received while the app was in focus
79+
for setting the display option of a notification received while the app was in focus.
8680
*/
8781
typedef OSNotificationDisplayType OSInFocusDisplayOption;
8882

@@ -236,10 +230,10 @@ typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {
236230
+ (id)initWithLaunchOptions:(NSDictionary*)launchOptions appId:(NSString*)appId;
237231
+ (id)initWithLaunchOptions:(NSDictionary*)launchOptions appId:(NSString*)appId handleNotificationAction:(OSHandleNotificationActionBlock)actionCallback;
238232
+ (id)initWithLaunchOptions:(NSDictionary*)launchOptions appId:(NSString*)appId handleNotificationAction:(OSHandleNotificationActionBlock)actionCallback settings:(NSDictionary*)settings;
239-
+ (id)initWithLaunchOptions:(NSDictionary*)launchOptions appId:(NSString*)appId handleNotificationReceived:(OSHandleNotificationReceivedBlock)erceivedCallback handleNotificationAction:(OSHandleNotificationActionBlock)actionCallback settings:(NSDictionary*)settings;
233+
+ (id)initWithLaunchOptions:(NSDictionary*)launchOptions appId:(NSString*)appId handleNotificationReceived:(OSHandleNotificationReceivedBlock)receivedCallback handleNotificationAction:(OSHandleNotificationActionBlock)actionCallback settings:(NSDictionary*)settings;
240234

241235
+ (NSString*)app_id;
242-
236+
243237
// Only use if you passed FALSE to autoRegister
244238
+ (void)registerForPushNotifications;
245239

@@ -280,10 +274,4 @@ typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {
280274
// Optional method that sends us the user's email as an anonymized hash so that we can better target and personalize notifications sent to that user across their devices.
281275
+ (void)syncHashedEmail:(NSString*)email;
282276

283-
// - iOS 10 features currently only available on XCode 8 & iOS 10.0+
284-
#if XC8_AVAILABLE
285-
+ (void)setNotificationCenterDelegate:(id<OSUserNotificationCenterDelegate>)delegate __deprecated_msg("Can use your own delegate as normal.");
286-
+ (id<OSUserNotificationCenterDelegate>)notificationCenterDelegate __deprecated_msg("Can use your own delegate as normal.");
287-
#endif
288-
289277
@end
-91.2 KB
Binary file not shown.

iOS_SDK/OneSignal/OneSignal.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181

8282
@implementation OneSignal
8383

84-
NSString* const ONESIGNAL_VERSION = @"020203";
84+
NSString* const ONESIGNAL_VERSION = @"020300";
8585
static NSString* mSDKType = @"native";
8686
static BOOL coldStartFromTapOnNotification = NO;
8787

0 commit comments

Comments
 (0)