Skip to content

Commit

Permalink
fix: ensure webview becomes tranparent (#239)
Browse files Browse the repository at this point in the history
Backport #238 to v5
  • Loading branch information
tafelnl authored Sep 30, 2024
1 parent 45aa83c commit ca45a01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ios/Plugin/Plugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
}

Expand Down

0 comments on commit ca45a01

Please # to comment.