flutter_thingsboard_pe_app icon indicating copy to clipboard operation
flutter_thingsboard_pe_app copied to clipboard

Null check operator used on a null value

Open diegus22 opened this issue 2 years ago • 2 comments

Hello,

The first time I run the application in the Ios simulator, it gets stuck in the initial screen, in order to continue I have to stop the simulation and restart the application, in this case, I access the login screen and I can enter the credentials, but it gets stuck again, it is in the third run when I can actually enter the dashboard. 152518118-7bf07d7a-cbf3-40da-96bd-e5e6e36793fd

diegus22 avatar Feb 04 '22 22:02 diegus22

Hi, we ran into the same issue. Analysis has shown that the white-labeling code is responsible for the error, particularly the section where FavIcon are handled. As a quick-fix, we commented out lines 261 and 262 in wl_service.dart. Compiles and runs seamlessly now.

image

duerreda avatar Mar 22 '22 13:03 duerreda

Thanks. One hand I've commented those lines and now my emulator doesn't stop, work well. But the other hand I create app.apk and appear that I can't install. I don't know why

https://youtu.be/wpjbf4sXzfw image

alkortius avatar Apr 07 '22 11:04 alkortius

Hello @diegus22,

I will close this issue since a significant amount of time has passed since your initial query. However, if the issue is still relevant, please feel free to reopen it and provide additional information, such as the mobile app console output.

Thanks!

ybeshkarov avatar May 29 '24 12:05 ybeshkarov