SBRXCallbackURLKit
SBRXCallbackURLKit copied to clipboard
-(void)callSourceCallbackURLString:parameters: is not complete
- (void)callSourceCallbackURLString:(NSString *)URLString parameters:(NSDictionary *)parameters
defined in SBRCallbackParser.m
doesn't really the call the URL given. It had to be refactored like below for me to work.
- (void)callSourceCallbackURLString:(NSString *)URLString parameters:(NSDictionary *)parameters {
NSURL *url = [self callbackURLFromOriginalURLString:URLString parameters:parameters];
if ([self.delegate respondsToSelector:@selector(xCallbackURLParser:shouldOpenSourceCallbackURL:)]) {
[self.delegate xCallbackURLParser:self shouldOpenSourceCallbackURL:url];
}
[[SBRCallbackAction actionWithURL:url parameters:parameters] trigger];
}
Thanks for logging this. I ran into the same issue and I wasn't sure if I was doing something wrong.