Skip to content

Commit fb6f5c6

Browse files
author
Olga Danylova
authored
Merge pull request #147 from olgadanylova/master
Bug fixed
2 parents b44d3d0 + ffabb77 commit fb6f5c6

File tree

13 files changed

+10
-23
lines changed

13 files changed

+10
-23
lines changed

SDK/backendlessAPI/Classes/Backendless.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
* ********************************************************************************************************************
2020
*/
2121

22-
// applications & services deployment
23-
#define OLD_ASYNC_WITH_FAULT 0
24-
#define OLD_MEDIA_APP 0
25-
2622
// implementation options
2723
#define _USE_SAFARI_VC_ 1
2824

SDK/backendlessAPI/Classes/Messaging/MessagingService.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
-(DeviceRegistration *)currentDevice;
8484
-(NSString *)deviceTokenAsString:(NSData *)token;
8585
#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
86-
-(void)attachmentProcessing:(UNNotificationRequest *)request withContentHandler:(void (^)(UNNotificationContent *))contentHandler;
86+
-(void)attachmentProcessing:(UNNotificationRequest *_Nonnull)request withContentHandler:(void (^_Nonnull)(UNNotificationContent *_Nonnull))contentHandler;
8787
#endif
88+
8889
@end

SDK/backendlessAPI/Classes/Messaging/MessagingService.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ -(NSString *)deviceTokenAsString:(NSData *)token {
158158
}
159159

160160
#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
161-
-(void)attachmentProcessing:(UNNotificationRequest *)request withContentHandler:(void (^)(UNNotificationContent *))contentHandler {
161+
-(void)attachmentProcessing:(UNNotificationRequest *_Nonnull)request withContentHandler:(void (^_Nonnull)(UNNotificationContent *_Nonnull))contentHandler {
162162
UNMutableNotificationContent *bestAttemptContent = [request.content mutableCopy];
163163
NSString *urlString = [request.content.userInfo valueForKey:@"attachment-url"];
164164
NSURL *fileUrl = [NSURL URLWithString:urlString];
@@ -179,7 +179,6 @@ -(void)attachmentProcessing:(UNNotificationRequest *)request withContentHandler:
179179
}
180180
#endif
181181

182-
183182
// sync methods with fault return (as exception)
184183

185184
-(NSString *)registerDevice:(NSData *)deviceToken {

SDK/backendlessAPI/backendlessAPI.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3201,10 +3201,10 @@
32013201
F91B47E115FF448F00012DFC /* Classes */ = {
32023202
isa = PBXGroup;
32033203
children = (
3204-
0F9AC6E81E798C5B0087869F /* weborb */,
32053204
D30A5D7319B9CA8200C0BA44 /* Backendless-Bridging-Header.h */,
32063205
F91B47FE15FF569400012DFC /* Backendless.h */,
32073206
F91B47FF15FF569400012DFC /* Backendless.m */,
3207+
0F9AC6E81E798C5B0087869F /* weborb */,
32083208
91F1398917D7240A00D1AC4C /* Cache */,
32093209
F91B47EC15FF48AF00012DFC /* IO */,
32103210
F9BE41C11B2ED8FC00CD0A72 /* Exceptions */,

SDK/ios/backendless/backendless.a

0 Bytes
Binary file not shown.

SDK/ios/backendless/include/Backendless.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
* ********************************************************************************************************************
2020
*/
2121

22-
// applications & services deployment
23-
#define OLD_ASYNC_WITH_FAULT 0
24-
#define OLD_MEDIA_APP 0
25-
2622
// implementation options
2723
#define _USE_SAFARI_VC_ 1
2824

SDK/ios/backendless/include/MessagingService.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
-(DeviceRegistration *)currentDevice;
8484
-(NSString *)deviceTokenAsString:(NSData *)token;
8585
#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
86-
-(void)attachmentProcessing:(UNNotificationRequest *)request withContentHandler:(void (^)(UNNotificationContent *))contentHandler;
86+
-(void)attachmentProcessing:(UNNotificationRequest *_Nonnull)request withContentHandler:(void (^_Nonnull)(UNNotificationContent *_Nonnull))contentHandler;
8787
#endif
88+
8889
@end

SDK/lib/backendless/backendless.a

0 Bytes
Binary file not shown.

SDK/lib/backendless/include/Backendless.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
* ********************************************************************************************************************
2020
*/
2121

22-
// applications & services deployment
23-
#define OLD_ASYNC_WITH_FAULT 0
24-
#define OLD_MEDIA_APP 0
25-
2622
// implementation options
2723
#define _USE_SAFARI_VC_ 1
2824

SDK/lib/backendless/include/MessagingService.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
-(DeviceRegistration *)currentDevice;
8484
-(NSString *)deviceTokenAsString:(NSData *)token;
8585
#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
86-
-(void)attachmentProcessing:(UNNotificationRequest *)request withContentHandler:(void (^)(UNNotificationContent *))contentHandler;
86+
-(void)attachmentProcessing:(UNNotificationRequest *_Nonnull)request withContentHandler:(void (^_Nonnull)(UNNotificationContent *_Nonnull))contentHandler;
8787
#endif
88+
8889
@end

0 commit comments

Comments
 (0)