Skip to content

Commit

Permalink
Merge pull request #1116 from Software-On-The-Road/master
Browse files Browse the repository at this point in the history
Remove commented UIWebView reference
  • Loading branch information
EddyVerbruggen committed Aug 19, 2020
2 parents 5da61cf + fb33af4 commit ccbd760
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/ios/SocialSharing.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,6 @@ - (void)available:(CDVInvokedUrlCommand*)command {
- (NSString*)getIPadPopupCoordinates {
// see https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/1052
return nil;
/*
if (_popupCoordinates != nil) {
return _popupCoordinates;
}
if ([self.webView respondsToSelector:@selector(stringByEvaluatingJavaScriptFromString:)]) {
return [(UIWebView*)self.webView stringByEvaluatingJavaScriptFromString:@"window.plugins.socialsharing.iPadPopupCoordinates();"];
} else {
// prolly a wkwebview, ignoring for now
return nil;
}
*/
}

- (void)setIPadPopupCoordinates:(CDVInvokedUrlCommand*)command {
Expand Down

0 comments on commit ccbd760

Please sign in to comment.