Fix: UiWebView references present in v2.7.0
MODIFY
src/ios/GoogleMaps/PluginMarker.m
src/ios/GoogleMaps/PluginMarker.m
CDVViewController *cdvViewController = (CDVViewController*)self.viewController;
id webview = cdvViewController.webView;
- NSString *clsName = [webview className];
- NSURL *url;
- if ([clsName isEqualToString:@"UIWebView"]) {
- url = ((UIWebView *)cdvViewController.webView).request.URL;
- } else {
- url = [webview URL];
- }
+ NSURL *url = [webview URL];
NSString *currentURL = url.absoluteString;
currentURL = [currentURL stringByDeletingLastPathComponent];
currentURL = [currentURL stringByReplacingOccurrencesOfString:@"file:" withString:@""];

Fix: UiWebView references present in v2.7.0 #2762