Skip to content

Commit

Permalink
Don't test deep link iOs 9
Browse files Browse the repository at this point in the history
  • Loading branch information
nonelse committed Aug 11, 2015
1 parent 16c2ba0 commit a91082d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Adjust/ADJActivityHandler.m
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a91082d

Please sign in to comment.