Skip to content
This repository was archived by the owner on Jul 22, 2020. It is now read-only.

Commit cfeee0a

Browse files
author
Ilya Brin
committed
prepare for 3.1.0
1 parent c34f551 commit cfeee0a

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

Artifacts/libIterable-iOS-SDK.a

0 Bytes
Binary file not shown.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1616
- nothing yet
1717

1818

19+
## [3.1.0](https://github.com/Iterable/iterable-ios-sdk/releases/tag/3.1.0)
20+
_Released on 2016-07-19_
21+
22+
#### Added
23+
- now includes disableDevice API
24+
25+
#### Removed
26+
- removed device name from `registerToken` call as it might contain user sensitive data (the user's name)
27+
28+
1929
## [3.0.1](https://github.com/Iterable/iterable-ios-sdk/releases/tag/3.0.1)
2030
_Released on 2016-06-22_
2131

IterableSDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
#
1717

1818
s.name = "IterableSDK"
19-
s.version = "3.0.2"
19+
s.version = "3.1.0"
2020
s.summary = "Iterable's official SDK for iOS"
2121

2222
s.description = <<-DESC

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![CocoaPods](https://img.shields.io/cocoapods/v/IterableSDK.svg?style=flat)](https://cocoapods.org/pods/IterableSDK)
22
[![License](https://img.shields.io/cocoapods/l/IterableSDK.svg?style=flat)](https://opensource.org/licenses/MIT)
3-
[![Docs](https://img.shields.io/cocoapods/metrics/doc-percent/IterableSDK.svg?style=flat)](http://cocoadocs.org/docsets/IterableSDK/3.0.1/)
3+
[![Docs](https://img.shields.io/cocoapods/metrics/doc-percent/IterableSDK.svg?style=flat)](http://cocoadocs.org/docsets/IterableSDK/3.1.0/)
44

55
# Iterable iOS SDK
66

@@ -153,6 +153,12 @@ These "ghost" notifications will **not** automatically create a notification on
153153

154154
After enabling background mode, you will need to implement a different method instead of `application:didReceiveRemoteNotification:`; this method is [application:didReceiveRemoteNotification:fetchCompletionHandler:](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/#//apple_ref/occ/intfm/UIApplicationDelegate/application:didReceiveRemoteNotification:fetchCompletionHandler:). This method, unlike `application:didReceiveRemoteNotification:`, will be called regardless of whether your application is running in the foreground or background. Once you are done, don't forget to call the completion handler with a `UIBackgroundFetchResult`. For more information on background mode notifications, see the `Discussion` under the [documentation for the method](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/#//apple_ref/occ/intfm/UIApplicationDelegate/application:didReceiveRemoteNotification:fetchCompletionHandler:).
155155

156+
#### Disabling push notifications to a device
157+
158+
When a user logs out, you typically want to disable push notifications to that user/device. This can be accomplished by calling `disableDeviceForCurrentUser`. Please note that it will only attempt to disable the device if you have previously called `registerToken`.
159+
160+
In order to re-enable push notifcations to that device, simply call `registerToken` as usual when the user logs back in.
161+
156162
# Additional Information
157163

158164
See our [setup guide](http://support.iterable.com/hc/en-us/articles/204780589-Push-Notification-Setup-iOS-and-Android-) for more information.

0 commit comments

Comments
 (0)