working media player on android

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-29 03:43:23 +00:00
co-authored by Copilot
parent 34476a56da
commit 38f4769d2d
7 changed files with 79 additions and 10 deletions
@@ -5,10 +5,14 @@
import FlutterMacOS
import Foundation
import audio_service
import audio_session
import just_audio
import sqflite_darwin
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
AudioServicePlugin.register(with: registry.registrar(forPlugin: "AudioServicePlugin"))
AudioSessionPlugin.register(with: registry.registrar(forPlugin: "AudioSessionPlugin"))
JustAudioPlugin.register(with: registry.registrar(forPlugin: "JustAudioPlugin"))
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
}