I am new to flutter firebase web app development.
I tried to run the the project using flutter run -d chrome --release
The end result is as shown in the screen shot below
How may I configure it correctly to display the elements of the UI.
Please guide. Thanks in advance.
May be something is throwing null, that's why grey screen is coming . Check if any value is assigned null.
Related
My Flutter app that has a login page is fully functional on Android, iPhone and Web.
The problem is with the WebApp - immediately after I deploy it into the Firebase, it works well, as expected. However, if I leave it and come back to it in several hours, and try to open another window - neither text fields nor mouse user entry are accepted any longer. If I then rebuild the app and redeploy it, it starts working, for a while.
I use flutter version 2.10.5 and Dart version 2.16.2.
Flutter doctor -v produced no errors or warnings.
Has anyone experienced this sort of behaviour?
I'm learning flutter and trying to create a chat app with Flutter and Firebase.
When I'm testing it, I got a message from another app. When I replied to it, my terminal also catch the message with content, timestamp, and created_by information.
Is this a bug? Should I contact the application dev team? Am I in trouble for hacking??
I am confused right now, please help!!
That's happening because the other app might be using print statements, and as you are currently debugging apps and is in development mode, it prints the content in your console.
That's why it is always recommended to use log instead of print during development.
I have a multi-page web application written in Flutter which uploaded on Firebase hosting . All the pages work fine but half of the homepage is grey. Photo attached. Really appreciate for help.
Also, I'm getting this error when I run: flutter run -d chrome --release
Oops; flutter has exited unexpectedly: "ProcessException: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event
log or use the command-line sxstrace.exe tool for more detail.
Command: C:\Users\abc\AppData\Local\Google\Chrome\Application\chrome.exe --user-data-dir=C:\Users\abc\AppData\Local\Temp\flutter_tools.2b59d482\flutter_tools_chrome_device.4fad7966 --remote-debugging-port=2576 --disable-background-timer-throttling --disable-extensions --disable-popup-blocking --bwsi --no-first-run --no-default-browser-check
--disable-default-apps --disable-translate http://localhost:11541".
I have also faced same issue while host web app in firebase.
the issue is not in firebase host. the issue is in your code. your code will completely work in debug mode. but not in released mode.
check every warning in logs.
it is mostly happen because of wrong use of expanded or flexible widget
I'm trying to add the Crashlytics SDK to my Android app, but it seems to be having trouble communicating with the Firebase servers. I've followed all of the instructions per the docs, but the Crashlytics tab in my console has been stuck on this screen for about 6 or so hours:
crashlytics add sdk screen.
I would (ideally) get this to just work™️, but if not then I'd like to be able to restart the process, but I also don't know how to do that.
Thanks in advance!!
I figured it out - I was mistakenly using the same appplicationID as another one of my projects, so Firebase was getting confused - making an entirely new project with a different applicationID fixed my problem.
if you followed all the steps as latest documentation..crash the app( use fatalError() for crash) using button action, this trick works for me.
https://firebase.google.com/docs/crashlytics/get-started?platform=ios&authuser=0#force-test-crash
For me Create a crash on button in project Relaunch application by simulator not by Xcode and It worked for me.
I am using ionic DevApp (ionic v4) for the first time, i’m trying to display a json object using the function console.log(). when i run the application in ionic DevApp i see the object only displays in the commande line console (cli) not in the remote devices from google.
Please, is there anyone of you who knows how to solve this issue.
Thank you in advance.
As far as I know, this is not possible. If you want to see the console output, add the parameter -c to the ionic serve:
ionic s -c --devapp
this will output the console in the terminal, but you will not have it as pretty as in Chrome.
Anyway, in my experience, DevApp is not a good solution whatsoever. On one hand, you have the console issue, on the other, plugins will not work. There is no significant pro compared to see your app in the browser directly.
I think you would rather use the --livereload modifier when running the app. This will make the app to quick recompile and reload every time you save some change (just like in ionic serve). You will get the Chrome inspector, your plugins will work normally and your app will quickly recompile and reload on any change save. Just run this:
ionic cordova run android --device --livereload