Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #86 from zendesk/Release-ZendeskSDK
Browse files Browse the repository at this point in the history
Releasing ZendeskSDK 1.4.1.1
  • Loading branch information
tecknut committed Sep 25, 2015
2 parents a0c79d9 + ed4d642 commit 6ef449c
Show file tree
Hide file tree
Showing 33 changed files with 121 additions and 39 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:warning: *Use of this software is subject to important terms and conditions as set forth in the License file* :warning:

# Zendesk Mobile SDK for iOS 1.4.0.2
# Zendesk Mobile SDK for iOS 1.4.1.1

Zendesk SDK for mobile is a quick, convenient way to get customer support into your mobile apps. With just a few lines of code, you can provide your end users with an easy way to get in touch from any mobile app.

Expand Down
Binary file modified SampleApp/SampleApp/Bundles/ZendeskSDK.bundle/Info.plist
Binary file not shown.
Binary file not shown.
Binary file modified SampleApp/SampleApp/Bundles/ZendeskSDKStrings.bundle/Info.plist
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@
*/
@property (nonatomic, strong) NSArray *attachments;

/**
* The request the comment belongs to.
*
* @since 1.4.1.1
*/
@property (nonatomic, strong) NSString *requestId;

/**
* Initialise the model object with the account details ands the dispatcher to be used for requests.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ typedef void (^SendFeedbackError) (void);
* minimumDays, and returns NO otherwise.
*
*/
@property (nonatomic, copy, readonly) ShouldShow shouldShowBlock;
@property (nonatomic, copy) ShouldShow shouldShowBlock;

/**
* A block that is invoked when the "Send feedback" button is pressed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,14 @@
/**
* The last time this request was view by this client.
*/
@property (nonatomic, strong) NSDate *lastViewed;
@property (nonatomic, strong) NSDate *lastViewed __deprecated_msg("Deprecated as of 1.4.1.1");

/**
* The number of comments on this ticket.
*
* @since 1.4.1.1
*/
@property (nonatomic, strong) NSNumber *commentCount;


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,36 @@
*
* @return NSDate of the last time it was read, nil if no date found
*/
- (NSDate *) lastReadDateUsingRequestId:(NSString *)requestId;
- (NSDate *) lastReadDateUsingRequestId:(NSString *)requestId __deprecated_msg("As of version 1.4.1.1");

/**
* Stores a time when this request was last read
*
* @param requestId The id of the request
* @param date The timestamp that the request was last read
*/
- (void) setLastReadDateUsingRequestId:(NSString *)requestId andDate:(NSDate *)date;
- (void) setLastReadDateUsingRequestId:(NSString *)requestId andDate:(NSDate *)date __deprecated_msg("As of version 1.4.1.1");

/**
* Gets the last known comment count for a request.
*
* @param requestId The id of the request.
*
* @return The comment count for the request, nil if not known.
*
* @since 1.4.1.1
*/
- (NSNumber *) clientCommentCountForRequest:(NSString *)requestId;

/**
* Set the comment count for a request.
*
* @param requestId The id of the request.
* @param count The count to store.
*
* @since 1.4.1.1
*/
- (void) setClientCommentCountForRequest:(NSString *)requestId count:(NSNumber *)count;

/**
* Deletes ALL storage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,11 @@
- (instancetype) initWithSection:(ZDKHelpCenterSection *)section;


/**
* Dismiss modally presented controller.
*
* @since 1.4.1.1
*/
- (void) dismiss;

@end
Binary file modified SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/Info.plist
Binary file not shown.
Binary file modified SampleApp/SampleApp/Frameworks/ZendeskSDK.framework/ZendeskSDK
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
</data>
<key>Headers/ZDKComment.h</key>
<data>
ehcCufnjitkIw3p61jgSrchZySs=
VLKgNPxgiI5uQbGglOpsuoF9LiE=
</data>
<key>Headers/ZDKCommentInputView.h</key>
<data>
Expand Down Expand Up @@ -322,7 +322,7 @@
</data>
<key>Headers/ZDKRMAConfigObject.h</key>
<data>
ZvdT84pC5h6zCd+U0fXr+JhX9a0=
ePwNrtxHcYorRZqrPEiUEHx6nFU=
</data>
<key>Headers/ZDKRMADataObject.h</key>
<data>
Expand Down Expand Up @@ -350,7 +350,7 @@
</data>
<key>Headers/ZDKRequest.h</key>
<data>
6WyDTDNYg4vTrJw8XHGHjzSt2x4=
IpWS+ijd8zyMVsSt0ad3cS9T2MU=
</data>
<key>Headers/ZDKRequestCommentAttachmentLoadingTableCell.h</key>
<data>
Expand Down Expand Up @@ -382,7 +382,7 @@
</data>
<key>Headers/ZDKRequestStorage.h</key>
<data>
Qbxde2INmyR7s9oTFnmhOCzXdJQ=
rR3dttDJ+vYCMvNH261/yo6NA9M=
</data>
<key>Headers/ZDKRequestWithAttachmentsUtil.h</key>
<data>
Expand Down Expand Up @@ -438,7 +438,7 @@
</data>
<key>Headers/ZDKSupportViewController.h</key>
<data>
l95XGgpyMz+E4fa8G8eHsIxWVWg=
xuAisDs5ItEXkiR5Y34rHOjxZBw=
</data>
<key>Headers/ZDKToast.h</key>
<data>
Expand Down Expand Up @@ -510,7 +510,7 @@
</data>
<key>Info.plist</key>
<data>
qUKpwHgPCdfVkpd7DsjnAg7NYUk=
YEbi1jlO/yAg6xsmP7PHMH36gC0=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down Expand Up @@ -601,7 +601,7 @@
</data>
<key>Headers/ZDKComment.h</key>
<data>
ehcCufnjitkIw3p61jgSrchZySs=
VLKgNPxgiI5uQbGglOpsuoF9LiE=
</data>
<key>Headers/ZDKCommentInputView.h</key>
<data>
Expand Down Expand Up @@ -841,7 +841,7 @@
</data>
<key>Headers/ZDKRMAConfigObject.h</key>
<data>
ZvdT84pC5h6zCd+U0fXr+JhX9a0=
ePwNrtxHcYorRZqrPEiUEHx6nFU=
</data>
<key>Headers/ZDKRMADataObject.h</key>
<data>
Expand Down Expand Up @@ -869,7 +869,7 @@
</data>
<key>Headers/ZDKRequest.h</key>
<data>
6WyDTDNYg4vTrJw8XHGHjzSt2x4=
IpWS+ijd8zyMVsSt0ad3cS9T2MU=
</data>
<key>Headers/ZDKRequestCommentAttachmentLoadingTableCell.h</key>
<data>
Expand Down Expand Up @@ -901,7 +901,7 @@
</data>
<key>Headers/ZDKRequestStorage.h</key>
<data>
Qbxde2INmyR7s9oTFnmhOCzXdJQ=
rR3dttDJ+vYCMvNH261/yo6NA9M=
</data>
<key>Headers/ZDKRequestWithAttachmentsUtil.h</key>
<data>
Expand Down Expand Up @@ -957,7 +957,7 @@
</data>
<key>Headers/ZDKSupportViewController.h</key>
<data>
l95XGgpyMz+E4fa8G8eHsIxWVWg=
xuAisDs5ItEXkiR5Y34rHOjxZBw=
</data>
<key>Headers/ZDKToast.h</key>
<data>
Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions SampleApp/SampleApp/SampleApp-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.zendesk.${PRODUCT_NAME:rfc1034identifier}</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.4.0.1</string>
<string>1.4.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion SampleApp/SampleApp/ZDSampleAppScanViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
[self dismissViewControllerAnimated:YES completion:nil];
}

- (NSUInteger)supportedInterfaceOrientations;
- (UIInterfaceOrientationMask)supportedInterfaceOrientations;
{
return UIInterfaceOrientationMaskPortrait;
}
Expand Down
6 changes: 3 additions & 3 deletions SampleApp/SampleApp/ZDSampleViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,9 @@ - (void) registerForPush
{

NSString *identifier = [self getDeviceId];
[[ZDKConfig instance] enablePush:identifier callback:^(ZDKPushRegistrationResponse *registrationResponse, NSError *error) {

[[ZDKConfig instance] enablePushWithDeviceID:identifier callback:^(ZDKPushRegistrationResponse *registrationResponse, NSError *error) {

NSString *title;

if (error) {
Expand Down
Binary file modified ZendeskSDK.bundle/Info.plist
Binary file not shown.
Binary file modified ZendeskSDK.bundle/ModelIdentifier.plist
Binary file not shown.
6 changes: 6 additions & 0 deletions ZendeskSDK.framework/Headers/ZDKComment.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@
*/
@property (nonatomic, strong) NSArray *attachments;

/**
* The request the comment belongs to.
*
* @since 1.4.1.1
*/
@property (nonatomic, strong) NSString *requestId;

/**
* Initialise the model object with the account details ands the dispatcher to be used for requests.
Expand Down
2 changes: 1 addition & 1 deletion ZendeskSDK.framework/Headers/ZDKRMAConfigObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ typedef void (^SendFeedbackError) (void);
* minimumDays, and returns NO otherwise.
*
*/
@property (nonatomic, copy, readonly) ShouldShow shouldShowBlock;
@property (nonatomic, copy) ShouldShow shouldShowBlock;

/**
* A block that is invoked when the "Send feedback" button is pressed.
Expand Down
9 changes: 8 additions & 1 deletion ZendeskSDK.framework/Headers/ZDKRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,14 @@
/**
* The last time this request was view by this client.
*/
@property (nonatomic, strong) NSDate *lastViewed;
@property (nonatomic, strong) NSDate *lastViewed __deprecated_msg("Deprecated as of 1.4.1.1");

/**
* The number of comments on this ticket.
*
* @since 1.4.1.1
*/
@property (nonatomic, strong) NSNumber *commentCount;


/**
Expand Down
25 changes: 23 additions & 2 deletions ZendeskSDK.framework/Headers/ZDKRequestStorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,36 @@
*
* @return NSDate of the last time it was read, nil if no date found
*/
- (NSDate *) lastReadDateUsingRequestId:(NSString *)requestId;
- (NSDate *) lastReadDateUsingRequestId:(NSString *)requestId __deprecated_msg("As of version 1.4.1.1");

/**
* Stores a time when this request was last read
*
* @param requestId The id of the request
* @param date The timestamp that the request was last read
*/
- (void) setLastReadDateUsingRequestId:(NSString *)requestId andDate:(NSDate *)date;
- (void) setLastReadDateUsingRequestId:(NSString *)requestId andDate:(NSDate *)date __deprecated_msg("As of version 1.4.1.1");

/**
* Gets the last known comment count for a request.
*
* @param requestId The id of the request.
*
* @return The comment count for the request, nil if not known.
*
* @since 1.4.1.1
*/
- (NSNumber *) clientCommentCountForRequest:(NSString *)requestId;

/**
* Set the comment count for a request.
*
* @param requestId The id of the request.
* @param count The count to store.
*
* @since 1.4.1.1
*/
- (void) setClientCommentCountForRequest:(NSString *)requestId count:(NSNumber *)count;

/**
* Deletes ALL storage
Expand Down
7 changes: 7 additions & 0 deletions ZendeskSDK.framework/Headers/ZDKSupportViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,11 @@
- (instancetype) initWithSection:(ZDKHelpCenterSection *)section;


/**
* Dismiss modally presented controller.
*
* @since 1.4.1.1
*/
- (void) dismiss;

@end
Binary file modified ZendeskSDK.framework/Info.plist
Binary file not shown.
Binary file modified ZendeskSDK.framework/ZendeskSDK
Binary file not shown.
Binary file modified ZendeskSDK.framework/_CodeSignature/CodeDirectory
Binary file not shown.
Binary file modified ZendeskSDK.framework/_CodeSignature/CodeRequirements
Binary file not shown.
Loading

0 comments on commit 6ef449c

Please sign in to comment.