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.
- Install Flutter.
- Clone this GitHub repository.
- Run
flutter doctor
to show information about the installed tooling (optional).
- Navigate to
/mphb_app/
dirrectory. - Run
flutter clean
. - Run
flutter gen-l10n
. - Run
flutter run -d web-server --web-port 9999
in the command-line tool to start a web server1. - Wait for dependencies, cache and application setup.
- Navigate to
http://localhost:9999/
in your browser. - Enable Mobile view for better experience.
- Make a change to app source in the
lib
folder. - Enter R to perform a hot reload. Reload you browser manually.
- Install and configure Xcode.
- Run
open -a Simulator
in the command-line tool. - Run
flutter run
to launch the app in the Simulator.
- Using a USB cable, plug your phone into your computer.
- Run
flutter run
. - Make sure your phone remain active until app launch.
- Install Android SDK and build tools. Use Android Studio or install SDK by sdkmanager.
- Build and release an Android app.
- Install and create emulator.
- Install an APK on an emulator or connected device with the install command
adb install path_to_apk
.
(TBD)
- Update version name and build number in
pubspec.yaml
. - Update l10n
flutter gen-l10n
.
- Run
flutter build ipa
to produce a build archive. - Command PhaseScriptExecution failed with a nonzero exit code issue fix.
- Open
[project]/build/ios/archive/Runner.xcarchive
in Xcode. - Distribute app to App Store.
- Run
flutter build appbundle
. - Locate
[project]/build/app/outputs/bundle/release/app.aab
. - Distribute app to Google Play.
- Run
flutter pub run flutter_launcher_icons:main
. - Flutter Launcher Icons.
- App display name.
- https://docs.flutter.dev/get-started/install
- https://fonts.google.com/icons
- https://api.flutter.dev/flutter/material/Colors-class.html
- https://motopress.github.io/hotel-booking-rest-api/
Anyone is welcome to contribute.
Made with 💙 by MotoPress.
All trademarks, logos and brand names are the property of their respective owners.