Skip to content

Commit

Permalink
Release 10.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
intercom-ios-release-robot committed Jul 12, 2021
1 parent d37dc94 commit 3e01bcb
Show file tree
Hide file tree
Showing 29 changed files with 156 additions and 62 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 10.0.2
###### Release Date: 12-07-2021

### Improvements
* The Help Center now renders Articles in the correct user locale.

### Bug Fixes
* Fixed an issue that was causing a crash if an article was opened when no Articles subscription was active.
* Emoji reactions are now always visible on Post messages
* A user's profile now displays that they have viewed a specific Article.

## 10.0.1
###### Release Date: 22-06-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.0.1'
s.version = '10.0.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 modified Intercom.xcframework/ios-arm64_armv7/Intercom.framework/Intercom
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
header "ICMHTTPClientProtocol.h"
header "ICMHTTPClient.h"
header "ICMTranslationManager.h"
header "ICMHelpCenterTranslationManager.h"
header "ICMTranslationKeys.h"
header "ICMEngine.h"
header "ICMNavigationController.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
+ (BOOL)isLightColor:(UIColor *)backgroundColor;


#pragma mark - System color backports

/// A backport of `systemGray5` which is available from iOS 13.0+. This should be deleted when dropping iOS 12.
+ (UIColor *)systemGray5;


#pragma mark - Active/Away States

+ (UIColor *)activeColour;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ static NSString *const kICMMessengerLogoImageLoadedNotification = @"kICMMessenge

@protocol ICMConfigProtocol
@property (readonly) BOOL inboundMessages;
@property (readonly) BOOL accessToTeammateEnabled;
@end

@interface ICMConfig : ICMSafeNetworkModel <ICMConfigProtocol,NSCoding>
Expand Down Expand Up @@ -50,6 +51,7 @@ static NSString *const kICMMessengerLogoImageLoadedNotification = @"kICMMessenge
@property (nonatomic, copy) NSString *helpCenterBaseColorString;

@property (nonatomic, strong) NSLocale *intercomLocale;
@property (nonatomic, strong) NSLocale *helpCenterLocale;
@property (nonatomic, strong) NSSet<NSString *> *features;

+ (instancetype)instanceFromDictionary:(NSDictionary *)aDictionary;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ NS_ASSUME_NONNULL_BEGIN
@required
- (void)contentDidLoadWithDismissEnabled:(BOOL)dismissEnabled;
- (void)showLoadingViewWithImage:(UIImage *)image;
- (void)contentLoadingDidFail:(NSString *)errorMessage retryEnabled:(BOOL)retryEnabled;
- (void)contentLoadingDidFail:(NSString *)errorMessage
showActionButton:(BOOL)showActionButton
actionButtonTitle:(NSString * _Nullable)actionButtonTitle;
- (void)configureCloseButtonForBackgroundColor:(UIColor *)backgroundColor;
- (void)closeContentModal;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol ICMErrorViewDelegate;

@interface ICMErrorViewController : UIViewController

@property (nonatomic, weak) id <ICMErrorViewDelegate> errorDelegate;

- (instancetype)initWithTitle:(NSString *)title showActionButton:(BOOL)showRetryButton;
- (instancetype)initWithTitle:(NSString *)title showActionButton:(BOOL)showRetryButton actionButtonTitle:(NSString *)retryButtonTitle;
- (instancetype)initWithTitle:(NSString *)title showActionButton:(BOOL)showRetryButton actionButtonTitle:(NSString * _Nullable)retryButtonTitle;

@end

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

#import "ICMTranslationManager.h"

NS_ASSUME_NONNULL_BEGIN

/// A `ICMTranslationManager` subclass that uses our `help_center_locale` instead of the standard Intercom locale.
/// This should be used to translate any strings in our native Help Center.
@interface ICMHelpCenterTranslationManager : ICMTranslationManager

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@interface ICMLoadingViewController : UIViewController

- (instancetype)initWithImage:(UIImage *)loadingImage;
- (instancetype)initWithImage:(UIImage *)loadingImage accessibilityText:(NSString *)accessibilityText;
- (void)hideLoadingSpinner;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

@interface ICMTranslationManager : NSObject

+ (NSLocale *)translationLocale;
+ (NSString *)translationForKey:(NSString *)key;
+ (NSString *)translationForKey:(NSString *)key params:(NSDictionary<NSString *, NSString *> *)params;
+ (NSArray *)supportedLocales;
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
header "ICMHTTPClientProtocol.h"
header "ICMHTTPClient.h"
header "ICMTranslationManager.h"
header "ICMHelpCenterTranslationManager.h"
header "ICMTranslationKeys.h"
header "ICMEngine.h"
header "ICMNavigationController.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
+ (BOOL)isLightColor:(UIColor *)backgroundColor;


#pragma mark - System color backports

/// A backport of `systemGray5` which is available from iOS 13.0+. This should be deleted when dropping iOS 12.
+ (UIColor *)systemGray5;


#pragma mark - Active/Away States

+ (UIColor *)activeColour;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ static NSString *const kICMMessengerLogoImageLoadedNotification = @"kICMMessenge

@protocol ICMConfigProtocol
@property (readonly) BOOL inboundMessages;
@property (readonly) BOOL accessToTeammateEnabled;
@end

@interface ICMConfig : ICMSafeNetworkModel <ICMConfigProtocol,NSCoding>
Expand Down Expand Up @@ -50,6 +51,7 @@ static NSString *const kICMMessengerLogoImageLoadedNotification = @"kICMMessenge
@property (nonatomic, copy) NSString *helpCenterBaseColorString;

@property (nonatomic, strong) NSLocale *intercomLocale;
@property (nonatomic, strong) NSLocale *helpCenterLocale;
@property (nonatomic, strong) NSSet<NSString *> *features;

+ (instancetype)instanceFromDictionary:(NSDictionary *)aDictionary;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ NS_ASSUME_NONNULL_BEGIN
@required
- (void)contentDidLoadWithDismissEnabled:(BOOL)dismissEnabled;
- (void)showLoadingViewWithImage:(UIImage *)image;
- (void)contentLoadingDidFail:(NSString *)errorMessage retryEnabled:(BOOL)retryEnabled;
- (void)contentLoadingDidFail:(NSString *)errorMessage
showActionButton:(BOOL)showActionButton
actionButtonTitle:(NSString * _Nullable)actionButtonTitle;
- (void)configureCloseButtonForBackgroundColor:(UIColor *)backgroundColor;
- (void)closeContentModal;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol ICMErrorViewDelegate;

@interface ICMErrorViewController : UIViewController

@property (nonatomic, weak) id <ICMErrorViewDelegate> errorDelegate;

- (instancetype)initWithTitle:(NSString *)title showActionButton:(BOOL)showRetryButton;
- (instancetype)initWithTitle:(NSString *)title showActionButton:(BOOL)showRetryButton actionButtonTitle:(NSString *)retryButtonTitle;
- (instancetype)initWithTitle:(NSString *)title showActionButton:(BOOL)showRetryButton actionButtonTitle:(NSString * _Nullable)retryButtonTitle;

@end

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

#import "ICMTranslationManager.h"

NS_ASSUME_NONNULL_BEGIN

/// A `ICMTranslationManager` subclass that uses our `help_center_locale` instead of the standard Intercom locale.
/// This should be used to translate any strings in our native Help Center.
@interface ICMHelpCenterTranslationManager : ICMTranslationManager

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@interface ICMLoadingViewController : UIViewController

- (instancetype)initWithImage:(UIImage *)loadingImage;
- (instancetype)initWithImage:(UIImage *)loadingImage accessibilityText:(NSString *)accessibilityText;
- (void)hideLoadingSpinner;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

@interface ICMTranslationManager : NSObject

+ (NSLocale *)translationLocale;
+ (NSString *)translationForKey:(NSString *)key;
+ (NSString *)translationForKey:(NSString *)key params:(NSDictionary<NSString *, NSString *> *)params;
+ (NSArray *)supportedLocales;
Expand Down
Loading

0 comments on commit 3e01bcb

Please sign in to comment.