Skip to content

Commit 286b862

Browse files
committed
2.7.1 Release Commit
• Fixes a small compiler warning in OneSignal.h for users that have Nullability checking enabled in their project's build settings.
1 parent 6925424 commit 286b862

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
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.7.0"
3+
s.version = "2.7.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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@
5050
#import <UserNotifications/UserNotifications.h>
5151
#endif
5252

53+
54+
#pragma clang diagnostic push
55+
#pragma clang diagnostic ignored "-Wstrict-prototypes"
56+
#pragma clang diagnostic ignored "-Wnullability-completeness"
57+
5358
/* The action type associated to an OSNotificationAction object */
5459
typedef NS_ENUM(NSUInteger, OSNotificationActionType) {
5560
OSNotificationActionTypeOpened,
@@ -422,3 +427,5 @@ typedef void (^OSEmailSuccessBlock)();
422427
+ (void)setEmail:(NSString * _Nonnull)email withEmailAuthHashToken:(NSString * _Nullable)hashToken;
423428

424429
@end
430+
431+
#pragma clang diagnostic pop
Binary file not shown.

iOS_SDK/OneSignalSDK/Source/OneSignal.m

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

126126
@implementation OneSignal
127127

128-
NSString* const ONESIGNAL_VERSION = @"020700";
128+
NSString* const ONESIGNAL_VERSION = @"020701";
129129
static NSString* mSDKType = @"native";
130130
static BOOL coldStartFromTapOnNotification = NO;
131131

0 commit comments

Comments
 (0)