Skip to content

Commit

Permalink
Apptentive IOS SDK 5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
frankus committed May 10, 2018
1 parent 00bb088 commit 48e6c98
Show file tree
Hide file tree
Showing 158 changed files with 4,662 additions and 2,763 deletions.
258 changes: 203 additions & 55 deletions Apptentive/Apptentive.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0900"
LastUpgradeVersion = "0930"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -26,7 +26,7 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
codeCoverageEnabled = "YES"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
Expand Down Expand Up @@ -56,7 +56,6 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0900"
LastUpgradeVersion = "0930"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -26,7 +26,6 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
Expand All @@ -37,7 +36,6 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
Expand Down
16 changes: 14 additions & 2 deletions Apptentive/Apptentive/Apptentive.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ FOUNDATION_EXPORT double ApptentiveVersionNumber;
FOUNDATION_EXPORT const unsigned char ApptentiveVersionString[];

/** The version number of the Apptentive SDK. */
#define kApptentiveVersionString @"5.0.4"
#define kApptentiveVersionString @"5.1.0"

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

/** Notification sent when a message is sent, either by the user or using a sendAttachment method.
You can use this notification to ask the user to enable push notifications. */
extern NSNotificationName const ApptentiveMessageSentNotification;

/** Notification user info key whose value indicates whether the message was sent by the user or using a sendAttachment method. */
extern NSString * const ApptentiveSentByUserKey;

/** Error domain for the Apptentive SDK */
extern NSString *const ApptentiveErrorDomain;

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

/** If set, redacts potentially-sensitive information such as user data and credentials from logging. */
@property (assign, nonatomic) BOOL shouldSanitizeLogMessages;

/** The server URL to use for API calls. Should only be used for testing. */
@property (copy, nonatomic) NSURL *baseURL;

Expand Down Expand Up @@ -739,7 +749,7 @@ typedef NS_ENUM(NSUInteger, ApptentiveLogLevel) {

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

Expand Down Expand Up @@ -778,6 +788,8 @@ typedef NS_ENUM(NSUInteger, ApptentiveLogLevel) {

@property (assign, nonatomic) ApptentiveLogLevel logLevel;

@property (assign, nonatomic) BOOL redactSensitiveInformation;

@end

@protocol ApptentiveDelegate <NSObject>
Expand Down
Loading

0 comments on commit 48e6c98

Please sign in to comment.