Zipkart Zipkart Docs v1.0.0
Step 4 · Mobile Apps

The Three Phone Apps

Which folder builds which app, the order to set them up in, and how to run them on a phone.

10 min

Zipkart has three phone apps. Each is its own Flutter project with its own package name, and all three use the same Firebase project.

Customer app
Customer app
Store app
Store app
Delivery Boy app
Delivery Boy app

Set them up in this order#

Done in Step 2

Your package names and the Firebase connection are already set. This step makes the apps yours and builds them for the stores.

Everything else is in the admin panel

Shop name, logo, colours, fonts, sign-in methods, payment gateways, map provider, languages and texts are not in the app code. You change them in the admin panel and the apps update without a new build.

Run an app#

Connect a phone with USB debugging on, or start an emulator or the iOS Simulator, then:

cd customer
flutter pub get
flutter run

Use cd store or cd driver for the other apps.

File → Open and pick the app folder (for example customer), not the whole Zipkart folder. Choose a device in the toolbar and click the green Run button.

File → Open Folder and pick the app folder. Choose a device at the bottom right and press F5.

Command Does
flutter devices Lists connected phones and emulators
flutter run -d <device_id> Runs on one device
flutter run --release The fast release build. Use it to judge speed.
flutter run -d chrome Runs the customer website or store panel (from customer/ or store/)

First build is slow

The first build downloads packages and can take several minutes. Later builds take seconds. Press r to hot reload, R to restart, q to quit.