Skip to content

Commit 5dabfb7

Browse files
committed
2.6.0 Release Commit
1 parent 2d36506 commit 5dabfb7

File tree

4 files changed

+29
-4
lines changed

4 files changed

+29
-4
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.5.7"
3+
s.version = "2.6.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/OneSignalSDK/Framework/OneSignal.framework/Versions/A/Headers/OneSignal.h

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,34 @@ typedef NS_ENUM(NSUInteger, OSNotificationDisplayType) {
8787
/* Unique Message Identifier */
8888
@property(readonly)NSString* notificationID;
8989

90-
/* Provide this key with a value of 1 to indicate that new content is available.
91-
Including this key and value means that when your app is launched in the background or resumed application:didReceiveRemoteNotification:fetchCompletionHandler: is called. */
90+
/* Unique Template Identifier */
91+
@property(readonly)NSString* templateID;
92+
93+
/* Name of Template */
94+
@property(readonly)NSString* templateName;
95+
96+
/* True when the key content-available is set to 1 in the aps payload.
97+
content-available is used to wake your app when the payload is received.
98+
See Apple's documenation for more details.
99+
https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1623013-application
100+
*/
92101
@property(readonly)BOOL contentAvailable;
93102

103+
/* True when the key mutable-content is set to 1 in the aps payload.
104+
mutable-content is used to wake your Notification Service Extension to modify a notification.
105+
See Apple's documenation for more details.
106+
https://developer.apple.com/documentation/usernotifications/unnotificationserviceextension
107+
*/
108+
@property(readonly)BOOL mutableContent;
109+
110+
/*
111+
Notification category key previously registered to display with.
112+
This overrides OneSignal's actionButtons.
113+
See Apple's documenation for more details.
114+
https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/SupportingNotificationsinYourApp.html#//apple_ref/doc/uid/TP40008194-CH4-SW26
115+
*/
116+
@property(readonly)NSString* category;
117+
94118
/* The badge assigned to the application icon */
95119
@property(readonly)NSUInteger badge;
96120

@@ -121,6 +145,7 @@ typedef NS_ENUM(NSUInteger, OSNotificationDisplayType) {
121145

122146
@end
123147

148+
// ## OneSignal OSNotification
124149
@interface OSNotification : NSObject
125150

126151
/* Notification Payload */
Binary file not shown.

iOS_SDK/OneSignalSDK/Source/OneSignal.m

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

121121
@implementation OneSignal
122122

123-
NSString* const ONESIGNAL_VERSION = @"020506";
123+
NSString* const ONESIGNAL_VERSION = @"020600";
124124
static NSString* mSDKType = @"native";
125125
static BOOL coldStartFromTapOnNotification = NO;
126126

0 commit comments

Comments
 (0)