Wayaer/fl_pip

Cannot build ios app

andynvt opened this issue · 4 comments

I cannot build ios app

fl_pip: ^2.0.0
Flutter 3.13.9

Example code:

import fl_pip
import Flutter
import UIKit

@main
@objc class AppDelegate: FlFlutterAppDelegate {
    override func application(
        _ application: UIApplication,
        didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
    ) -> Bool {
        GeneratedPluginRegistrant.register(with: self)
        return super.application(application, didFinishLaunchingWithOptions: launchOptions)
    }

    override func registerPlugin(_ registry: FlutterPluginRegistry) {
        GeneratedPluginRegistrant.register(with: registry)
    }
}

ScreenShot 2024-10-02 at 22 17 40

Update version to 3.24+

Update version to 3.24+

thank. upgraded works. But I face the issue: when I swipe up to set the app in background mode. The media_kit video player stop playing

Update version to 3.24+

thank. upgraded works. But I face the issue: when I swipe up to set the app in background mode. The media_kit video player stop playing

iOS stops app using GPU in background

Did you find any solution for this problem @orz12 ? I have same problem. When i launch the device native camera app the pip window turns the black screen.