Android

Easy Park – Android App Documentation

Apps v1.0.0 · needs website v2.1+

Overview

Easy Park Mobile Apps are two Android apps for the Easy Park SaaS parking website: Easy Park Staff for the people who run your car parks and Easy Park for your customers (drivers). Owners and the super admin keep using the website. The apps talk only to your website, so all data stays on your server.

Two apps, one websiteStaff sign in with their email and password. Customers sign in with only their phone number and an SMS code: no email, no password, no sign-up form.
Same rules as the websiteEvery action runs the website's own code: permissions, plan limits, rates, reservations and notifications are identical.
Works with a weak signalThe Staff app keeps new vehicle entries on the phone with their real arrival time and uploads them when the connection returns.
Your brandAfter sign-in each app takes the company's logo, colour, name and welcome text, set on the website.
SecureThe login token stays in the app's private storage on the phone and is removed at sign-out; HTTPS only in release builds; the Staff app has a PIN lock.
Ready for Google PlayStep-by-step build, signing and store submission in this guide.

What is in the package

This package holds one app (the file name says which: staff or customer). Build it as it is, or change the code and build again. The identifiers are:

AppZip fileApplication IDFor
Easy Park Staffeasy-park-staff-android-v1.0.0.zipcom.easypark.staffOwners and staff (users who sign in with email and password)
Easy Park (customer)easy-park-customer-android-v1.0.0.zipcom.easypark.driverYour customers (they sign in with a phone number)

Inside each zip:

Folder / fileWhat it is
lib/The app's source code (Flutter / Dart).
android/The Android project, already set up (permissions, icons, names, signing hooks).
assets/The app icon pictures.
test/Automated tests (run offline with a fake server).
pubspec.yamlApp version and the list of libraries.
documentation/This guide.
Required: the apps need Easy Park SaaS v2.1 or newer installed on a domain with HTTPS (SSL certificate). The website is a separate product.

Features

Easy Park Staff

AreaWhat staff can do
HomeLive occupancy, free slots, vehicles parked, entries and exits today, income, "needs attention" cards (vehicles parked too long, cars waiting to be brought back, passes about to expire) and shift status.
Parked vehiclesSearch by plate, name or phone; filters; one-tap call and WhatsApp to the driver; time parked; request to bring a car back.
New entryVehicle number with number plate scan by camera, car park, vehicle type, floor and slot, driver details. If the signal drops the entry is kept on the phone with its real time and uploaded later.
CheckoutFee from the rate card, payment method, receipt as PDF or text (share by WhatsApp or email) or printed on a Bluetooth thermal printer.
BookingsUpcoming, arrived and past reservations; check in, cancel, mark paid.
PassesCreate, renew and look up monthly passes.
EV and valetStart and stop EV charging with meter readings; an EV bay map (free, occupied, charging).
ShiftsStart a shift by counting the drawer, end it, see the difference.
Money and reportsExpenses with a photo of the receipt; reports with CSV share; website enquiries (call back, mark contacted).
SafetyPIN lock, push notifications, four languages.

Easy Park (customer)

AreaWhat the customer can do
Sign inPhone number and a 6-digit SMS code. The first time, the car park creates the customer from the number.
BookChoose car park, vehicle type and times; see live availability and the estimated price; pick a saved vehicle; reserve.
My bookingsBookings follow the phone number to any phone, including ones made earlier on the website. Pay online (the company's secure payment page opens), cancel.
AccountChange the name, manage up to 10 saved vehicles, contact the car park (call, WhatsApp, email), choose the language, sign out.

Common to both

Requirements

Your computer (to build the app)

ItemNeeded
SystemWindows 10/11, macOS or Linux
Flutter SDKStable channel, Dart 3.13 or newer (see environment in pubspec.yaml)
Android StudioWith the Android SDK, platform tools and a recent JDK (17 or newer)
Free disk spaceAbout 10 GB

Phones that can run the app

Android 7.0 (API 24) or newer.

Accounts

Website

Easy Park SaaS v2.1 or newer on HTTPS, with the migrations run (php artisan migrate). For customers to sign in, the company needs SMS set up (Twilio) on the website.

Install Flutter & Android Studio

  1. Install Flutter from docs.flutter.dev/get-started/install and add it to your PATH.
  2. Install Android Studio and, in SDK Manager, the latest Android SDK, platform tools and command-line tools.
  3. Accept the licences and check everything:
    flutter doctor --android-licenses
    flutter doctor
    Every line for Flutter and Android should have a green tick.

Prepare the website

  1. Update the website to Easy Park SaaS v2.1 or newer and run php artisan migrate. This adds the tables the apps need (access tokens, devices, saved vehicles).
  2. Make sure the site opens on HTTPS and APP_URL in .env is the real address.
  3. Add the website's cron line (see the website documentation) so reservations and alerts run.
  4. As super admin, open Website → Mobile apps. Fill in the store links and the minimum app version. Optionally set the server address for the apps (see below). You can switch the apps off for one company or for maintenance.
  5. As owner, open Settings → Branding & Mobile App: app name, colour, logo, welcome text, support phone and email, and which customer features are on.
  6. For customers to sign in, as owner open Settings → Twilio and enter the SMS account. Customers get their 6-digit code from your Twilio number. Without it no code can be sent.
  7. For online payment of bookings, set the Stripe or Razorpay keys under Settings → Payment and the signing secret under Settings → Smart Parking.
  8. For photos (expenses, receipts) set upload_max_filesize = 12M and post_max_size = 40M in php.ini.
There is no company code to type and no QR to scan: customers choose their car park from a list the first time (skipped when only one company has the app on) and staff just sign in.

Open the project

The Android project is already included, so there is no setup script. Unzip, then:

cd android_app
flutter pub get

The identifier is com.easypark.staff (Staff) or com.easypark.driver (customer). Change it to your own before you publish:

Point the app at your website

Give the website address once, in lib/core/config.dart:

const kDefaultServer = 'https://park.yourdomain.com';

or when you build, without touching the code:

flutter run --dart-define=SERVER_URL=https://park.yourdomain.com

People never see or type this address. If it is left empty the app says it is not connected to a server yet. Try the app without any website:

flutter run --dart-define=DEMO=true

Run on a phone or emulator

On a real phone

  1. On the phone: Settings → About → tap Build number 7 times, then turn on USB debugging in Developer options.
  2. Connect it with a cable and allow the computer.
  3. Check flutter devices, then:
    flutter run --dart-define=SERVER_URL=https://park.yourdomain.com

On the emulator

Create a device in Android Studio → Device Manager, start it, then run flutter run.

Testing against a local website (http)

Apps only talk to https addresses, with one exception for testing: http://10.0.2.2 (your computer, seen from the Android emulator), http://localhost and the address listed in android/app/src/main/res/xml/network_security_config.xml. Add your test computer's address there if you test on a real phone over Wi-Fi, and remove it before publishing:

flutter run --dart-define=SERVER_URL=http://10.0.2.2/your-folder/main_file

A test APK to share

flutter build apk --release --dart-define=SERVER_URL=https://park.yourdomain.com

The file is in build/app/outputs/flutter-apk/app-release.apk.

Server address & branding

Changes that need no new build (from the website)

WhatWhere
Company logo, name, colour, welcome text, support phone and emailOwner → Settings → Branding & Mobile App. The app shows them after sign-in.
Which customer features are on (book, my bookings, pay online, contact)Same page.
Store links, minimum version, maintenance message, per-company on/offSuper admin → Website → Mobile apps
Server address the apps useSuper admin → Website → Mobile apps → Server address for the apps. Leave it empty to use this website. If you move the website to a new address, enter it here: the apps follow it the next time they open, and nobody types anything. The app switches only to a valid address that answers with the same sign-in, and never from https to http.

The apps compare their own version with the minimum you set. Below it they show Please update; during maintenance they show Back soon; for a company whose apps are off they show a message.

Changes in the code (then build again)

How people sign in

AppSign-in
Easy Park StaffEmail and password of the user created on the website (owner, manager, cashier, operator). A forgot-password link emails a 6-digit code. Staff do not choose a server or a company.
Easy Park (customer)The phone number and a 6-digit SMS code, nothing else. The code works for 10 minutes and allows 5 tries; a new code can be asked for after a minute, and at most 5 times an hour. The first sign-in creates the customer for that car park (name taken from earlier entries, passes and bookings with the same number; earlier bookings are attached). The same number written differently (+91, spaces, a leading 0) is the same customer.
Customers sign in through the car park's own Twilio account (Settings → Twilio on the website). Each SMS is paid by that account.
For store review: reviewers cannot receive your SMS. In the review notes tell them to tap Try the demo on the sign-in screen (sample data, no server). For the Staff app give them a demo staff account.

Languages

English, Hindi, Arabic (right-to-left) and Spanish. The user chooses under More → Language (Staff) or Account → Language (customer); the first start follows the phone's language. The main screens and buttons are translated; messages that come from the website are shown in the website's language.

To translate more text or add a language, edit lib/core/i18n/strings.dart: add the English phrase with its translations, and write the phrase in the code as 'Phrase'.tr. Have a native speaker check the wording.

Push notifications (Firebase)

Optional. Without it everything works; only the phone pop-ups are missing. The app starts normally when the Firebase files are missing. This part has not been tested against a real Firebase project in the package, so test it on your own project before you publish.

  1. Create a project in the Firebase console and add an Android app with the package name of this app (com.easypark.staff or com.easypark.driver, or your own).
  2. Download google-services.json and put it in android/app/. Add the Google services plugin: in android/settings.gradle.kts add id("com.google.gms.google-services") version "4.4.2" apply false to the plugins block, and in android/app/build.gradle.kts add id("com.google.gms.google-services") to plugins.
  3. On the website: Firebase console → Project settings → Service accounts → Generate new private key. Save the JSON on the server and set in .env:
    PUSH_DRIVER=fcm
    PUSH_FCM_CREDENTIALS=/full/path/to/service-account.json
  4. Build again and sign in once; the phone registers itself.

When staff are notified

A push is sent for a new booking, a bring-back request, an overstaying vehicle and a new website enquiry, only to people whose role allows it and only for their own company. Customers do not receive push notifications.

Version numbers

Set the version in pubspec.yaml:

version: 1.0.0+1

1.0.0 is the version people see; +1 is the build number. Increase the build number for every upload to Google Play. The same version number is compared with the minimum version you set on the website (kStaffAppVersion / kDriverAppVersion in the code).

Signing key (keystore)

Create your key once and keep it safe (back it up; if you lose it you cannot update the app).

keytool -genkey -v -keystore ~/easypark.jks -keyalg RSA -keysize 2048 -validity 10000 -alias upload

Tell the build where the key is

Create android/key.properties (it is git-ignored):

storePassword=your-password
keyPassword=your-password
keyAlias=upload
storeFile=/full/path/to/easypark.jks
Without this file, release builds are signed with the debug key. They install for testing but Google Play will not accept them.

Build the release

flutter build appbundle --release --dart-define=SERVER_URL=https://park.yourdomain.com

The file is build/app/outputs/bundle/release/app-release.aab. Do this for each app (each zip is one app).

Publish on Google Play

  1. Developer account: register at play.google.com/console.
  2. Create the app: name (Easy Park Staff / Easy Park), language, free, accept the declarations.
  3. Store listing: short and full description, icon 512×512, feature graphic 1024×500 and phone screenshots (the package's Screenshots.zip has sample pictures).
  4. App content: privacy policy URL, data safety form (see Privacy & data safety), ads: none, target audience.
  5. Test access: see the note in How people sign in.
  6. Upload: Testing → Internal testing → create release → upload the .aab → roll out. After testing, promote to Production.

Updates

Raise the version, build a new bundle and upload it as a new release.

Privacy & data safety

You publish the apps, so you are responsible for the store forms. What the apps handle:

DataWhy
Name and phone numberThe customer's account and booking contact; staff name and email for sign-in
Number platesVehicle entries, bookings and saved vehicles
Photos (Staff only)Number plate reading and expense receipts, sent to your website; plate reading may use a service you configure on the website
Bookings and paymentsReservations; card payment happens on the payment provider's page, never inside the app
Device push tokenSend notifications to staff (when Firebase is set up)

All data is sent to your website over HTTPS. The apps contain no ads and no third-party analytics. Customers can ask the car park to delete their data.

Android permissions used

PermissionAppUsed for
INTERNETBothTalk to your website
BLUETOOTH_CONNECT, BLUETOOTH_SCAN (and BLUETOOTH, BLUETOOTH_ADMIN on Android 11 and older)StaffPrint receipts on a Bluetooth thermal printer
Camera / photos (through the system picker)StaffRead number plates, receipt photos

Push notifications need the notification permission on Android 13 and newer, which the system asks for when Firebase is set up.

Code structure

lib/
  main.dart           start-up of this app
  core/
    config.dart       the website address (kDefaultServer)
    api/              website API client, demo data, server address handling
    models/, state/   data classes, sign-in, settings, offline queue, locks
    i18n/             languages and translations (strings.dart)
    theme/, util/     colours and styles, formatting, receipts, printing
  ui/                 shared widgets (cards, chips, plate field ...)
  features/ or driver/  the screens of this app
test/                 unit and screen tests (run offline with a fake server)

Run the tests with flutter test and the code checks with flutter analyze.

Updating to a new version

  1. Update the website first (apps work with a website of the same or a newer version).
  2. Back up your own changes, unzip the new package and copy your changes back (lib/core/config.dart, icons, application ID, key.properties, google-services.json).
  3. Run flutter pub get, raise the build number and build again.

Troubleshooting

ProblemWhat to do
"This app is not connected to a car park server yet"The build has no website address. Set kDefaultServer in lib/core/config.dart or build with --dart-define=SERVER_URL=https://….
"Cannot reach the server"Check the address, the SSL certificate and that /api/v1/login answers on the website. Release builds need https.
Customer says no SMS code arrivesTwilio is not set up for that company (Settings → Twilio), or the code was asked for again within a minute or more than 5 times in an hour. Check the number and that they chose the right car park.
"Update required" / "Back soon"Super admin → Website → Mobile apps: lower the minimum version, or turn maintenance off.
Customers or staff cannot sign in at allSuper admin → Website → Mobile apps: check the company is enabled.
Photos fail to uploadRaise upload_max_filesize and post_max_size in php.ini.
No push notificationsCheck PUSH_DRIVER=fcm and PUSH_FCM_CREDENTIALS on the server and the Firebase files in the app; sign in again on the phone.
Website error 500 after updateRun php artisan migrate on the website.
flutter pub get failsUpdate Flutter (flutter upgrade) so a recent Dart is installed.
Release build is rejected by Google PlayIt was signed with the debug key: create android/key.properties.

FAQ

Do I need to publish a separate app for each company?

No. One build of each app serves every company on your platform. Staff sign in with their own account; customers choose their car park once.

Why do customers not need an email or a password?

The system only records a customer's phone number, so that is the sign-in. A code by SMS proves the number is theirs.

Can the apps work without the website?

No (except the demo mode). They are companions to the Easy Park SaaS website and use its API.

Can I publish the apps under my own name?

Yes: your application ID, app name, icon and store account.

Do I need a Mac?

No, Android apps build on Windows, macOS and Linux.

Can I give testers the app before it is in the store?

Yes: Play Console internal testing, or share an APK.

Is a payment taken inside the app?

No. The app opens the car park's secure payment page in the browser; card data never passes through the app.

Support & changelog

Before contacting support, check Troubleshooting and run flutter doctor -v.

When you contact support at support.smartwebinfotech.com, include: your purchase code, the app version (pubspec.yaml) and website version, the output of flutter doctor -v, and the exact error message or a screenshot.

Support covers installation questions, bugs and help with the steps in this guide. Customisations (new features, design changes) are not included but can be ordered separately.

Changelog

VersionDateChanges
1.0.0November 2026First release: Easy Park Staff and Easy Park (customer) apps. Vehicle entry and exit with number plate scan, offline entries, receipts (PDF, text, Bluetooth printer), reservations, monthly passes, shifts, EV bays, expenses, reports, enquiries, PIN lock, push notifications, customer sign-in with a phone number, saved vehicles, English / Hindi / Arabic / Spanish.