(iOS) No longer needed the hack code for cordova-plugin-statusbar
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.1.2-beta-20171114-1040" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
+<plugin id="cordova-plugin-googlemaps" version="2.1.2-beta-20171114-1126" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-plugin-googlemaps</name>
<js-module name="BaseClass" src="www/BaseClass.js">
<runs />

MODIFY
src/ios/GoogleMaps/MyPluginLayer.m
src/ios/GoogleMaps/MyPluginLayer.m
#import "MyPluginLayer.h"
-BOOL hasCordovaStatusBar = NO; // YES if the app has cordova-plugin-statusbar
-
@implementation MyPluginLayer
- (id)initWithWebView:(UIView *)webView {
@@ -51,8 +49,6 @@ BOOL hasCordovaStatusBar = NO; // YES if the app has cordova-plugin-statusbar
userInfo:nil
repeats:YES];
- hasCordovaStatusBar = NSClassFromString(@"CDVStatusBar") != nil;
-
return self;
}
@@ -339,12 +335,6 @@ BOOL hasCordovaStatusBar = NO; // YES if the app has cordova-plugin-statusbar
NSDictionary *domInfo, *mapDivInfo;
double domDepth, mapDivDepth;
- if (hasCordovaStatusBar) {
- UIApplication* app = [UIApplication sharedApplication];
- if (app.isStatusBarHidden) {
- point.y -= 20 * zoomScale;
- }
- }
CGPoint clickPointAsHtml = CGPointMake(point.x * zoomScale, point.y * zoomScale);
@synchronized(self.pluginScrollView.debugView.HTMLNodes) {

(iOS) No longer needed the hack code for cordova-plugin-statusbar #1874