Skip to content

Commit 7be72b9

Browse files
authored
Merge pull request #294 from apptentive/branch_5.3.3
Release 5.3.3
2 parents 53f08d9 + 03f51fc commit 7be72b9

File tree

11 files changed

+47
-20
lines changed

11 files changed

+47
-20
lines changed

Apptentive/Apptentive.xcodeproj/project.pbxproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -2419,7 +2419,7 @@
24192419
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
24202420
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
24212421
COPY_PHASE_STRIP = NO;
2422-
CURRENT_PROJECT_VERSION = 47;
2422+
CURRENT_PROJECT_VERSION = 48;
24232423
DEBUG_INFORMATION_FORMAT = dwarf;
24242424
ENABLE_STRICT_OBJC_MSGSEND = YES;
24252425
ENABLE_TESTABILITY = YES;
@@ -2477,7 +2477,7 @@
24772477
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
24782478
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
24792479
COPY_PHASE_STRIP = NO;
2480-
CURRENT_PROJECT_VERSION = 47;
2480+
CURRENT_PROJECT_VERSION = 48;
24812481
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
24822482
ENABLE_NS_ASSERTIONS = NO;
24832483
ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -2509,7 +2509,7 @@
25092509
DEFINES_MODULE = YES;
25102510
DEVELOPMENT_TEAM = 86WML2UN43;
25112511
DYLIB_COMPATIBILITY_VERSION = 1;
2512-
DYLIB_CURRENT_VERSION = 47;
2512+
DYLIB_CURRENT_VERSION = 48;
25132513
DYLIB_INSTALL_NAME_BASE = "@rpath";
25142514
GCC_PREFIX_HEADER = "Apptentive/Misc/ApptentiveConnect-Prefix.pch";
25152515
GCC_PREPROCESSOR_DEFINITIONS = "APPTENTIVE_DEBUG=1";
@@ -2530,7 +2530,7 @@
25302530
DEFINES_MODULE = YES;
25312531
DEVELOPMENT_TEAM = 86WML2UN43;
25322532
DYLIB_COMPATIBILITY_VERSION = 1;
2533-
DYLIB_CURRENT_VERSION = 47;
2533+
DYLIB_CURRENT_VERSION = 48;
25342534
DYLIB_INSTALL_NAME_BASE = "@rpath";
25352535
GCC_PREFIX_HEADER = "Apptentive/Misc/ApptentiveConnect-Prefix.pch";
25362536
INFOPLIST_FILE = Apptentive/Info.plist;

Apptentive/Apptentive/Apptentive.storyboard

+17-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17154" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useSafeAreas="YES" colorMatched="YES">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="18122" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useSafeAreas="YES" colorMatched="YES">
33
<device id="retina4_7" orientation="portrait" appearance="light"/>
44
<dependencies>
55
<deployment identifier="iOS"/>
6-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17124"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="18093"/>
77
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
88
<capability name="System colors in document resources" minToolsVersion="11.0"/>
99
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
@@ -119,7 +119,7 @@
119119
</connections>
120120
</view>
121121
<view key="tableFooterView" contentMode="scaleToFill" id="6et-WJ-u3H">
122-
<rect key="frame" x="0.0" y="897.5" width="375" height="300"/>
122+
<rect key="frame" x="0.0" y="891.5" width="375" height="300"/>
123123
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
124124
<subviews>
125125
<view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Aj5-aD-yTM" customClass="ApptentiveMessageCenterInputView">
@@ -161,6 +161,10 @@
161161
</button>
162162
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalCompressionResistancePriority="250" verticalCompressionResistancePriority="250" text="New Message" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" adjustsLetterSpacingToFitWidth="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Mka-QN-zVs">
163163
<rect key="frame" x="44" y="13" width="102" height="18"/>
164+
<accessibility key="accessibilityConfiguration">
165+
<accessibilityTraits key="traits" notEnabled="YES"/>
166+
<bool key="isElement" value="NO"/>
167+
</accessibility>
164168
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
165169
<color key="textColor" red="0.51764705879999995" green="0.51764705879999995" blue="0.56470588239999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
166170
<nil key="highlightedColor"/>
@@ -209,6 +213,10 @@
209213
</textView>
210214
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Please leave detailed feedback" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ase-Kg-1uo">
211215
<rect key="frame" x="17" y="54" width="199.5" height="17"/>
216+
<accessibility key="accessibilityConfiguration">
217+
<accessibilityTraits key="traits" notEnabled="YES"/>
218+
<bool key="isElement" value="NO"/>
219+
</accessibility>
212220
<fontDescription key="fontDescription" type="system" pointSize="14"/>
213221
<color key="textColor" red="0.73333333329999995" green="0.72941176470000002" blue="0.76078431369999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
214222
<nil key="highlightedColor"/>
@@ -423,7 +431,7 @@
423431
</view>
424432
<prototypes>
425433
<tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="ContextMessage" rowHeight="48" id="5ec-cK-c7K" userLabel="Context Message" customClass="ApptentiveMessageCenterContextMessageCell">
426-
<rect key="frame" x="0.0" y="313.5" width="375" height="48"/>
434+
<rect key="frame" x="0.0" y="307.5" width="375" height="48"/>
427435
<autoresizingMask key="autoresizingMask"/>
428436
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="5ec-cK-c7K" id="jRh-G0-si1">
429437
<rect key="frame" x="0.0" y="0.0" width="375" height="48"/>
@@ -450,7 +458,7 @@
450458
</connections>
451459
</tableViewCell>
452460
<tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="Reply" rowHeight="87" id="JK9-ui-0US" customClass="ApptentiveMessageCenterReplyCell">
453-
<rect key="frame" x="0.0" y="361.5" width="375" height="87"/>
461+
<rect key="frame" x="0.0" y="355.5" width="375" height="87"/>
454462
<autoresizingMask key="autoresizingMask"/>
455463
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="JK9-ui-0US" id="mF7-ws-xVD">
456464
<rect key="frame" x="0.0" y="0.0" width="375" height="87"/>
@@ -498,7 +506,7 @@
498506
</connections>
499507
</tableViewCell>
500508
<tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="Message" rowHeight="93" id="hi8-Bq-GR3" customClass="ApptentiveMessageCenterMessageCell">
501-
<rect key="frame" x="0.0" y="448.5" width="375" height="93"/>
509+
<rect key="frame" x="0.0" y="442.5" width="375" height="93"/>
502510
<autoresizingMask key="autoresizingMask"/>
503511
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="hi8-Bq-GR3" id="H0J-6d-bTN">
504512
<rect key="frame" x="0.0" y="0.0" width="375" height="93"/>
@@ -536,7 +544,7 @@
536544
</connections>
537545
</tableViewCell>
538546
<tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="CompoundMessage" rowHeight="181" id="evQ-54-Bpq" userLabel="CompoundMessage" customClass="ApptentiveCompoundMessageCell">
539-
<rect key="frame" x="0.0" y="541.5" width="375" height="181"/>
547+
<rect key="frame" x="0.0" y="535.5" width="375" height="181"/>
540548
<autoresizingMask key="autoresizingMask"/>
541549
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="evQ-54-Bpq" id="cxM-mJ-g02">
542550
<rect key="frame" x="0.0" y="0.0" width="375" height="181"/>
@@ -638,7 +646,7 @@
638646
</connections>
639647
</tableViewCell>
640648
<tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="CompoundReply" rowHeight="169" id="nj1-yL-vAx" customClass="ApptentiveCompoundReplyCell">
641-
<rect key="frame" x="0.0" y="722.5" width="375" height="169"/>
649+
<rect key="frame" x="0.0" y="716.5" width="375" height="169"/>
642650
<autoresizingMask key="autoresizingMask"/>
643651
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="nj1-yL-vAx" id="n4I-KM-rdG">
644652
<rect key="frame" x="0.0" y="0.0" width="375" height="169"/>
@@ -855,7 +863,7 @@
855863
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
856864
<subviews>
857865
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="contactAdd" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qyh-3U-iDJ">
858-
<rect key="frame" x="7.5" y="58" width="25" height="24"/>
866+
<rect key="frame" x="10" y="60" width="20" height="20"/>
859867
<connections>
860868
<action selector="chooseImage:" destination="lUk-lg-QHV" eventType="touchUpInside" id="L0p-LU-a4M"/>
861869
</connections>

Apptentive/Apptentive/ApptentiveMain.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ FOUNDATION_EXPORT double ApptentiveVersionNumber;
2020
FOUNDATION_EXPORT const unsigned char ApptentiveVersionString[];
2121

2222
/** The version number of the Apptentive SDK. */
23-
#define kApptentiveVersionString @"5.3.2"
23+
#define kApptentiveVersionString @"5.3.3"
2424

2525
/** The version number of the Apptentive API platform. */
2626
#define kApptentiveAPIVersionString @"9"

Apptentive/Apptentive/Engagement/Model/ApptentiveAppRelease.h

+5
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ NS_ASSUME_NONNULL_BEGIN
6262
@property (readonly, assign, nonatomic, getter=isOverridingStyles) BOOL overridingStyles;
6363

6464

65+
/**
66+
The minimum iOS version the app can run on.
67+
*/
68+
@property (readonly, strong, nonatomic) NSString *deploymentTarget;
69+
6570
/**
6671
Indicates whether the version has changed since the first release that
6772
included the Apptentive SDK.

Apptentive/Apptentive/Engagement/Model/ApptentiveAppRelease.m

+6
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
static NSString *const HasAppStoreReceiptKey = @"hasAppStoreReceipt";
1919
static NSString *const DebugBuildKey = @"debugBuild";
2020
static NSString *const OverridingStylesKey = @"overridingStyles";
21+
static NSString *const DeploymentTargetKey = @"deploymentTarget";
2122
static NSString *const UpdateVersionKey = @"updateVersion";
2223
static NSString *const UpdateBuildKey = @"updateBuild";
2324
static NSString *const TimeAtInstallTotalKey = @"timeAtInstallTotal";
@@ -71,6 +72,7 @@ - (instancetype)initWithCurrentAppRelease {
7172
_version = [[ApptentiveVersion alloc] initWithString:[NSBundle mainBundle].infoDictionary[@"CFBundleShortVersionString"]];
7273
_build = [[ApptentiveVersion alloc] initWithString:[NSBundle mainBundle].infoDictionary[(NSString *)kCFBundleVersionKey]];
7374
_hasAppStoreReceipt = [NSData dataWithContentsOfURL:[NSBundle mainBundle].appStoreReceiptURL] != nil;
75+
_deploymentTarget = [NSBundle mainBundle].infoDictionary[@"MinimumOSVersion"];
7476

7577
_compiler = [NSBundle mainBundle].infoDictionary[@"DTCompiler"];
7678
_platformBuild = [NSBundle mainBundle].infoDictionary[@"DTPlatformBuild"];
@@ -101,6 +103,7 @@ - (nullable instancetype)initWithCoder:(NSCoder *)coder {
101103
_hasAppStoreReceipt = [coder decodeBoolForKey:HasAppStoreReceiptKey];
102104
_debugBuild = [coder decodeBoolForKey:DebugBuildKey];
103105
_overridingStyles = [coder decodeBoolForKey:OverridingStylesKey];
106+
_deploymentTarget = [coder decodeObjectOfClass:[NSString class] forKey:DeploymentTargetKey];
104107

105108
_updateVersion = [coder decodeBoolForKey:UpdateVersionKey];
106109
_updateBuild = [coder decodeBoolForKey:UpdateBuildKey];
@@ -132,6 +135,7 @@ - (void)encodeWithCoder:(NSCoder *)coder {
132135
[coder encodeBool:self.hasAppStoreReceipt forKey:HasAppStoreReceiptKey];
133136
[coder encodeBool:self.debugBuild forKey:DebugBuildKey];
134137
[coder encodeBool:self.overridingStyles forKey:OverridingStylesKey];
138+
[coder encodeObject:self.deploymentTarget forKey:DeploymentTargetKey];
135139

136140
[coder encodeBool:self.updateVersion forKey:UpdateVersionKey];
137141
[coder encodeBool:self.updateBuild forKey:UpdateBuildKey];
@@ -163,6 +167,7 @@ - (instancetype)initAndMigrate {
163167
_hasAppStoreReceipt = [appRelease[@"app_store_receipt"][@"has_receipt"] boolValue];
164168
_debugBuild = [appRelease[@"debug"] boolValue];
165169
_overridingStyles = [appRelease[@"overriding_styles"] boolValue];
170+
_deploymentTarget = @"";
166171

167172
_updateVersion = YES;
168173
_updateBuild = YES;
@@ -249,6 +254,7 @@ + (NSDictionary *)JSONKeyPathMapping {
249254
@"app_store_receipt": NSStringFromSelector(@selector(appStoreReceiptDictionary)),
250255
@"debug": NSStringFromSelector(@selector(boxedDebugBuild)),
251256
@"overriding_styles": NSStringFromSelector(@selector(boxedOverridingStyles)),
257+
@"deployment_target": NSStringFromSelector(@selector(deploymentTarget)),
252258
@"dt_compiler": NSStringFromSelector(@selector(compiler)),
253259
@"dt_platform_build": NSStringFromSelector(@selector(platformBuild)),
254260
@"dt_platform_name": NSStringFromSelector(@selector(platformName)),

Apptentive/Apptentive/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>5.3.2</string>
18+
<string>5.3.3</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

Apptentive/Apptentive/Message Center/Controllers/ApptentiveMessageCenterViewController.m

+1
Original file line numberDiff line numberDiff line change
@@ -1222,6 +1222,7 @@ - (BOOL)shouldShowProfileViewBeforeComposing:(BOOL)beforeComposing {
12221222

12231223
- (void)discardDraft {
12241224
self.messageInputView.messageView.text = nil;
1225+
self.messageInputView.placeholderLabel.hidden = false;
12251226
[self.messageInputView.messageView resignFirstResponder];
12261227

12271228
[self.attachmentController clear];

Apptentive/ApptentiveTests/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>5.3.2</string>
18+
<string>5.3.3</string>
1919
<key>CFBundleVersion</key>
2020
<string>1</string>
2121
</dict>

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# 2021-06-16 - v5.3.3
2+
3+
#### Bugs Fixed
4+
5+
* Remove duplicate VoiceOver elements in Message Center
6+
* Fix a bug where Message Center placeholder text would disappear
7+
18
# 2021-05-11 - v5.3.2
29

310
#### Improvements

Example/Podfile.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- apptentive-ios (5.3.2)
2+
- apptentive-ios (5.3.3)
33

44
DEPENDENCIES:
55
- apptentive-ios (from `..`)
@@ -9,8 +9,8 @@ EXTERNAL SOURCES:
99
:path: ".."
1010

1111
SPEC CHECKSUMS:
12-
apptentive-ios: 8254c0c93038b951a196b7912b5e9760ecb4b080
12+
apptentive-ios: 90329e56e39cc4df71e67f6dd8eadc899cd8aba1
1313

1414
PODFILE CHECKSUM: 785a9d76c0ca2535819b754c6fe8c5c6413dbc30
1515

16-
COCOAPODS: 1.10.1
16+
COCOAPODS: 1.8.4

apptentive-ios.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = 'apptentive-ios'
33
s.module_name = 'Apptentive'
4-
s.version = '5.3.2'
4+
s.version = '5.3.3'
55
s.license = 'BSD'
66
s.summary = 'Apptentive Customer Communications SDK.'
77
s.homepage = 'https://www.apptentive.com/'

0 commit comments

Comments
 (0)