A cross platform Audiobookshelf client for Android and iOS
Dart
Fix the iPhone build failing on the Siri handler
Barnabas60071076fc49
diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swiftindex e296ffe3..c7c3be4b 100644--- a/ios/Runner/AppDelegate.swift+++ b/ios/Runner/AppDelegate.swift@@ -139,14 +139,12 @@ let flutterEngine = FlutterEngine(name: "SharedEngine", project: nil, allowHeadl/// Siri's "Play <book> on Absorb" runs here in the app process (in-app/// intent handling), so playback starts without an Intents extension.- /// FlutterAppDelegate doesn't implement this, so it is not an override; the- /// selector is spelled out so UIKit finds it.- @objc(application:handlerForIntent:)- func application(_ application: UIApplication, handlerFor intent: INIntent) -> Any? {+ /// Anything else goes on to Flutter's own handling for plugins.+ override func application(_ application: UIApplication, handlerFor intent: INIntent) -> Any? {if intent is INPlayMediaIntent {return SiriMediaHandler.shared}- return nil+ return super.application(application, handlerFor: intent)}private func registerAudioSessionObservers() {