You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Take out debug xcframeworks and add in a sample project.
在下面填入关键复现代码
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
let delegate = BoostDelegate()
FlutterBoost.instance().setup(application, delegate: delegate, callback: { engine in
debugPrint(engine)
})
// FlutterBoost.instance().sendEventToFlutter(with: "appArgs", arguments: ["language": "en", "environment": "com"])
// FlutterBoost.instance().sendEventToFlutter(with: "loginUser", arguments: [:])
return true
}
// MARK: UISceneSession Lifecycle
func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
// Called when a new scene session is being created.
// Use this method to select a configuration to create the new scene with.
return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
}
func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>) {
// Called when the user discards a scene session.
// If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
// Use this method to release any resources that were specific to the discarded scenes, as they will not return.
}
}
复现的平台
iOS
Flutter SDK版本
3.16.9
FlutterBoost版本
5.0.1
是否延迟初始化FlutterBoost
No
解决方案
The text was updated successfully, but these errors were encountered:
When we create a dummy Flutter Engine, we are able to silence these exceptions but our native pigeon communications don't work with FlutterBoost engine's binary messenger.
var flutterEngine = FlutterEngine(name: "FlutterBoostPlugin") flutterEngine.run() GeneratedPluginRegistrant.register(with: flutterEngine)
请描述遇到的问题,以及您所期望的正确的结果
请说明如何操作会遇到上述问题
在下面填入关键复现代码
复现的平台
iOS
Flutter SDK版本
3.16.9
FlutterBoost版本
5.0.1
是否延迟初始化FlutterBoost
No
解决方案
The text was updated successfully, but these errors were encountered: