Skip to content

Commit 284ee76

Browse files
authored
Merge pull request #216 from apptentive/branch_5.1.0
Release 5.1.0
2 parents 00bb088 + 0389f3f commit 284ee76

File tree

158 files changed

+4660
-2763
lines changed

Some content is hidden

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

158 files changed

+4660
-2763
lines changed

Apptentive/Apptentive.xcodeproj/project.pbxproj

+203-55
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

Apptentive/Apptentive.xcodeproj/xcshareddata/xcschemes/Apptentive.xcscheme

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0900"
3+
LastUpgradeVersion = "0930"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,7 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
language = ""
29+
codeCoverageEnabled = "YES"
3030
shouldUseLaunchSchemeArgsEnv = "YES">
3131
<Testables>
3232
<TestableReference
@@ -56,7 +56,6 @@
5656
buildConfiguration = "Debug"
5757
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
5858
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
59-
language = ""
6059
launchStyle = "0"
6160
useCustomWorkingDirectory = "NO"
6261
ignoresPersistentStateOnLaunch = "NO"

Apptentive/Apptentive.xcodeproj/xcshareddata/xcschemes/ApptentiveDebugging.xcscheme

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0900"
3+
LastUpgradeVersion = "0930"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,7 +26,6 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
language = ""
3029
shouldUseLaunchSchemeArgsEnv = "YES">
3130
<Testables>
3231
</Testables>
@@ -37,7 +36,6 @@
3736
buildConfiguration = "Debug"
3837
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
3938
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
40-
language = ""
4139
launchStyle = "0"
4240
useCustomWorkingDirectory = "NO"
4341
ignoresPersistentStateOnLaunch = "NO"

Apptentive/Apptentive/Apptentive.h

+12-2
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.0.4"
23+
#define kApptentiveVersionString @"5.1.0"
2424

2525
/** The version number of the Apptentive API platform. */
2626
#define kApptentiveAPIVersionString @"9"
@@ -76,6 +76,13 @@ extern NSNotificationName const ApptentiveSurveyShownNotification;
7676
/** Notification sent when a survey is submitted by the user. */
7777
extern NSNotificationName const ApptentiveSurveySentNotification;
7878

79+
/** Notification sent when a message is sent, either by the user or using a sendAttachment method.
80+
You can use this notification to ask the user to enable push notifications. */
81+
extern NSNotificationName const ApptentiveMessageSentNotification;
82+
83+
/** Notification user info key whose value indicates whether the message was sent by the user or using a sendAttachment method. */
84+
extern NSString * const ApptentiveSentByUserKey;
85+
7986
/** Error domain for the Apptentive SDK */
8087
extern NSString *const ApptentiveErrorDomain;
8188

@@ -136,6 +143,9 @@ typedef NS_ENUM(NSUInteger, ApptentiveLogLevel) {
136143
/** The granularity of log messages emitted from the SDK (defaults to `ApptentiveLogLevelInfo`). */
137144
@property (assign, nonatomic) ApptentiveLogLevel logLevel;
138145

146+
/** If set, redacts potentially-sensitive information such as user data and credentials from logging. */
147+
@property (assign, nonatomic) BOOL shouldSanitizeLogMessages;
148+
139149
/** The server URL to use for API calls. Should only be used for testing. */
140150
@property (copy, nonatomic) NSURL *baseURL;
141151

@@ -739,7 +749,7 @@ typedef NS_ENUM(NSUInteger, ApptentiveLogLevel) {
739749

740750
/** The style sheet used for styling Apptentive UI.
741751
742-
@note See the [Apptentive Styling Guide for iOS](https://docs.apptentive.com/ios/customization/) for information on configuring this property.
752+
@note See the [Apptentive Styling Guide for iOS](https://learn.apptentive.com/knowledge-base/interface-customization-ios/) for information on configuring this property.
743753
*/
744754
@property (strong, nonatomic) id<ApptentiveStyle> styleSheet;
745755

0 commit comments

Comments
 (0)