BookMyStay BookMyStay Docs Buy Now
Step 2 · Connect the Apps

Change the Package Name

Give the Customer mobile app your own package name (Android) and bundle ID (iOS) before you connect Firebase and publish.

Customer App Only 10 min

Google Play, the Apple App Store, and Firebase know your application by its unique package name (Android) and bundle ID (iOS).

One Mobile App: The Customer App

BookMyStay has only one mobile app: the Customer App (customer/), which runs on Android and iOS (and also builds as a responsive Web app). All hotel operations (branches, rooms, inventory, bookings, and front desk check-in) are managed via the web Admin Panel (admin_panel/). You do not need to configure branch or delivery mobile apps.

Application Folder Default Identifier Yours, for example
Customer App (Android & iOS) customer/ com.bookmystay.customer com.yourhotel.customer or com.yourbrand.stay

It can never change after you publish

Once an app is live on Google Play or the Apple App Store, its package name is permanently fixed. Choose carefully and keep it consistent between Android and iOS.

Android#

Open customer/android/app/build.gradle.kts and update the applicationId line:

customer/android/app/build.gradle.kts
defaultConfig {
    applicationId = "com.yourhotel.customer"
    minSdk = flutter.minSdkVersion
    targetSdk = 36
    versionCode = flutter.versionCode
    versionName = flutter.versionName
}

That is all Google Play and Firebase require.

Optional: also change the namespace

The same file contains namespace = "com.bookmystay.customer". App store visitors never see it, so leaving it as-is is completely safe. If you wish to change it, update all three together to prevent compilation errors:

  1. Update namespace = "com.yourhotel.customer" in customer/android/app/build.gradle.kts.
  2. Move MainActivity.kt from customer/android/app/src/main/kotlin/com/bookmystay/customer/ into customer/android/app/src/main/kotlin/com/yourhotel/customer/.
  3. Update the first line of MainActivity.kt to package com.yourhotel.customer.

iOS#

  1. Open customer/ios/Runner.xcworkspace in Xcode.
  2. Select Runner in the project navigator → target Runner → Signing & Capabilities.
  3. Set Bundle Identifier to your chosen ID (e.g. com.yourhotel.customer). Ensure the All tab is highlighted so Debug, Release, and Profile configurations update simultaneously.
  4. Select the RunnerTests target and set the same identifier ending in .RunnerTests.

Open customer/ios/Runner.xcodeproj/project.pbxproj in VS Code or your text editor, and find and replace every occurrence of PRODUCT_BUNDLE_IDENTIFIER = com.bookmystay.customer with your new bundle ID (e.g. com.yourhotel.customer).

Do not alter the internal Dart package name

The name: customer line in customer/pubspec.yaml is an internal Dart import prefix. Do not change it, as it is referenced throughout the codebase and invisible to end users.

Next Step

Proceed to Connect with FlutterFire to automatically connect both admin_panel/ and customer/ to your Firebase project.