From a91082d82d2fcbf08398162fe5795d55ee094277 Mon Sep 17 00:00:00 2001 From: Pedro Date: Tue, 11 Aug 2015 15:47:54 +0200 Subject: [PATCH] Don't test deep link iOs 9 --- Adjust/ADJActivityHandler.m | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Adjust/ADJActivityHandler.m b/Adjust/ADJActivityHandler.m index 7210a57b2..59c120915 100644 --- a/Adjust/ADJActivityHandler.m +++ b/Adjust/ADJActivityHandler.m @@ -114,15 +114,13 @@ - (void)launchDeepLink:(NSDictionary *)jsonDict{ NSURL* deepLinkUrl = [NSURL URLWithString:deepLink]; - if (![[UIApplication sharedApplication] - canOpenURL:deepLinkUrl]) { - [self.logger error:@"Unable to open deep link (%@)", deepLink]; - return; - } - [self.logger info:@"Open deep link (%@)", deepLink]; - [[UIApplication sharedApplication] openURL:deepLinkUrl]; + BOOL success = [[UIApplication sharedApplication] openURL:deepLinkUrl]; + + if (!success) { + [self.logger error:@"Unable to open deep link (%@)", deepLink]; + } } - (void)setEnabled:(BOOL)enabled {