Skip to content

Commit 8b36ad0

Browse files
committed
2.8.3 Release
• The OneSignal iOS SDK now includes GDPR privacy consent methods which allow developers to postpone initialization of the SDK until the user provides privacy consent. This is controlled with a flag in Info.plist • The SDK will now work with media attachment URL's that don't end in file extension (ie. .jpg). If a URL is missing a file extension, it will instead use the MIME type of the asset. • Resolves an incompatibility issue with the HelpShift iOS SDK • Fixes an issue that caused incorrect "notification opened" events to be sent to OneSignal's backend server
1 parent a36f78b commit 8b36ad0

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-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.8.2"
3+
s.version = "2.8.3"
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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,11 @@ typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {
340340
+ (id)initWithLaunchOptions:(NSDictionary*)launchOptions appId:(NSString*)appId handleNotificationAction:(OSHandleNotificationActionBlock)actionCallback settings:(NSDictionary*)settings;
341341
+ (id)initWithLaunchOptions:(NSDictionary*)launchOptions appId:(NSString*)appId handleNotificationReceived:(OSHandleNotificationReceivedBlock)receivedCallback handleNotificationAction:(OSHandleNotificationActionBlock)actionCallback settings:(NSDictionary*)settings;
342342

343+
// - Privacy
344+
+ (void)consentGranted:(BOOL)granted;
345+
+ (BOOL)requiresUserPrivacyConsent; // tells your application if privacy consent is still needed from the current user
346+
+ (void)setRequiresUserPrivacyConsent:(BOOL)required; //used by wrapper SDK's to require user privacy consent
347+
343348
@property (class) OSNotificationDisplayType inFocusDisplayType;
344349

345350
+ (NSString*)app_id;
Binary file not shown.

iOS_SDK/OneSignalSDK/Source/OneSignal.m

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

133133
@implementation OneSignal
134134

135-
NSString* const ONESIGNAL_VERSION = @"020802";
135+
NSString* const ONESIGNAL_VERSION = @"020803";
136136
static NSString* mSDKType = @"native";
137137
static BOOL coldStartFromTapOnNotification = NO;
138138

0 commit comments

Comments
 (0)