diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml
deleted file mode 100644
index 3bcf033..0000000
--- a/.github/workflows/unit.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-name: Unit Tests
-on:
- push:
- branches:
- - master
- pull_request:
- workflow_dispatch:
-jobs:
- run:
- runs-on: macos-latest
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-java@v1
- with:
- java-version: '12.x'
- - uses: subosito/flutter-action@v1
- - run: flutter pub get
- - run: flutter test
diff --git a/ios/Podfile b/ios/Podfile
index 16df2b6..39e868a 100644
--- a/ios/Podfile
+++ b/ios/Podfile
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
-platform :ios, '12.0'
+platform :ios, '14.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swift
index 70693e4..a851726 100644
--- a/ios/Runner/AppDelegate.swift
+++ b/ios/Runner/AppDelegate.swift
@@ -7,7 +7,6 @@ import Flutter
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
- GeneratedPluginRegistrant.register(with: self)
- return super.application(application, didFinishLaunchingWithOptions: launchOptions)
- }
+ return true
+}
}
diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist
index 287124f..91f2847 100644
--- a/ios/Runner/Info.plist
+++ b/ios/Runner/Info.plist
@@ -57,3 +57,31 @@
Require acces to camera to support login via QR code
+UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ CPTemplateApplicationSceneSessionRoleApplication
+
+
+ UISceneConfigurationName
+ CarPlay Configuration
+ UISceneDelegateClassName
+ flutter_carplay.FlutterCarPlaySceneDelegate
+
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneConfigurationName
+ Default Configuration
+ UISceneDelegateClassName
+ $(PRODUCT_MODULE_NAME).SceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
\ No newline at end of file
diff --git a/ios/Runner/SceneDelegate.swift b/ios/Runner/SceneDelegate.swift
new file mode 100644
index 0000000..212cdc2
--- /dev/null
+++ b/ios/Runner/SceneDelegate.swift
@@ -0,0 +1,17 @@
+@available(iOS 13.0, *)
+class SceneDelegate: UIResponder, UIWindowSceneDelegate {
+ var window: UIWindow?
+
+ func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
+ guard let windowScene = scene as? UIWindowScene else { return }
+
+ window = UIWindow(windowScene: windowScene)
+
+ let flutterEngine = FlutterEngine(name: "SceneDelegateEngine")
+ flutterEngine.run()
+ GeneratedPluginRegistrant.register(with: flutterEngine)
+ let controller = FlutterViewController.init(engine: flutterEngine, nibName: nil, bundle: nil)
+ window?.rootViewController = controller
+ window?.makeKeyAndVisible()
+ }
+}
\ No newline at end of file