Skip to content

Manage your hotel business on the go with the mobile app from MotoPress.

Notifications You must be signed in to change notification settings

motopress/mphb_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hotel Booking Mobile Application (beta)

Hotel Booking is an all-in-one property management suite for rental property websites. List unlimited accommodations and services, accept direct online reservations, synchronize all bookings across OTAs and more.

With the Hotel Booking Application you can:

  • View and manage your bookings.
  • View and manage your payments.
  • Create new bookings or make changes to existing ones on-the-go.
  • See real time availability.

Note: You will need a WordPress website and the Hotel Booking plugin from MotoPress to use this application.

Screenshots

Hotel Booking Mobile Application

Getting Started

  1. Install Flutter.
  2. Clone this GitHub repository.
  3. Run flutter doctor to show information about the installed tooling (optional).

Development

  1. Navigate to /mphb_app/ dirrectory.
  2. Run flutter clean.
  3. Run flutter gen-l10n.
  4. Run flutter run -d web-server --web-port 9999 in the command-line tool to start a web server1.
  5. Wait for dependencies, cache and application setup.
  6. Navigate to http://localhost:9999/ in your browser.
  7. Enable Mobile view for better experience.
  8. Make a change to app source in the lib folder.
  9. Enter R to perform a hot reload. Reload you browser manually.

iOS Simulator

  1. Install and configure Xcode.
  2. Run open -a Simulator in the command-line tool.
  3. Run flutter run to launch the app in the Simulator.

iOS Device

  1. Using a USB cable, plug your phone into your computer.
  2. Run flutter run.
  3. Make sure your phone remain active until app launch.

Android Emulator

  1. Install Android SDK and build tools. Use Android Studio or install SDK by sdkmanager.
  2. Build and release an Android app.
  3. Install and create emulator.
  4. Install an APK on an emulator or connected device with the install command adb install path_to_apk.

(TBD)

Build and Release

Prepare

  1. Update version name and build number in pubspec.yaml.
  2. Update l10n flutter gen-l10n.

Build and Release for iOS

  1. Run flutter build ipa to produce a build archive.
  2. Command PhaseScriptExecution failed with a nonzero exit code issue fix.
  3. Open [project]/build/ios/archive/Runner.xcarchive in Xcode.
  4. Distribute app to App Store.

more

Build and Release for Android

  1. Run flutter build appbundle.
  2. Locate [project]/build/app/outputs/bundle/release/app.aab.
  3. Distribute app to Google Play.

more

Misc

Launcher Icon

App Name

Resources

  1. https://docs.flutter.dev/get-started/install
  2. https://fonts.google.com/icons
  3. https://api.flutter.dev/flutter/material/Colors-class.html
  4. https://motopress.github.io/hotel-booking-rest-api/

Contributions

Anyone is welcome to contribute.


Made with 💙 by MotoPress.


All trademarks, logos and brand names are the property of their respective owners.

Footnotes

  1. port paramenter is set to save SharedPreferences for each session, more.