diff --git a/ios/Plugin/Plugin.swift b/ios/Plugin/Plugin.swift index 13048304..b19c6611 100644 --- a/ios/Plugin/Plugin.swift +++ b/ios/Plugin/Plugin.swift @@ -73,6 +73,10 @@ public class CapacitorGoogleMaps: CustomMapViewEvents { customMapView.GMapView.delegate = customMapView; self.customWebView?.customMapViews[customMapView.id] = customMapView + + DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) { + self.setupWebView() + } } }