Skip to content

Commit

Permalink
Release 10.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
intercom-ios-release-robot committed Sep 1, 2021
1 parent 00e6b34 commit 77a95a5
Show file tree
Hide file tree
Showing 511 changed files with 11,033 additions and 10 deletions.
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
## 10.1.1
###### Release Date: 27-08-2021
## 10.1.2
###### Release Date: 01-09-2021

### Bug Fixes
* 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.
* 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.

## 10.1.1
###### Release Date: 27-08-2021

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

## 10.1.0
###### Release Date: 20-08-2021
Expand Down
2 changes: 1 addition & 1 deletion Intercom.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Intercom'
s.version = '10.1.1'
s.version = '10.1.2'
s.summary = 'The Intercom iOS SDK, for integrating Intercom into your iOS application.'
s.license = { :type => "Apache 2.0", :file => "LICENSE" }
s.authors = {"Brian Boyle"=>"[email protected]", "Mike McNamara"=>"[email protected]", "Katherine Brennan"=>"[email protected]", "Himanshi Goyal"=>"[email protected]"}
Expand Down
42 changes: 42 additions & 0 deletions Intercom.xcframework/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>Intercom.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Intercom.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
//
// ICMCompany.h
//
// Created by Intercom on 17/01/2017.
// Copyright (c) 2017 Intercom. All rights reserved.
//

#import <Foundation/Foundation.h>

/**
* The ICMCompany object is used for adding companies to users in Intercom.
* All of the default attributes you can modify are available as properties on ICMCompany.
* This is an example of how to create an ICMCompany object to update default attributes.
*
* ICMCompany *company = [ICMCompany new];
* company.companyId = @"12345";
* company.name = @"TestCorp";
*
* You can also add custom attributes to your company.
*
* ICMCompany *company = [ICMCompany new];
* company.companyId = @"12345";
* company.name = @"TestCorp";
* company.customAttributes = @{@"employee_count" : @200};
*
*/
@interface ICMCompany : NSObject

/**
The ID of the company.
@note This property is required
*/
@property (nonatomic, copy, nullable) NSString *companyId;

/**
The name of the company.
*/
@property (nonatomic, copy, nullable) NSString *name;

/**
The created at date for this company.
*/
@property (nonatomic, strong, nullable) NSDate *createdAt;

/**
The monthly spend of the company.
*/
@property (nonatomic, strong, nullable) NSNumber *monthlySpend;

/**
The plan of the company.
*/
@property (nonatomic, copy, nullable) NSString *plan;

/**
Custom attributes for this user.
@note Each key must be an NSString and each value must be of type NSString, NSNumber or NSNull.
*/
@property (nonatomic, strong, nullable) NSDictionary<NSString *, id> *customAttributes;

/**
Gives you a null value to apply to string attributes.
@return the value to set on string attributes which you wish to be null
*/
+ (nonnull NSString *)nullStringAttribute;

/**
Gives you a null value to apply to number attributes.
@return the value to set on number attributes which you wish to be null
*/
+ (nonnull NSNumber *)nullNumberAttribute;

/**
Gives you a null value to apply to date attributes.
@return the value to set on date attributes which you wish to be null
*/
+ (nonnull NSDate *)nullDateAttribute;

/**
A dictionary representation for the company.
*/
- (nonnull NSDictionary<NSString *, id> *)attributes;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//
// ICMHelpCenterArticle.h
// IntercomSDK-Dynamic
//
// Created by Michael McNamara on 03/06/2021.
// Copyright © 2021 Intercom. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

/**
ICMHelpCenterArticle represents a Help Center article.
*/
NS_SWIFT_NAME(HelpCenterArticle)
@interface ICMHelpCenterArticle : NSObject

/**
The id of this article.
*/
@property (nonatomic, copy) NSString *articleId;

/**
The title of this article.
*/
@property (nonatomic, copy) NSString *title;

- (instancetype)initWithArticleId:(NSString *)articleId
title:(NSString *)title;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
//
// ICMHelpCenterArticleSearchResult.h
// IntercomSDK-Dynamic
//
// Created by Michael McNamara on 04/06/2021.
// Copyright © 2021 Intercom. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

/**
ICMHelpCenterArticleSearchResult represents the result of a Help Center search.
*/
NS_SWIFT_NAME(HelpCenterArticleSearchResult)
@interface ICMHelpCenterArticleSearchResult : NSObject

/**
The id of this article.
*/
@property (nonatomic, copy) NSString *articleId;

/**
The title of this article.
*/
@property (nonatomic, copy) NSString *title;

/**
The summary of this article.
*/
@property (nonatomic, copy) NSString *summary;

/**
A snippet of this article that matches the search term.
*/
@property (nonatomic, copy) NSString *matchingSnippet;

- (instancetype)initWithArticleId:(NSString *)articleId
title:(NSString *)title
summary:(nullable NSString *)summary
matchingSnippet:(nullable NSString *)matchingSnippet;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
//
// ICMHelpCenterCollection.h
// IntercomSDK-Dynamic
//
// Created by Michael McNamara on 26/05/2021.
// Copyright © 2021 Intercom. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

/**
ICMHelpCenterCollection represents a Help Center collection.
*/
NS_SWIFT_NAME(HelpCenterCollection)
@interface ICMHelpCenterCollection : NSObject

/**
The id of this collection.
*/
@property (nonatomic, copy) NSString *collectionId;

/**
The title of this collection.
*/
@property (nonatomic, copy) NSString *title;

/**
A summary of this collection.
*/
@property (nonatomic, copy, nullable) NSString *summary;

- (instancetype)initWithCollectionId:(NSString *)collectionId
title:(NSString *)title
summary:(nullable NSString *)summary;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
//
// ICMHelpCenterCollectionContent.h
// IntercomSDK-Dynamic
//
// Created by Michael McNamara on 03/06/2021.
// Copyright © 2021 Intercom. All rights reserved.
//

#import <Foundation/Foundation.h>
@class ICMHelpCenterArticle;
@class ICMHelpCenterSection;

NS_ASSUME_NONNULL_BEGIN

/**
ICMHelpCenterCollection represents a Help Center collection and its contents.
*/
NS_SWIFT_NAME(HelpCenterCollectionContent)
@interface ICMHelpCenterCollectionContent : NSObject

/**
The id of this collection.
*/
@property (nonatomic, copy) NSString *collectionId;

/**
The title of this collection.
*/
@property (nonatomic, copy) NSString *title;

/**
A summary of this collection.
*/
@property (nonatomic, copy, nullable) NSString *summary;

/**
The articles contained in this collection.
*/
@property (nonatomic, strong) NSArray<ICMHelpCenterArticle *> *articles;

/**
The sections contained in this collection.
*/
@property (nonatomic, strong) NSArray<ICMHelpCenterSection *> *sections;

- (instancetype)initWithCollectionId:(NSString *)collectionId
title:(NSString *)title
summary:(nullable NSString *)summary
articles:(NSArray<ICMHelpCenterArticle *> *)articles
sections:(NSArray<ICMHelpCenterSection *> *)sections;


@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//
// ICMHelpCenterDataError.h
// IntercomSDK-Dynamic
//
// Created by Michael McNamara on 08/06/2021.
// Copyright © 2021 Intercom. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

extern NSErrorDomain const ICMHelpCenterDataErrorDomain;

typedef NS_ERROR_ENUM(ICMHelpCenterDataErrorDomain, ICMHelpCenterDataError) {
contentNotAvailable = 1,
networkError,
somethingWentWrong,
noUserRegistered,
noAppRegistered
};

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
//
// ICMHelpCenterSection.h
// IntercomSDK-Dynamic
//
// Created by Michael McNamara on 03/06/2021.
// Copyright © 2021 Intercom. All rights reserved.
//

#import <Foundation/Foundation.h>
@class ICMHelpCenterArticle;

NS_ASSUME_NONNULL_BEGIN

/**
ICMHelpCenterSection represents a Help Center section.
*/
NS_SWIFT_NAME(HelpCenterSection)
@interface ICMHelpCenterSection : NSObject

/**
The title of this section.
*/
@property (nonatomic, copy) NSString *title;

/**
The articles contained in this section.
*/
@property (nonatomic, strong) NSArray<ICMHelpCenterArticle *> *articles;

- (instancetype)initWithTitle:(NSString *)title
articles:(NSArray<ICMHelpCenterArticle *> *)articles;

@end

NS_ASSUME_NONNULL_END
Loading

0 comments on commit 77a95a5

Please sign in to comment.