Skip to content

Commit fb0a593

Browse files
authored
Merge pull request #577 from awhitford/NoMoreGoogleMaps
Google Maps is limited to special widgets and not part of the core.
2 parents a94a3cc + 290a67e commit fb0a593

File tree

4 files changed

+0
-11
lines changed

4 files changed

+0
-11
lines changed

example/android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ android {
4343
targetSdkVersion 29
4444
versionCode flutterVersionCode.toInteger()
4545
versionName flutterVersionName
46-
manifestPlaceholders = [mapsApiKey: "$System.env.MAPS_FIELD_API_KEY"]
4746
}
4847

4948
buildTypes {

example/android/app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,5 @@
4343
<meta-data
4444
android:name="flutterEmbedding"
4545
android:value="2" />
46-
<meta-data
47-
android:name="com.google.android.geo.API_KEY"
48-
android:value="${mapsApiKey}" />
4946
</application>
5047
</manifest>

example/ios/Runner/AppDelegate.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
import UIKit
22
import Flutter
3-
import GoogleMaps
43

54
@UIApplicationMain
65
@objc class AppDelegate: FlutterAppDelegate {
76
override func application(
87
_ application: UIApplication,
98
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
109
) -> Bool {
11-
GMSServices.provideAPIKey(Bundle.main.object(forInfoDictionaryKey: "MAPS_FIELD_API_KEY") as? String ?? "")
1210
GeneratedPluginRegistrant.register(with: self)
1311
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
1412
}

example/ios/Runner/Info.plist

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,5 @@
4141
</array>
4242
<key>UIViewControllerBasedStatusBarAppearance</key>
4343
<false/>
44-
<key>MAPS_FIELD_API_KEY</key>
45-
<string>$(MAPS_FIELD_API_KEY)</string>
46-
<key>io.flutter.embedded_views_preview</key>
47-
<string>YES</string>
48-
4944
</dict>
5045
</plist>

0 commit comments

Comments
 (0)