Home > Mobile >  Should I have the web version of an app in the same Flutter project for android and iOS, even though
Should I have the web version of an app in the same Flutter project for android and iOS, even though

Time:05-13

I have a Flutter app running on both android and iOS (Flutter Firebase) but I'm implementing an admin dashboard that will only work on the web version. I was thinking about developing the dashboard with python react but since it is a pretty simple interface, I've decided to develop it in Flutter web.

My question is: Should I have the admin dashboard be a separate Flutter project or should I keep it all on the same code base?

CodePudding user response:

It always depends, but since the admin interface seems to be completely independent from the rest and does not share code with the mobile application, I would make a second (Flutter) project out of it.

If your admin interface depends heavily on tables, maybe use something different than Flutter. The material tables which come with Flutter are rather limited at the moment.

CodePudding user response:

It all depends on what data the apps needs to access.

If your iOS/Android and admin apps all need to access the same user list, database, or any other data in Firebase, they need to be in the same Firebase project.

If the apps access separate data sets, they should be in separate Firebase projects too.

  • Related