Skip to content

Commit

Permalink
Release 10.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
intercom-ios-release-robot committed Nov 9, 2021
1 parent d2116f4 commit c782c99
Show file tree
Hide file tree
Showing 27 changed files with 93 additions and 64 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## 10.3.2
###### Release Date: 09-11-2021

### 🚀 Enhancements
* We've improved Custom Bots for New Conversations to ensure that your users are always presented with the most up-to-date bots.
* Our SDK now uses `NSSecureCoding` instead of `NSCoding`.


### 🐛 Bug Fixes
* We fixed a [crash that was occurring](https://forum.intercom.com/s/question/0D52G00005MT2KHSA1/ios-sdk-messenger-crash) with our last release on iOS 12.
* The header on the Homescreen is now sized correctly, when returning from a conversation.


## 10.3.1
###### Release Date: 01-11-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.3.1'
s.version = '10.3.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
14 changes: 7 additions & 7 deletions Intercom.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>Intercom.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Intercom.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</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>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#import <Foundation/Foundation.h>
#import "ICMSafeNetworkModel.h"

@interface ICMAvatar : ICMSafeNetworkModel <NSCoding>
@interface ICMAvatar : ICMSafeNetworkModel <NSSecureCoding>

@property (nonatomic, copy, readonly) NSString *imageUrl;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ static NSString *const kICMLauncherCustomLogoImageLoadedNotification = @"kICMLau
@property (readonly) BOOL helpCenterRequireSearch;
@end

@interface ICMConfig : ICMSafeNetworkModel <ICMConfigProtocol,NSCoding>
@interface ICMConfig : ICMSafeNetworkModel <ICMConfigProtocol,NSSecureCoding>

@property (nonatomic, copy) NSString *primaryColorString;
@property (nonatomic, copy) NSString *secondaryColorString;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,11 @@
success:(ICMHTTPArraySuccess)success
error:(ICMHTTPClientError)failure;


#pragma mark - Composer suggestions


+ (void)openMessenger:(ICMHTTPBaseSuccess)success
error:(ICMHTTPClientError)failure;
@end

Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
@class ICMBaseResponse;
@class ICMCarousel;
@class ICMUserIdentity;
@class ICMComposerSuggestions;

static const NSInteger kICMHTTPClientDefaultPageSize = 10;
static const NSInteger kNewContentEventTypeCarousel = 44;
Expand All @@ -42,6 +43,7 @@ typedef void (^ICMHTTPSubmitFormSuccess)(ICMConversation *response);
typedef void (^ICMHTTPCarouselSuccess)(ICMCarousel *carousel);
typedef void (^ICMHTTPArraySuccess)(NSArray *array);
typedef void (^ICMHTTPDictionarySuccess)(NSDictionary *object);
typedef void (^ICMHTTPComposerSuggestionsSuccess)(ICMComposerSuggestions *composerSuggestions);

@protocol ICMHTTPClientProtocol
+ (void)getHelpCenterCollections:(nullable ICMHTTPArraySuccess)success
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#import "ICMMetricEvent.h"
@class ICMOpsMetricEvent;

@interface ICMMetric : NSObject <NSCoding>
@interface ICMMetric : NSObject <NSSecureCoding>

+ (instancetype)sharedInstance;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ static NSString *const kICMMetricEventInfoProgrammatic = @"prog
static NSString *const kICMMetricEventInfoAutomatic = @"automatic";


@interface ICMMetricEvent : NSObject <NSCoding>
@interface ICMMetricEvent : NSObject <NSSecureCoding>

+ (instancetype)eventWithAction:(NSString *)action
object:(NSString *)object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#import "ICMSafeNetworkModel.h"
#import "ICMAvatar.h"

@interface ICMParticipant : ICMSafeNetworkModel <NSCoding>
@interface ICMParticipant : ICMSafeNetworkModel <NSSecureCoding>

@property (nonatomic, strong) ICMAvatar *avatar;
@property (nonatomic, copy) NSString *email;
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#import <Foundation/Foundation.h>
#import "ICMSafeNetworkModel.h"

@interface ICMAvatar : ICMSafeNetworkModel <NSCoding>
@interface ICMAvatar : ICMSafeNetworkModel <NSSecureCoding>

@property (nonatomic, copy, readonly) NSString *imageUrl;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ static NSString *const kICMLauncherCustomLogoImageLoadedNotification = @"kICMLau
@property (readonly) BOOL helpCenterRequireSearch;
@end

@interface ICMConfig : ICMSafeNetworkModel <ICMConfigProtocol,NSCoding>
@interface ICMConfig : ICMSafeNetworkModel <ICMConfigProtocol,NSSecureCoding>

@property (nonatomic, copy) NSString *primaryColorString;
@property (nonatomic, copy) NSString *secondaryColorString;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,11 @@
success:(ICMHTTPArraySuccess)success
error:(ICMHTTPClientError)failure;


#pragma mark - Composer suggestions


+ (void)openMessenger:(ICMHTTPBaseSuccess)success
error:(ICMHTTPClientError)failure;
@end

Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
@class ICMBaseResponse;
@class ICMCarousel;
@class ICMUserIdentity;
@class ICMComposerSuggestions;

static const NSInteger kICMHTTPClientDefaultPageSize = 10;
static const NSInteger kNewContentEventTypeCarousel = 44;
Expand All @@ -42,6 +43,7 @@ typedef void (^ICMHTTPSubmitFormSuccess)(ICMConversation *response);
typedef void (^ICMHTTPCarouselSuccess)(ICMCarousel *carousel);
typedef void (^ICMHTTPArraySuccess)(NSArray *array);
typedef void (^ICMHTTPDictionarySuccess)(NSDictionary *object);
typedef void (^ICMHTTPComposerSuggestionsSuccess)(ICMComposerSuggestions *composerSuggestions);

@protocol ICMHTTPClientProtocol
+ (void)getHelpCenterCollections:(nullable ICMHTTPArraySuccess)success
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#import "ICMMetricEvent.h"
@class ICMOpsMetricEvent;

@interface ICMMetric : NSObject <NSCoding>
@interface ICMMetric : NSObject <NSSecureCoding>

+ (instancetype)sharedInstance;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ static NSString *const kICMMetricEventInfoProgrammatic = @"prog
static NSString *const kICMMetricEventInfoAutomatic = @"automatic";


@interface ICMMetricEvent : NSObject <NSCoding>
@interface ICMMetricEvent : NSObject <NSSecureCoding>

+ (instancetype)eventWithAction:(NSString *)action
object:(NSString *)object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#import "ICMSafeNetworkModel.h"
#import "ICMAvatar.h"

@interface ICMParticipant : ICMSafeNetworkModel <NSCoding>
@interface ICMParticipant : ICMSafeNetworkModel <NSSecureCoding>

@property (nonatomic, strong) ICMAvatar *avatar;
@property (nonatomic, copy) NSString *email;
Expand Down
Loading

0 comments on commit c782c99

Please sign in to comment.