Suljettu

Firebase Startup Time Problems

Hey,

This should describe the current issue that comes with our latest project in Android with Flutter.

The startup time of our app is unbelievably bad. From a tap on the icon at the home screen until the first rendered frame in Flutter, it sometimes takes up to 8 seconds.

As you know, a flutter app needs to initialize itself before rendering the first screen. To not have this typical white/black screen you can stylize the look of that “launch screen” via an XML file.

When building the popular Flutter counter app in profile or release mode, this initialization takes less than a second (means: from the tap on the icon until the Counter App screen (the one with the FAB) takes less than a second).

But in our case, it’s much slower.

I thought this might come from the asset folder (because when Flutter initializes, it extracts the assets and such things). But even when everything is removed, the init time is not much better (we can save about 1 or 2 seconds, having 6 left).

Then, it might come from the main() method, but this method is empty and every dependency/plugin initialization is done inside Flutter, after the main() and runApp(MyApp()).

Some facts (and things I’ve played around with to solve that issue without success):

The asset folder contains gifs, lottie files, one mp3 file and some png images. (~5 MB)

Currently used Flutter version: 1.22.0 stable channel

main() is empty and NOT async, just the required runApp();

[login to view URL]() is almost empty, defining just a few MethodChannels

Switching to beta, dev and master channel (as of 01/20/2021) has no positive effect

It might also come from some plugins that cause the app to drown the loading time.

NOTE: It has NOTHING to do with the Flutter screens where you can define your own splash! It is the startup time UNTIL Flutter renders anything.

Have you ever come across such a problem, or have you ever encountered bad loading/startup/launch times in a Flutter app? And how did you solve that?

Taidot: Flutter, Android, Mobile App Development, Mobiilisovellusten testaus

Näytä lisää: time problems odbc, measure application startup time, measure startup time process windows, measure windows startup time vista, measuring startup time vista, performance optimizing eclipse rcp application startup time, startup time windows services, windows measure service startup time, windows measure startup time, windows startup time, distance rate time problems, asp net mvc improving application startup time, android app startup time, improving application startup time mvc, react native startup time, ark dedicated server startup time, hey ma english version mp3 download, xamarin android startup time, xamarin forms startup time

Tietoa työnantajasta:
( 1 arvostelu ) Hamburg, Germany

Projektin tunnus: #29011515

12 freelanceria on tarjonnut keskimäärin €132 tähän työhön

huzefagadi

I have faces similar issues and I know how to fix that Please message me and we can do it together Regards

€155 EUR 3 päivässä
(133 arvostelua)
7.4
zeeshan5121472

I am a flutter developer, I have developed many apps in flutter and I am Good at Android, iPhone, Mobile App Development, User Interface / IA, Website Design.. ! Please Send me a message so that we can discuss more abo Lisää

€140 EUR 7 päivässä
(44 arvostelua)
5.7
(6 arvostelua)
4.4
brb8

Hello, I am a flutter developer. Please check out my resume to in this link : [login to view URL] I want to have your code base and want to reproduce the Lisää

€50 EUR 2 päivässä
(9 arvostelua)
4.0
emmasmith9800

Hi, I have designed mock-ups for various small businesses and large scale companies like Soplush, D’zire, and more. 360 APP (An eCommerce mobile app) Americren App (The American Consumer Real Estate Network) Ezigo (An Lisää

€140 EUR 5 päivässä
(1 arvostelu)
0.8
traglernd

Hello there, How are you doing? Just saw your project posted. I read the brief details and I felt I could help you with it. Lets start the chat and discuss it in detail. We are more than 8 + year experienced progra Lisää

€250 EUR 7 päivässä
(0 arvostelua)
0.0
demydkasilov

Hi, I hope you're doing well. sir. I am senior Web developer and I am very good at Flutter. So it`s just suitable for me. I have built a lot of mobile apps with Flutter and they all can work on Android and iOS. I have Lisää

€140 EUR 7 päivässä
(0 arvostelua)
0.0
Ahmedalshmre

Hello sir, I am Ahmed a software engineer and I work as a developer of ios android applications. I have read your request well and can provide your request. I have faced such a problem previously and I can find a solut Lisää

€140 EUR 4 päivässä
(0 arvostelua)
0.0
appitronsolution

Hello! We have gone through your project description. We understood your project and issue as you mentioned. We are very confident that we can solve your problem and make more smooth application and We got your prob Lisää

€150 EUR 5 päivässä
(0 arvostelua)
0.0
MhmoudAraby

hello sir how are you doing now days I am a experienced flutter developer ad I have about 15 apps on the store I have read your problem carefully and I think I can work on it for you checking if you are using prolog Lisää

€100 EUR 7 päivässä
(0 arvostelua)
0.0
imgazelle

Hi, I'm a student who is interested in programming for years and I'm working in mobile app development for over 2 years. I have experienced same problems with you, and I believe I can solve it. My bid amount will be r Lisää

€35 EUR 2 päivässä
(0 arvostelua)
0.0
balrajdhami

Hello, my name is Balraj, and I am from INDIA .  I have been working as a freelance full stack engineer for more than 2 years now. I represent an experienced and advanced skill set of iOS and Linux development system Lisää

€140 EUR 7 päivässä
(1 arvostelu)
0.0