Skip to content

Commit 800ea78

Browse files
committed
2.4.0 Release commit
1 parent a1bef2c commit 800ea78

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
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.3.7"
3+
s.version = "2.4.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: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Modified MIT License
33
*
4-
* Copyright 2016 OneSignal
4+
* Copyright 2017 OneSignal
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal
@@ -28,21 +28,18 @@
2828
/***
2929
3030
### Setting up the SDK ###
31-
Follow the documentation from https://documentation.onesignal.com/docs/installing-the-onesignal-ios-sdk to setup OneSignal in your app.
31+
Follow the documentation from https://documentation.onesignal.com/docs/ios-sdk-setupto setup OneSignal in your app.
3232
3333
### API Reference ###
3434
Follow the documentation from https://documentation.onesignal.com/docs/ios-sdk-api for a detailed explanation of the API.
3535
36-
### FAQ & Troubleshoot ###
37-
FAQ: https://documentation.onesignal.com/docs/frequently-asked-questions-1
38-
Troubleshoot: https://documentation.onesignal.com/docs/common-problems-1
36+
### Troubleshoot ###
37+
Follow the documentation from https://documentation.onesignal.com/docs/troubleshooting-ios to fix common problems.
3938
40-
For help on how to upgrade your code from 1.* SDK to 2.*: https://documentation.onesignal.com/docs/upgrading-to-sdk-20
39+
For help on how to upgrade your code from 1.* SDK to 2.*: https://documentation.onesignal.com/docs/upgrading-to-ios-sdk-20
4140
4241
### More ###
43-
iOS Configuration: https://documentation.onesignal.com/docs/generating-an-ios-push-certificate
44-
REST API: https://documentation.onesignal.com/docs/server-api-overview
45-
Create Notification API: https://documentation.onesignal.com/docs/notifications-create-notification
42+
iOS Push Cert: https://documentation.onesignal.com/docs/generating-an-ios-push-certificate
4643
4744
***/
4845

@@ -278,4 +275,13 @@ typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {
278275
// Only used for wrapping SDKs, such as Unity, Cordova, Xamarin, etc.
279276
+ (void)setMSDKType:(NSString*)type;
280277

278+
279+
#ifdef XC8_AVAILABLE
280+
// iOS 10 only
281+
// Process from Notification Service Extension.
282+
// Used for iOS Media Attachemtns and Action Buttons.
283+
+ (UNMutableNotificationContent*)didReceiveNotificatioExtensionnRequest:(UNNotificationRequest *)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
284+
+ (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest *)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;
285+
#endif
286+
281287
@end
170 KB
Binary file not shown.

iOS_SDK/OneSignal/OneSignal.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ @implementation OSSubcscriptionStatus
9595

9696
@implementation OneSignal
9797

98-
NSString* const ONESIGNAL_VERSION = @"020307";
98+
NSString* const ONESIGNAL_VERSION = @"020400";
9999
static NSString* mSDKType = @"native";
100100
static BOOL coldStartFromTapOnNotification = NO;
101101

0 commit comments

Comments
 (0)