Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black screen after install #93

Open
UmairSaqibBhutta opened this issue Dec 3, 2022 · 8 comments
Open

Black screen after install #93

UmairSaqibBhutta opened this issue Dec 3, 2022 · 8 comments
Labels
bug Something isn't working

Comments

@UmairSaqibBhutta
Copy link

App stucks on installing with black screen on device. I have also included google services file.

@UmairSaqibBhutta UmairSaqibBhutta added the bug Something isn't working label Dec 3, 2022
@gwbischof
Copy link

Could you add some more information so that someone could recreate this problem?

@leonalonso
Copy link

leonalonso commented Dec 11, 2022

Same problem, downloaded the latest version, replaced googleinfo, started everything and the black screen appears. The app starts but gets stuck on the black screen. Ios 16, tested both from a simulator and from a real iphone.

Running Xcode build...
└─Compiling, linking and signing... 11,0s
Xcode build done. 38,3s
(lldb) 2022-12-11 08:27:18.251000+0100 Runner[3196:565612] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
[SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
[SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
10.3.0 - [FirebaseCore][I-COR000005] No app has been configured yet.
Installing and launching... 33,8s
Syncing files to device iLeo... 405ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

💪 Running with sound null safety 💪

@leonalonso
Copy link

Hey, I see you closed the topic. How did you solve the problem?

@mertbozkir
Copy link

I got the same error;
image

Did you find solution yet? @leonalonso, @UmairSaqibBhutta

@UmairSaqibBhutta
Copy link
Author

No any solution yet

@NichtZuHelfen
Copy link

I also had this problem on an Android Tablet emulator. I solved the problem by putting await Firebase.initializeApp( options: DefaultFirebaseOptions.currentPlatform, ); from the initializeFlutterFire(); method (in initState() from rooms.dart) into the main() method like this:

Future<void> main() async { WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp( options: DefaultFirebaseOptions.currentPlatform, ); runApp(const MyApp()); }

I think the problem was that although initializeFlutterFire(); is an async method it wasn't called asynchronous with await.

@WaseekSenju
Copy link
Contributor

it worked for me thank you

@andw99
Copy link

andw99 commented Aug 21, 2024

with the latest version of Android SDK - this no longer works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants