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
Hey, I have tried to run this app but I was getting some path issues, so I created a sample app and sample module and copy code from here to dedicated files. But when I run the app it just shows blank screen.
How I copied the code:
Copy main.dart file to my flutter module
copy appdeligate.swift file code
copy viewcontroller code
add entitlement file as well
Still it just shows blank white screen, is there anything I am missing ?
Softwares Versions :
Xcode 13.4.1
Iphone 11 simulator
The text was updated successfully, but these errors were encountered:
I've encountered this issue as well, i fixed this by adding the SceneDelegate.swift, have you add the swift file directly to vscode? if so, we should add the swift files directly to xcode.
SceneDelegate.swift
@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()
}
}
Hey, I have tried to run this app but I was getting some path issues, so I created a sample app and sample module and copy code from here to dedicated files. But when I run the app it just shows blank screen.
How I copied the code:
Still it just shows blank white screen, is there anything I am missing ?
Softwares Versions :
The text was updated successfully, but these errors were encountered: