-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Description
Hi
With referenced to #10099, I am still having this issue on 0.11.9, I changed the code from:
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[GeneratedPluginRegistrant registerWithRegistry:self];
// Override point for customization after application launch.
return [super application:application didFinishLaunchingWithOptions:launchOptions];
}
to
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[GeneratedPluginRegistrant registerWithRegistry:self];
// Override point for customization after application launch.
FlutterViewController *controller = (FlutterViewController*)self.window.rootViewController;
controller.view.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];
return YES;
}
and it started working, here is sample video to demonstrate the problem:
this application was created using flutter create with all defaults. Can you please let me know if I need to apply the fix or is it something I am doing wrong?
NOTE: Android works fine (no black screen etc.)
flutter doctor -v
✓] Flutter (Channel beta, v0.11.9, on Mac OS X 10.14.1 18B75, locale en-CA)
• Flutter version 0.11.9 at /Users/xxx/flutter
• Framework revision d48e6e433c (3 days ago), 2018-11-20 22:05:23 -0500
• Engine revision 5c8147450d
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /Users/xxx/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling
support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.4
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build
1.8.0_152-release-1136-b06)
[✓] VS Code (version 1.29.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.20.0
[✓] Connected device (2 available)
Thanks,
Binoy
Sh1d0w, BytesZero, eGust, zfha, brent-williams and 2 more
Metadata
Metadata
Assignees
Labels
No labels
