Skip to content

Commit 77a95a5

Browse files
Release 10.1.2
1 parent 00e6b34 commit 77a95a5

File tree

511 files changed

+11033
-10
lines changed

Some content is hidden

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

511 files changed

+11033
-10
lines changed

CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
## 10.1.1
2-
###### Release Date: 27-08-2021
1+
## 10.1.2
2+
###### Release Date: 01-09-2021
33

44
### Bug Fixes
5-
* Fixed an issue that resulted in the `Intercom.xcframework` binary being larger in size that it should be. If you have installed [Release 10.1.0](https://github.com/intercom/intercom-ios/releases/tag/10.1.0), please update to this latest version.
5+
* Fixed an issue that resulted in the `Intercom.xcframework` binary being larger in size that it should be. If you have installed [Release 10.1.0](https://github.com/intercom/intercom-ios/releases/tag/10.1.0) or [Release 10.1.1](https://github.com/intercom/intercom-ios/releases/tag/10.1.1), please update to this latest version.
6+
7+
## 10.1.1
8+
###### Release Date: 27-08-2021
69

10+
* There is an issue with the binary size of this release. If you have it installed, please update to the latest version of Intercom.
711

812
## 10.1.0
913
###### Release Date: 20-08-2021

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 = '10.1.1'
3+
s.version = '10.1.2'
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]"}

Intercom.xcframework/Info.plist

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>AvailableLibraries</key>
6+
<array>
7+
<dict>
8+
<key>LibraryIdentifier</key>
9+
<string>ios-arm64_armv7</string>
10+
<key>LibraryPath</key>
11+
<string>Intercom.framework</string>
12+
<key>SupportedArchitectures</key>
13+
<array>
14+
<string>arm64</string>
15+
<string>armv7</string>
16+
</array>
17+
<key>SupportedPlatform</key>
18+
<string>ios</string>
19+
</dict>
20+
<dict>
21+
<key>LibraryIdentifier</key>
22+
<string>ios-arm64_i386_x86_64-simulator</string>
23+
<key>LibraryPath</key>
24+
<string>Intercom.framework</string>
25+
<key>SupportedArchitectures</key>
26+
<array>
27+
<string>arm64</string>
28+
<string>i386</string>
29+
<string>x86_64</string>
30+
</array>
31+
<key>SupportedPlatform</key>
32+
<string>ios</string>
33+
<key>SupportedPlatformVariant</key>
34+
<string>simulator</string>
35+
</dict>
36+
</array>
37+
<key>CFBundlePackageType</key>
38+
<string>XFWK</string>
39+
<key>XCFrameworkFormatVersion</key>
40+
<string>1.0</string>
41+
</dict>
42+
</plist>
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
//
2+
// ICMCompany.h
3+
//
4+
// Created by Intercom on 17/01/2017.
5+
// Copyright (c) 2017 Intercom. All rights reserved.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
10+
/**
11+
* The ICMCompany object is used for adding companies to users in Intercom.
12+
* All of the default attributes you can modify are available as properties on ICMCompany.
13+
* This is an example of how to create an ICMCompany object to update default attributes.
14+
*
15+
* ICMCompany *company = [ICMCompany new];
16+
* company.companyId = @"12345";
17+
* company.name = @"TestCorp";
18+
*
19+
* You can also add custom attributes to your company.
20+
*
21+
* ICMCompany *company = [ICMCompany new];
22+
* company.companyId = @"12345";
23+
* company.name = @"TestCorp";
24+
* company.customAttributes = @{@"employee_count" : @200};
25+
*
26+
*/
27+
@interface ICMCompany : NSObject
28+
29+
/**
30+
The ID of the company.
31+
@note This property is required
32+
*/
33+
@property (nonatomic, copy, nullable) NSString *companyId;
34+
35+
/**
36+
The name of the company.
37+
*/
38+
@property (nonatomic, copy, nullable) NSString *name;
39+
40+
/**
41+
The created at date for this company.
42+
*/
43+
@property (nonatomic, strong, nullable) NSDate *createdAt;
44+
45+
/**
46+
The monthly spend of the company.
47+
*/
48+
@property (nonatomic, strong, nullable) NSNumber *monthlySpend;
49+
50+
/**
51+
The plan of the company.
52+
*/
53+
@property (nonatomic, copy, nullable) NSString *plan;
54+
55+
/**
56+
Custom attributes for this user.
57+
@note Each key must be an NSString and each value must be of type NSString, NSNumber or NSNull.
58+
*/
59+
@property (nonatomic, strong, nullable) NSDictionary<NSString *, id> *customAttributes;
60+
61+
/**
62+
Gives you a null value to apply to string attributes.
63+
64+
@return the value to set on string attributes which you wish to be null
65+
*/
66+
+ (nonnull NSString *)nullStringAttribute;
67+
68+
/**
69+
Gives you a null value to apply to number attributes.
70+
71+
@return the value to set on number attributes which you wish to be null
72+
*/
73+
+ (nonnull NSNumber *)nullNumberAttribute;
74+
75+
/**
76+
Gives you a null value to apply to date attributes.
77+
78+
@return the value to set on date attributes which you wish to be null
79+
*/
80+
+ (nonnull NSDate *)nullDateAttribute;
81+
82+
/**
83+
A dictionary representation for the company.
84+
*/
85+
- (nonnull NSDictionary<NSString *, id> *)attributes;
86+
87+
@end
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
//
2+
// ICMHelpCenterArticle.h
3+
// IntercomSDK-Dynamic
4+
//
5+
// Created by Michael McNamara on 03/06/2021.
6+
// Copyright © 2021 Intercom. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
NS_ASSUME_NONNULL_BEGIN
12+
13+
/**
14+
ICMHelpCenterArticle represents a Help Center article.
15+
*/
16+
NS_SWIFT_NAME(HelpCenterArticle)
17+
@interface ICMHelpCenterArticle : NSObject
18+
19+
/**
20+
The id of this article.
21+
*/
22+
@property (nonatomic, copy) NSString *articleId;
23+
24+
/**
25+
The title of this article.
26+
*/
27+
@property (nonatomic, copy) NSString *title;
28+
29+
- (instancetype)initWithArticleId:(NSString *)articleId
30+
title:(NSString *)title;
31+
32+
@end
33+
34+
NS_ASSUME_NONNULL_END
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
//
2+
// ICMHelpCenterArticleSearchResult.h
3+
// IntercomSDK-Dynamic
4+
//
5+
// Created by Michael McNamara on 04/06/2021.
6+
// Copyright © 2021 Intercom. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
NS_ASSUME_NONNULL_BEGIN
12+
13+
/**
14+
ICMHelpCenterArticleSearchResult represents the result of a Help Center search.
15+
*/
16+
NS_SWIFT_NAME(HelpCenterArticleSearchResult)
17+
@interface ICMHelpCenterArticleSearchResult : NSObject
18+
19+
/**
20+
The id of this article.
21+
*/
22+
@property (nonatomic, copy) NSString *articleId;
23+
24+
/**
25+
The title of this article.
26+
*/
27+
@property (nonatomic, copy) NSString *title;
28+
29+
/**
30+
The summary of this article.
31+
*/
32+
@property (nonatomic, copy) NSString *summary;
33+
34+
/**
35+
A snippet of this article that matches the search term.
36+
*/
37+
@property (nonatomic, copy) NSString *matchingSnippet;
38+
39+
- (instancetype)initWithArticleId:(NSString *)articleId
40+
title:(NSString *)title
41+
summary:(nullable NSString *)summary
42+
matchingSnippet:(nullable NSString *)matchingSnippet;
43+
44+
@end
45+
46+
NS_ASSUME_NONNULL_END
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
//
2+
// ICMHelpCenterCollection.h
3+
// IntercomSDK-Dynamic
4+
//
5+
// Created by Michael McNamara on 26/05/2021.
6+
// Copyright © 2021 Intercom. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
NS_ASSUME_NONNULL_BEGIN
12+
13+
/**
14+
ICMHelpCenterCollection represents a Help Center collection.
15+
*/
16+
NS_SWIFT_NAME(HelpCenterCollection)
17+
@interface ICMHelpCenterCollection : NSObject
18+
19+
/**
20+
The id of this collection.
21+
*/
22+
@property (nonatomic, copy) NSString *collectionId;
23+
24+
/**
25+
The title of this collection.
26+
*/
27+
@property (nonatomic, copy) NSString *title;
28+
29+
/**
30+
A summary of this collection.
31+
*/
32+
@property (nonatomic, copy, nullable) NSString *summary;
33+
34+
- (instancetype)initWithCollectionId:(NSString *)collectionId
35+
title:(NSString *)title
36+
summary:(nullable NSString *)summary;
37+
38+
@end
39+
40+
NS_ASSUME_NONNULL_END
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
//
2+
// ICMHelpCenterCollectionContent.h
3+
// IntercomSDK-Dynamic
4+
//
5+
// Created by Michael McNamara on 03/06/2021.
6+
// Copyright © 2021 Intercom. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
@class ICMHelpCenterArticle;
11+
@class ICMHelpCenterSection;
12+
13+
NS_ASSUME_NONNULL_BEGIN
14+
15+
/**
16+
ICMHelpCenterCollection represents a Help Center collection and its contents.
17+
*/
18+
NS_SWIFT_NAME(HelpCenterCollectionContent)
19+
@interface ICMHelpCenterCollectionContent : NSObject
20+
21+
/**
22+
The id of this collection.
23+
*/
24+
@property (nonatomic, copy) NSString *collectionId;
25+
26+
/**
27+
The title of this collection.
28+
*/
29+
@property (nonatomic, copy) NSString *title;
30+
31+
/**
32+
A summary of this collection.
33+
*/
34+
@property (nonatomic, copy, nullable) NSString *summary;
35+
36+
/**
37+
The articles contained in this collection.
38+
*/
39+
@property (nonatomic, strong) NSArray<ICMHelpCenterArticle *> *articles;
40+
41+
/**
42+
The sections contained in this collection.
43+
*/
44+
@property (nonatomic, strong) NSArray<ICMHelpCenterSection *> *sections;
45+
46+
- (instancetype)initWithCollectionId:(NSString *)collectionId
47+
title:(NSString *)title
48+
summary:(nullable NSString *)summary
49+
articles:(NSArray<ICMHelpCenterArticle *> *)articles
50+
sections:(NSArray<ICMHelpCenterSection *> *)sections;
51+
52+
53+
@end
54+
55+
NS_ASSUME_NONNULL_END
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
//
2+
// ICMHelpCenterDataError.h
3+
// IntercomSDK-Dynamic
4+
//
5+
// Created by Michael McNamara on 08/06/2021.
6+
// Copyright © 2021 Intercom. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
NS_ASSUME_NONNULL_BEGIN
12+
13+
extern NSErrorDomain const ICMHelpCenterDataErrorDomain;
14+
15+
typedef NS_ERROR_ENUM(ICMHelpCenterDataErrorDomain, ICMHelpCenterDataError) {
16+
contentNotAvailable = 1,
17+
networkError,
18+
somethingWentWrong,
19+
noUserRegistered,
20+
noAppRegistered
21+
};
22+
23+
NS_ASSUME_NONNULL_END
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
//
2+
// ICMHelpCenterSection.h
3+
// IntercomSDK-Dynamic
4+
//
5+
// Created by Michael McNamara on 03/06/2021.
6+
// Copyright © 2021 Intercom. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
@class ICMHelpCenterArticle;
11+
12+
NS_ASSUME_NONNULL_BEGIN
13+
14+
/**
15+
ICMHelpCenterSection represents a Help Center section.
16+
*/
17+
NS_SWIFT_NAME(HelpCenterSection)
18+
@interface ICMHelpCenterSection : NSObject
19+
20+
/**
21+
The title of this section.
22+
*/
23+
@property (nonatomic, copy) NSString *title;
24+
25+
/**
26+
The articles contained in this section.
27+
*/
28+
@property (nonatomic, strong) NSArray<ICMHelpCenterArticle *> *articles;
29+
30+
- (instancetype)initWithTitle:(NSString *)title
31+
articles:(NSArray<ICMHelpCenterArticle *> *)articles;
32+
33+
@end
34+
35+
NS_ASSUME_NONNULL_END

0 commit comments

Comments
 (0)