File tree Expand file tree Collapse file tree 4 files changed +0
-11
lines changed Expand file tree Collapse file tree 4 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ android {
43
43
targetSdkVersion 29
44
44
versionCode flutterVersionCode. toInteger()
45
45
versionName flutterVersionName
46
- manifestPlaceholders = [mapsApiKey : " $System . env . MAPS_FIELD_API_KEY " ]
47
46
}
48
47
49
48
buildTypes {
Original file line number Diff line number Diff line change 43
43
<meta-data
44
44
android : name =" flutterEmbedding"
45
45
android : value =" 2" />
46
- <meta-data
47
- android : name =" com.google.android.geo.API_KEY"
48
- android : value =" ${mapsApiKey}" />
49
46
</application >
50
47
</manifest >
Original file line number Diff line number Diff line change 1
1
import UIKit
2
2
import Flutter
3
- import GoogleMaps
4
3
5
4
@UIApplicationMain
6
5
@objc class AppDelegate : FlutterAppDelegate {
7
6
override func application(
8
7
_ application: UIApplication ,
9
8
didFinishLaunchingWithOptions launchOptions: [ UIApplication . LaunchOptionsKey : Any ] ?
10
9
) -> Bool {
11
- GMSServices . provideAPIKey ( Bundle . main. object ( forInfoDictionaryKey: " MAPS_FIELD_API_KEY " ) as? String ?? " " )
12
10
GeneratedPluginRegistrant . register ( with: self )
13
11
return super. application ( application, didFinishLaunchingWithOptions: launchOptions)
14
12
}
Original file line number Diff line number Diff line change 41
41
</array >
42
42
<key >UIViewControllerBasedStatusBarAppearance </key >
43
43
<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
-
49
44
</dict >
50
45
</plist >
You can’t perform that action at this time.
0 commit comments