Fork of the official plugin
It uses a beta version of GoogleMaps
pod (you will find the exact version number in the Cartfile
inside ios
directory).
This allows you to run your Flutter app that depends on google_maps_flutter using arm64 architecture on ios simulator.
google_maps_flutter
version 2.1.12
- Inside
ios/Runner/AppDelegate.swift
enable Metal renderer for GoogleMaps if one is available:
let device = MTLCreateSystemDefaultDevice();
if (device != nil) {
GMSServices.setMetalRendererEnabled(true);
}
- Override
google_maps_flutter_ios
dependency_overrides:
google_maps_flutter_ios:
git:
url: https://github.com/XperiTech/google_maps_flutter_ios
ref: <insert hash of last commit>