diff --git a/Sources/Classes/RSUtils.m b/Sources/Classes/RSUtils.m index 998ce0f6..c261a479 100644 --- a/Sources/Classes/RSUtils.m +++ b/Sources/Classes/RSUtils.m @@ -283,7 +283,9 @@ +(NSArray*) extractParamFromURL: (NSURL*) deepLinkURL{ NSURLComponents *components = [NSURLComponents componentsWithURL:deepLinkURL resolvingAgainstBaseURL:NO]; // Get the query items - queryItems = components.queryItems; + if (components.queryItems) { + queryItems = components.queryItems; + } } return queryItems;