Skip to content

Commit ddba480

Browse files
committed
Version 2.2.3
1 parent 8ae1a30 commit ddba480

36 files changed

+56
-58
lines changed

.gitignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

CHANGES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
= 2.2.3 (2015-05-12)
2+
3+
* Less confusing logging. Sometimes logs showed error messages when there wasn't anything wrong.
4+
* No longer throw an exception if `Intercom.bundle` is missing.
5+
* Some changes to allow recovery of duplicated users in Intercom.
6+
17
= 2.2.2 (2015-05-08)
28

39
* If you have real-time features on your Intercom account, users can now see when you are typing a reply.

Intercom.framework/Versions/A/Headers/Intercom.h

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
//
33
// Intercom.h
4-
// Intercom for iOS SDK - Version 2.2.2
4+
// Intercom for iOS - Version 2.2.3
55
//
66
// Created by Intercom on 8/01/2015.
77
// Copyright (c) 2014 Intercom. All rights reserved.
@@ -11,7 +11,7 @@
1111
#import <UIKit/UIKit.h>
1212

1313
#if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_7_0
14-
#error This version (2.2.1) of the Intercom iOS SDK supports iOS 7.0 upwards.
14+
#error This version (2.2.3) of Intercom for iOS supports iOS 7.0 upwards.
1515
#endif
1616

1717
// Use these values to constrain an incoming notification view to a defined section of the window.
@@ -66,30 +66,30 @@ typedef NS_ENUM(NSUInteger, ICMPresentationMode){
6666
calling any of the other user registration methods will update that user's identity in Intercom and contain
6767
all user data tracked previously.
6868
69-
## I'm using a previous SDK version and this looks different, what has changed?
69+
## I'm using a previous version and this looks different, what has changed?
7070
71-
We have re-architected the internals of the iOS SDK to ensure it is as reliable as possible while tracking
72-
your users. We have focused on removing the asynchronous behaviour of the SDK. For example you no longer need
73-
to wait for the completion blocks of the old `beginSession` calls before logging events or updating user data.
74-
In doing so the SDK is more nimble and reliable than ever before.
71+
We have re-architected the internals of Intercom for iOS to ensure it is as reliable as possible while tracking
72+
your users. We have focused on removing asynchronous behaviour. For example you no longer need to wait for the
73+
completion blocks of the old `beginSession` calls before logging events or updating user data.
74+
In doing so the it is more nimble and reliable than ever before.
7575
76-
Previous versions of the SDK will migrate with minimal effort. All deprecated methods still work for now,
76+
Previous versions of Intercom for iOS will migrate with minimal effort. All deprecated methods still work for now,
7777
excluding the old session listener (since v2.0.6). These methods will be permanently removed in a future
7878
version.
7979
8080
## How do push notifications work?
8181
82-
The Intercom iOS SDK enables your users to receive push notifications for new messages. Simply call:
82+
Intercom for iOS enables your users to receive push notifications for new messages. Simply call:
8383
8484
- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
85-
[Intercom setDeviceToken:deviceToken];
85+
[Intercom setDeviceToken:deviceToken];
8686
}
8787
8888
in your `didRegisterForRemoteNotificationsWithDeviceToken:` method once you have registered your app for
8989
push notifications with the `UIApplicationDelegate`.
9090
91-
When your app receives a push notification the SDK checks to see if it is an Intercom push notification
92-
and opens the SDK if required. You do not need to implement any additional code in order to launch the SDK.
91+
When your app receives a push notification Intercom for iOS checks to see if it is an Intercom push notification
92+
and opens the message. You do not need to implement any additional code in order to launch the message window.
9393
9494
To do this we [safely swizzle](http://blog.newrelic.com/2014/04/16/right-way-to-swizzle/) the public methods
9595
in `UIApplicationDelegate` that handle receiving push notifications. We do not use any private APIs to do this.
@@ -109,7 +109,7 @@ typedef NS_ENUM(NSUInteger, ICMPresentationMode){
109109
Initialize Intercom with your iOS API key and App ID. This will allow your app to connect with Intercom.
110110
This is best done in the application delegate's didFinishLaunchingWithOptions: method.
111111
112-
@param apiKey The iOS-SDK API key found on the API Key settings page.
112+
@param apiKey The iOS API key found on the API Key settings page.
113113
@param appId The App ID of your Intercom app.
114114
*/
115115
+ (void)setApiKey:(NSString *)apiKey forAppId:(NSString *)appId;
@@ -119,9 +119,9 @@ typedef NS_ENUM(NSUInteger, ICMPresentationMode){
119119
//=========================================================================================================
120120
/*!
121121
Secure Mode helps to make sure that conversations between you and your users are kept private, and that one
122-
user can't impersonate another. In Secure Mode the iOS SDK will sign all requests going to the Intercom servers
122+
user can't impersonate another. In Secure Mode Intercom for iOS will sign all requests going to the Intercom servers
123123
with tokens. It requires your mobile application to have its own server which authenticates the app's users,
124-
and which can store a secret. More information on secure mode can be found [here](http://docs.intercom.io/Install-on-your-mobile-product/secure-mode-ios-sdk).
124+
and which can store a secret. More information on secure mode can be found [here](http://docs.intercom.io/Install-on-your-mobile-product/enabling-secure-mode-in-intercom-for-ios).
125125
126126
@note This should be called before any user registration takes place.
127127
@param hmac A HMAC digest of data.
@@ -152,7 +152,7 @@ typedef NS_ENUM(NSUInteger, ICMPresentationMode){
152152
This is a userId, supplied by you (e.g. from an existing web service for your product) to represent your
153153
user in Intercom, once set it cannot be changed.
154154
155-
If you are putting the Intercom SDK into an app that has persisted an authentication token or equivalent
155+
If you are putting Intercom for iOS into an app that has persisted an authentication token or equivalent
156156
so your users don't have to log in repeatedly (like most apps) then we advise putting the user registration
157157
call in the `didBecomeActive:` method in your application delegate. This won't have any negative impact if
158158
you also add it to your authentication success method elsewhere in your app.
@@ -183,9 +183,9 @@ typedef NS_ENUM(NSUInteger, ICMPresentationMode){
183183
/*! @name Resetting user data */
184184
//=========================================================================================================
185185
/*!
186-
reset is used to reset all local caches and user data the Intercom SDK has created. Reset will also close
187-
and active UI that is on screen. Use this at a time when you wish to log a user out of your app or change
188-
a user. Once called, the SDK will no longer communicate with Intercom until a further registration is made.
186+
reset is used to reset all local caches and user data Intercom has created. Reset will also close any active
187+
UI that is on screen. Use this at a time when you wish to log a user out of your app or change a user.
188+
Once called, Intercom for iOS will no longer communicate with Intercom until a further registration is made.
189189
*/
190190
+ (void)reset;
191191

@@ -282,9 +282,9 @@ typedef NS_ENUM(NSUInteger, ICMPresentationMode){
282282
/*! @name Working with push notifications */
283283
//=========================================================================================================
284284
/*!
285-
Set the device token for push notifications. Once the device token is set, the SDK safely swizzles the methods
286-
for receiving push notifications so it can intercept ones sent from Intercom. When a push notification from
287-
Intercom is received, the SDK will automatically react and launch according to your preferences.
285+
Set the device token for push notifications. Once the device token is set, the methods for receiving push
286+
notifications are safely swizzled so ones sent from Intercom can be intercepted. When a push notification from
287+
Intercom is received, Intercom for iOS will automatically launch the message from the notification.
288288
289289
@param deviceToken The device token provided in the `didRegisterForRemoteNotificationsWithDeviceToken` method.
290290
*/
@@ -317,8 +317,8 @@ typedef NS_ENUM(NSUInteger, ICMPresentationMode){
317317

318318
/*!
319319
Use this to hide all incoming Intercom messages and message previews in the parts of your app where you do
320-
not wish to interrupt users, for example Camera views, parts of a game or other scenarios. If any part of the
321-
SDK's UI is on screen when this is set to YES, it will close itself.
320+
not wish to interrupt users, for example Camera views, parts of a game or other scenarios. If any part of
321+
Intercom for iOS's UI is on screen when this is set to YES, it will close itself.
322322
323323
@param hidden A bool that toggles message visibility. Use this to either prevent or allow messages from being
324324
displayed in select parts of your app.
@@ -330,7 +330,7 @@ typedef NS_ENUM(NSUInteger, ICMPresentationMode){
330330
//=========================================================================================================
331331

332332
/*!
333-
Enable logging for the Intercom SDK. By calling this method, Intercom will display debug information.
333+
Enable logging for Intercom for iOS. By calling this method, Intercom will display debug information.
334334
@note it is recommended to use it only while debugging)
335335
*/
336336
+ (void)enableLogging;
@@ -339,13 +339,13 @@ typedef NS_ENUM(NSUInteger, ICMPresentationMode){
339339
/*! @name Intercom Notifications */
340340
//=========================================================================================================
341341
/*!
342-
Notifications thrown by the SDK when the SDK window is displayed and hidden. These notifications are fired
343-
only when there is a change in the state of the SDK's UI: when a user receives a message for instance,
344-
willShow and didShow notifications will be fired accordingly when the Intercom Notification (chat head)
342+
Notifications thrown by Intercom for iOS when the Intercom window is displayed and hidden. These notifications
343+
are fired only when there is a change in the state of Intercom's UI: when a user receives a message for
344+
instance, willShow and didShow notifications will be fired accordingly when the Intercom Notification (chat head)
345345
is presented.
346346
347347
Once the user taps on the chat head, the message is presented in your app. It will be presented covering
348-
the entire screen, but no notifications will be thrown here as the SDK has already been visible.
348+
the entire screen, but no notifications will be thrown here as Intercom has already been visible.
349349
*/
350350

351351
UIKIT_EXTERN NSString *const IntercomWindowWillShowNotification;
35.9 KB
Binary file not shown.

Intercom.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Pod::Spec.new do |s|
22
s.name = 'Intercom'
3-
s.version = '2.2.2'
3+
s.version = '2.2.3'
44
s.summary = 'The Intercom iOS SDK, for integrating Intercom into your iOS application.'
55
s.license = { :type => "Apache license", :file => "LICENSE" }
66
s.authors = {"Adam McCarthy"=>"[email protected]", "James Treanor"=>"[email protected]"}
77
s.homepage = 'https://github.com/intercom/intercom-ios'
88
s.description = 'The Intercom iOS SDK, for integrating Intercom into your iOS application. The SDK supports iOS 7 and iOS 8.'
9-
s.frameworks = ["Foundation", "UIKit", "Security", "SystemConfiguration", "MobileCoreServices", "ImageIO", "AVFoundation", "QuartzCore", "CoreGraphics"]
9+
s.frameworks = ["Foundation", "UIKit", "Security", "SystemConfiguration", "MobileCoreServices", "ImageIO", "AudioToolbox", "QuartzCore", "CoreGraphics"]
1010
s.library = "icucore"
1111
s.requires_arc = true
1212
s.source = { :git => 'https://github.com/intercom/intercom-ios.git', :tag => s.version.to_s }
-698 Bytes
Binary file not shown.
-7.15 KB
Binary file not shown.

io.intercom.Intercom-iOS-SDK-2.2.2.docset/Contents/Info.plist renamed to io.intercom.Intercom-iOS-SDK-2.2.3.docset/Contents/Info.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<key>CFBundleDevelopmentRegion</key>
66
<string>en</string>
77
<key>CFBundleIdentifier</key>
8-
<string>io.intercom.Intercom-iOS-SDK-2.2.2</string>
8+
<string>io.intercom.Intercom-iOS-SDK-2.2.3</string>
99
<key>CFBundleName</key>
10-
<string>Intercom iOS SDK 2.2.2 Documentation</string>
10+
<string>Intercom iOS SDK 2.2.3 Documentation</string>
1111
<key>CFBundleShortVersionString</key>
1212
<string>1.0</string>
1313
<key>CFBundleVersion</key>
@@ -17,7 +17,7 @@
1717

1818

1919
<key>DocSetFeedName</key>
20-
<string>Intercom iOS SDK 2.2.2 Documentation</string>
20+
<string>Intercom iOS SDK 2.2.3 Documentation</string>
2121

2222
<key>DocSetMinimumXcodeVersion</key>
2323
<string>3.0</string>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<div class="container" class="hide-in-xcode">
1515

1616
<h1 id="library-title">
17-
<a href="../index.html">Intercom iOS SDK 2.2.2 </a>
17+
<a href="../index.html">Intercom iOS SDK 2.2.3 </a>
1818
</h1>
1919

2020
<p id="developer-home">
@@ -80,7 +80,7 @@ <h1 class="title">ICMCompletion Block Reference</h1>
8080
<footer>
8181
<div class="footer-copyright">
8282

83-
<p class="copyright">Copyright &copy; 2015 Intercom. All rights reserved. Updated: 2015-05-08</p>
83+
<p class="copyright">Copyright &copy; 2015 Intercom. All rights reserved. Updated: 2015-05-12</p>
8484

8585

8686
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1333)</a>.</p>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<div class="container" class="hide-in-xcode">
1515

1616
<h1 id="library-title">
17-
<a href="../index.html">Intercom iOS SDK 2.2.2 </a>
17+
<a href="../index.html">Intercom iOS SDK 2.2.3 </a>
1818
</h1>
1919

2020
<p id="developer-home">
@@ -1964,7 +1964,7 @@ <h4 class="method-subtitle">Declared In</h4>
19641964
<footer>
19651965
<div class="footer-copyright">
19661966

1967-
<p class="copyright">Copyright &copy; 2015 Intercom. All rights reserved. Updated: 2015-05-08</p>
1967+
<p class="copyright">Copyright &copy; 2015 Intercom. All rights reserved. Updated: 2015-05-12</p>
19681968

19691969

19701970
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1333)</a>.</p>

0 commit comments

Comments
 (0)