Skip to content

Commit 6c74145

Browse files
Release 14.0.0
1 parent c18a830 commit 6c74145

File tree

236 files changed

+1723
-472
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

236 files changed

+1723
-472
lines changed

CHANGELOG.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
1+
## 14.0.0
2+
##### Release Date: 4-11-2022
3+
4+
### 🚀 Enhancements
5+
6+
**In v14.0.0 of the Intercom mobile SDK!! Say hello to the most customizable Messenger. Ever. 👋**
7+
8+
**📱 New feature: Messenger**
9+
10+
👋🏼 Introducing the fully customizable Messenger that provides customers with in-context engagement throughout their journey.
11+
12+
* **Customization:** Now you can update and style your Messenger just the way you want it and enable a consistent brand experience with a fully customizable Messenger. [Learn more and get started here.](https://www.intercom.com/help/en/articles/6612589-set-up-the-fully-customizable-messenger)
13+
![Image](https://user-images.githubusercontent.com/101131135/199487389-9100911a-192d-4b02-a1b4-232d22769408.jpeg)
14+
15+
16+
* **Spaces:** You’ll have increased product flexibility and versatility with Messenger ‘spaces’ that provide intuitive navigation for your customers. Let’s go through each of the 3 new spaces you can add to your Messenger:
17+
18+
* **Home Space:** A redesigned Home screen that’s highly configurable and supports multiple use cases with new capabilities.
19+
* **Messages Space:** Messages is a dedicated space for conversation management. Both inbound and outbound conversations and conversations which contain [tickets](https://www.intercom.com/help/en/articles/6436600-tickets-explained) will live here.
20+
* **Help Space:** Enable customers to better self-serve with a more intuitive and personalized support experience. Customers can access a full, in-context help center from anywhere in your product with the dedicated Help Space.
21+
22+
**📱 New feature: Tickets**
23+
24+
Go beyond simple live chat – handle complex customer requests asynchronously.
25+
26+
* As you scale, so does your conversation volume and not every customer request can be handled in a live chat. That’s where tickets come in.
27+
* Let customers submit tickets directly from your app for async resolution
28+
29+
30+
[Learn more about Intercom Messenger](https://www.intercom.com/messenger)
31+
32+
[Learn more about Intercom Tickets](https://www.intercom.com/help/en/articles/6436600-tickets-explained)
33+
34+
👉 Upgrade to the latest version of the mobile SDK today to use the feature on mobile.
35+
36+
As this is a major update, there are few API changes which are listed below:
37+
38+
| Method - Swift |Method - Obj-C| Description |
39+
| ----------- | ----------- | ----------- |
40+
| func present(_ space:Space) |+ (void)presentIntercom:(Space)space| Open a specific space in intercom. (Home, Messages, HelpCenter) |
41+
| func present() |+ (void)presentIntercom| Open Intercom - defaults to the Home space |
42+
| func presentContent(_ content: Content) |+ (void)presentContent:(IntercomContent *)content| Present Intercom content. Valid content types are Article, Carousel, HelpCenter Collections |
43+
44+
The following methods have also been fully deprecated:
45+
46+
| Method - Swift |
47+
| ----------- |
48+
| func presentMessenger() |
49+
| func presentHelpCenter() |
50+
| func presentHelpCenterCollections(collectionIds: [String]) |
51+
| func presentArticle(articleId: String) |
52+
| func presentCarousel(carouselId: String ) |
53+
| func presentSurvey(surveyId: String) |
54+
55+
[You can find more information about migrating to v14.0.0 here](https://developers.intercom.com/installing-intercom/docs/migrating-to-v1400)
56+
157
## 13.0.0
258
###### Release Date: 12-09-2022
359

Intercom.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 = 'Intercom'
3-
s.version = '13.0.0'
3+
s.version = '14.0.0'
44
s.summary = 'The Intercom iOS SDK, for integrating Intercom into your iOS application.'
55
s.license = { :type => "Apache 2.0", :file => "LICENSE" }
66
s.authors = {"Brian Boyle"=>"[email protected]", "Mike McNamara"=>"[email protected]", "Katherine Brennan"=>"[email protected]", "Himanshi Goyal"=>"[email protected]", "Niamh Coleman"=>"[email protected]"}

Intercom.xcframework/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64</string>
9+
<string>ios-arm64_x86_64-simulator</string>
1010
<key>LibraryPath</key>
1111
<string>Intercom.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15+
<string>x86_64</string>
1516
</array>
1617
<key>SupportedPlatform</key>
1718
<string>ios</string>
19+
<key>SupportedPlatformVariant</key>
20+
<string>simulator</string>
1821
</dict>
1922
<dict>
2023
<key>LibraryIdentifier</key>
21-
<string>ios-arm64_x86_64-simulator</string>
24+
<string>ios-arm64</string>
2225
<key>LibraryPath</key>
2326
<string>Intercom.framework</string>
2427
<key>SupportedArchitectures</key>
2528
<array>
2629
<string>arm64</string>
27-
<string>x86_64</string>
2830
</array>
2931
<key>SupportedPlatform</key>
3032
<string>ios</string>
31-
<key>SupportedPlatformVariant</key>
32-
<string>simulator</string>
3333
</dict>
3434
</array>
3535
<key>CFBundlePackageType</key>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
//
2+
// ICMHelpCenterArticleAuthor.h
3+
// IntercomSDK-Private
4+
//
5+
// Created by Karthik Maharajan Skandarajah on 07/07/22.
6+
// Copyright © 2022 Intercom. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
NS_ASSUME_NONNULL_BEGIN
12+
13+
NS_SWIFT_NAME(HelpCenterArticleAuthor)
14+
@interface ICMHelpCenterArticleAuthor : NSObject
15+
16+
/**
17+
The id of this author.
18+
*/
19+
@property (nonatomic, copy) NSString *authorId;
20+
21+
/**
22+
The name of this author.
23+
*/
24+
@property (nonatomic, copy) NSString *displayName;
25+
26+
/**
27+
The url for the avatar of this author.
28+
*/
29+
@property (nonatomic, copy, nullable) NSURL *avatarURL;
30+
31+
32+
- (instancetype)initWithAuthorId:(NSString *)authorId
33+
displayName:(NSString *)displayName
34+
avatarURL:(nullable NSURL *)avatarURL;
35+
36+
@end
37+
38+
NS_ASSUME_NONNULL_END

Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMHelpCenterCollection.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,15 @@ NS_SWIFT_NAME(HelpCenterCollection)
3232
*/
3333
@property (nonatomic, copy, nullable) NSString *summary;
3434

35+
/**
36+
The number of articles in this collection.
37+
*/
38+
@property (nonatomic, assign) NSInteger articleCount;
39+
3540
- (instancetype)initWithCollectionId:(NSString *)collectionId
3641
title:(NSString *)title
37-
summary:(nullable NSString *)summary;
42+
summary:(nullable NSString *)summary
43+
articleCount:(NSInteger)articleCount;
3844

3945
@end
4046

Intercom.xcframework/ios-arm64/Intercom.framework/Headers/ICMHelpCenterCollectionContent.h

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#import <Foundation/Foundation.h>
1010
@class ICMHelpCenterArticle;
1111
@class ICMHelpCenterSection;
12+
@class ICMHelpCenterArticleAuthor;
1213

1314
NS_ASSUME_NONNULL_BEGIN
1415

@@ -38,16 +39,28 @@ NS_SWIFT_NAME(HelpCenterCollectionContent)
3839
*/
3940
@property (nonatomic, strong) NSArray<ICMHelpCenterArticle *> *articles;
4041

42+
/**
43+
The total number of articles in this collection, which comprises of all articles not belonging to any section, and all articles in all sections of this collection.
44+
*/
45+
@property (nonatomic, assign) NSInteger articleCount;
46+
4147
/**
4248
The sections contained in this collection.
4349
*/
4450
@property (nonatomic, strong) NSArray<ICMHelpCenterSection *> *sections;
4551

52+
/**
53+
The authors of articles in this collection.
54+
*/
55+
@property (nonatomic, copy) NSArray<ICMHelpCenterArticleAuthor *> *authors;
56+
4657
- (instancetype)initWithCollectionId:(NSString *)collectionId
4758
title:(NSString *)title
4859
summary:(nullable NSString *)summary
4960
articles:(NSArray<ICMHelpCenterArticle *> *)articles
50-
sections:(NSArray<ICMHelpCenterSection *> *)sections;
61+
articleCount:(NSInteger)articleCount
62+
sections:(NSArray<ICMHelpCenterSection *> *)sections
63+
authors:(NSArray<ICMHelpCenterArticleAuthor *> *)authors;
5164

5265

5366
@end

0 commit comments

Comments
 (0)