Skip to content

Commit fbc7ef2

Browse files
committed
Revert "Migrate UIScene Lifecycle"
This reverts commit 175013d.
1 parent 3581bc5 commit fbc7ef2

File tree

2 files changed

+9
-33
lines changed

2 files changed

+9
-33
lines changed

ios/Runner/AppDelegate.swift

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,13 @@ import Flutter
33
import GoogleMaps
44

55
@main
6-
@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
7-
override func application(
8-
_ application: UIApplication,
9-
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
10-
) -> Bool {
11-
GMSServices.provideAPIKey("AIzaSyAxUbnUMsXWVzeptXiLuNDMGpGEVFHLT4Y")
12-
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
13-
}
14-
15-
func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
16-
GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
17-
}
6+
@objc class AppDelegate: FlutterAppDelegate {
7+
override func application(
8+
_ application: UIApplication,
9+
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
10+
) -> Bool {
11+
GMSServices.provideAPIKey("AIzaSyAxUbnUMsXWVzeptXiLuNDMGpGEVFHLT4Y")
12+
GeneratedPluginRegistrant.register(with: self)
13+
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
14+
}
1815
}

ios/Runner/Info.plist

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -31,27 +31,6 @@
3131
<string>$(FLUTTER_BUILD_NUMBER)</string>
3232
<key>ITSAppUsesNonExemptEncryption</key>
3333
<false/>
34-
<key>UIApplicationSceneManifest</key>
35-
<dict>
36-
<key>UIApplicationSupportsMultipleScenes</key>
37-
<false/>
38-
<key>UISceneConfigurations</key>
39-
<dict>
40-
<key>UIWindowSceneSessionRoleApplication</key>
41-
<array>
42-
<dict>
43-
<key>UISceneClassName</key>
44-
<string>UIWindowScene</string>
45-
<key>UISceneDelegateClassName</key>
46-
<string>FlutterSceneDelegate</string>
47-
<key>UISceneConfigurationName</key>
48-
<string>flutter</string>
49-
<key>UISceneStoryboardFile</key>
50-
<string>Main</string>
51-
</dict>
52-
</array>
53-
</dict>
54-
</dict>
5534
<key>LSApplicationQueriesSchemes</key>
5635
<array>
5736
<string>comgooglemaps</string>

0 commit comments

Comments
 (0)