Overview
Smart Booking Mobile Apps are two iPhone apps for the Smart Booking SaaS appointment website: Smart Booking for customers and Smart Booking Business for owners and their staff. The super admin keeps using the website. The apps talk only to your website, so all data stays on your server.
What is in the packages
| App | Package file | Folder inside | ID | For |
|---|---|---|---|---|
| Smart Booking | smart-booking-customer-iphone-v1.0.0.zip | iphone_app/ | com.smartbooking.sbCustomer | Customers |
| Smart Booking Business | smart-booking-business-iphone-v1.0.0.zip | iphone_app/ | com.smartbooking.sbBusiness | Owners and staff |
iphone_app. Unzip them into two separate folders, for example customer_app/ and business_app/.Inside each folder
| Folder / file | What it is |
|---|---|
lib/ | The source code (Flutter / Dart): api/, state/, util/, screens/, widgets/. |
ios/ | The iPhone project, already set up (name, icon, permissions). |
assets/ | icon.png and icon_foreground.png (app icon). |
test/, tool/ | Automated screen tests and the script that draws store screenshots. |
docs/ | openapi.yaml (the website API) and screenshots/. |
pubspec.yaml | App version and the list of libraries. |
documentation/ | This guide. |
Features
Smart Booking (customers)
| Area | What the customer can do |
|---|---|
| Home | Next visit, quick booking, visits to review, amount still to pay. |
| Booking | Services, a person or anyone, a day and only the times that are free; notes; waitlist when a day is full. |
| My bookings | Upcoming and past; reschedule, cancel and review (when allowed). |
| Services | What the business offers, with length and price. |
| Account | Contact the business (call, email, directions), edit details, change password, delete account. |
Smart Booking Business (owners and staff)
| Area | What they can do |
|---|---|
| Home | Today's bookings, next 7 days, items needing attention; figures and money for those allowed to see them. |
| Calendar | Day view, filter by person; approve, complete, move or cancel. |
| Customers | Search, history, add a customer, book for them. |
| Owner tools | Team, holidays and time off, website enquiries, reviews. |
| AI assistant | Uses the owner's own AI key set up on the website. |
| Staff | Sees only their own bookings. Buttons follow their website permissions. |
Common to both
- Email and password sign-in, two-factor code, fingerprint / face or phone PIN lock.
- The business's title, colour and logo after sign-in.
- Inbox with unread badge; push notifications when Firebase is set up.
Not included: online payment inside the apps, offline use, and languages other than English for the app screens.
Requirements
Your computer
| Item | Needed |
|---|---|
| System | macOS (required for iPhone builds) |
| Flutter SDK | Stable channel with Dart 3.13.5 or newer (sdk: ^3.13.5 in pubspec.yaml) |
| Xcode | A current version, with CocoaPods if Flutter asks for it |
| Free disk space | About 10 GB or more |
Phones that can run the app
iOS 15 or newer.
Accounts
- Apple Developer Program membership (yearly fee) to publish.
- Firebase project only if you want push notifications.
Website
Smart Booking SaaS v1.9 or newer on HTTPS, with the database updated (php artisan migrate).
Install Xcode & Flutter
- Install Xcode from the Mac App Store, open it once and accept the licence.
- Install Flutter from docs.flutter.dev and add it to your PATH.
- Check everything:
The Flutter and Xcode lines should have green ticks.flutter doctor
Prepare the website
- Update the website to Smart Booking SaaS v1.9 or newer and run
php artisan migrate. - Make sure the site opens on HTTPS and
APP_URLin.envis the real address. - As owner, open Website & Marketing → Mobile App: set the app title, colour, logo, welcome text and help contacts.
- After you have published the apps, as super admin open Mobile Apps, paste the store links and switch each app Live. Owner websites then show the download buttons and QR code. Signing in does not need the apps to be live.
Open the project
The iPhone project is included. Unzip, then in each app folder:
cd iphone_app
flutter pub get
flutter testThe IDs are com.smartbooking.sbCustomer and com.smartbooking.sbBusiness. Change them to your own before you publish; a store never lets you change them later.
- Open
ios/Runner.xcworkspacein Xcode and set the Bundle Identifier on the Runner target.
Point the app at your website
Give your website address when you build. It is then fixed in the app: users never type it.
flutter run --dart-define=API_BASE_URL=https://your-domain.comAdd the folder if the website is not at the root, for example https://your-domain.com/booking.
API_BASE_URL. It would point at https://your-domain.com and could not sign in.Run on an iPhone or simulator
Simulator
open -a Simulator
flutter run --dart-define=API_BASE_URL=https://your-domain.comYour iPhone
- In Xcode, open
ios/Runner.xcworkspace, select the Runner target, then Signing & Capabilities, and choose your Team. - Connect the iPhone, trust the computer and turn on Developer Mode.
- Run
flutter devices, thenflutter runwith your address.
Testing against a local website
Use an https address. iPhones block plain http unless you add a temporary exception in Info.plist; remove it before publishing.
Branding
Changes that need no new build (from the website)
- App title, colour, logo and welcome text shown after sign-in.
- Help phone and email; whether customers see reviews and the waitlist.
- Download links, oldest allowed version, maintenance message, and switching the apps off for one business.
Changes in the code (then build again)
- Name under the icon:
CFBundleDisplayNameinios/Runner/Info.plist, andappNameinlib/config.dartfor the sign-in screen. - Icon: replace the pictures in
assets/and rundart run flutter_launcher_icons. Version 0.14.4 of this tool wrongly setsASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONStoAppIconinproject.pbxproj; set it back toYES. - The name and icon on the home screen are the same for every business; each business's own look appears after sign-in.
Push notifications (Firebase + APNs)
Optional. Without it everything works and messages appear in the in-app inbox.
A. Apple: APNs key
In your Apple developer account create an APNs authentication key (.p8) and note the Key ID and Team ID.
B. Firebase
- Create a Firebase project and add an iOS app with your bundle ID.
- Download
GoogleService-Info.plistand add it to the Runner target in Xcode. - In Project settings → Cloud Messaging, upload the APNs key.
- In Xcode add the Push Notifications capability and Background Modes → Remote notifications.
C. Website
In Firebase create a service-account key (JSON), save it on your server outside the web folder, and set in .env:
FCM_CREDENTIALS=/full/path/to/service-account.jsonWhen people are notified
A message is created for a new booking, a changed status or time, a newly assigned person, and (for owners) a new website enquiry. The person who made the change is not told.
AI features
The AI assistant is in the business app. It uses the owner's own AI service and key, set on the website under Settings → AI Settings. The key never goes into the app. The plan must include AI, there is a daily request limit, and the assistant only reads: it cannot change anything. The button is hidden when it is not available.
Version numbers
Set the version in pubspec.yaml (version: 1.0.0+1: name + build number) and appVersion in lib/config.dart. Raise the build number for every upload. The website can require a minimum version.
Create the app in App Store Connect
- Register your bundle ID in the Apple developer account.
- In App Store Connect create a new app for each of the two apps, with name, primary language and SKU.
- Add screenshots (start from
docs/screenshots/), description, keywords, support and privacy policy addresses.
Build & upload
flutter build ipa --release --dart-define=API_BASE_URL=https://your-domain.comUpload the file from build/ios/ipa/ with Apple's Transporter app or from Xcode.
TestFlight (beta testing)
After processing, add testers in TestFlight and try every main task on real iPhones before submitting.
Publish on the App Store
Choose the build, answer the privacy questions, add review notes with a demo sign-in, and submit.
Common rejection reasons
| Reason | What to do |
|---|---|
| The reviewer cannot sign in | Give a working demo account on your live website in the review notes. |
| Account deletion | Customers can delete their account in More. The business app does not create accounts. |
| Looks like a template | Use your own name, icon, screenshots and description. |
| Privacy details missing | Add a privacy policy and fill in the App Privacy form. |
Privacy & data safety
Tell the store what the apps handle. The apps send data only to your website (and to Google Firebase for push, when you set it up).
| Data | Why |
|---|---|
| Name, email, phone | The account and bookings. |
| Bookings, notes and reviews | The service itself. |
| Customer details (business app) | So owners and staff can manage bookings. |
| Device push token | To send notifications, only when Firebase is set up. |
| AI questions (business app) | Sent by your website to the owner's chosen AI service. |
Fingerprint and face data stay on the phone and are never sent. Write your own privacy policy that matches how you run your service.
iPhone permissions used
| Permission | Why |
|---|---|
| Notifications | Push messages (asked after sign-in, only with Firebase). |
| Face ID | The optional app lock. |
Code structure
| Folder | Contents |
|---|---|
lib/main.dart, lib/config.dart | Start-up, app name, version and server address setting. |
lib/api/ | The API client and data models. |
lib/state/ | Sign-in, secure storage, app lock, push. |
lib/screens/, lib/widgets/ | The screens and shared parts. |
lib/util/ | Colours, money and date formats. |
lib/core.dart and the shared files are the same in both apps. The Android and iPhone folders of one app share lib/, test/, tool/, assets/ and docs/.
Updating to a new version
- Back up your changes: signing files, Firebase files, IDs, icons and
lib/config.dart. - Unzip the new version into a new folder.
- Copy your own settings back and run
flutter pub getandflutter test. - Update the website first when the new apps require a newer website version, then publish the apps.
Troubleshooting
| Problem | Try this |
|---|---|
| "No connection" | Check the address used to build, that it uses https, and that the phone can open the website in its browser. |
| "The email or password is not correct" | Check the account on the website. Many tries in a row are paused for a minute. |
| "Please use the business / customer app" | Customers use Smart Booking; owners and staff use Smart Booking Business. |
| "Your account is temporarily inactive" | Activate the account on the website. |
| "The mobile app is not available for this business" | The super admin switched the apps off for that business. |
| Push messages do not arrive | Check the Firebase files, FCM_CREDENTIALS, and that notifications are allowed on the phone. |
| A button is missing in the business app | It follows the person's role permissions on the website. |
| Signing or pod errors in Xcode | Choose your team, check the bundle ID, run flutter clean and flutter pub get. |
FAQ
Do I need to publish a separate app for each business?
No. One build of each app serves every business on your website.
Can the apps work without the website?
No. They use the Smart Booking SaaS website through its API.
Can I publish under my own name?
Yes: your own ID, app name, icon and store account.
Do I need a Mac?
Yes. iPhone apps can only be built on a Mac with Xcode.
Is payment taken inside the app?
No.
Support & changelog
Open a ticket at support.smartwebinfotech.com. Include your purchase code and what happened, and remove any passwords or keys.
Changelog
1.0.0 (30 November 2026): first release of the customer app and the owner and staff app.