Ionic 5 Food Ordering Template
  • Introduction
  • Ionic 5 Food Ordering App and PWA Template
  • Why to use this Template
  • Initial Setup
  • Running the app
  • Template features
    • Screens
      • Login, Signup, Forgot Password
      • Food Ordering Flow
      • Offers Pages
      • Address Pages
      • User Profile and Settings
      • Restaurant and Product Lists
      • Cart Page
      • Search Page
      • Filters
      • Chat
      • Order History
    • Features
      • Geolocation
      • Chat Support Page
      • Google Place Prediction
      • Social Sharing
      • Device Compatibility
  • how to use this template
    • Two ways to use
    • Modifying Code
    • Removing a Page
    • Removing a plugin
    • Integrating Back-end
    • Add More Features
  • how to build app and pwa
    • Building App on Device
    • Deploying app as PWA
  • Extra
    • Troubleshooting
    • FAQs
Powered by GitBook
On this page
  • Build the app for Android
  • Build the app for iOS

Was this helpful?

  1. how to build app and pwa

Building App on Device

Learn how to build the app on device and how to deploy it on a Firebase based hosting in quick steps

PreviousAdd More FeaturesNextDeploying app as PWA

Last updated 4 years ago

Was this helpful?

Remember to enter your own GOOGLE API KEY in the source code in the place of YOUR_API_KEY. Without this api key, many functionalities might not work, especially maps. Check the for more info

Build the app for Android

Once you have modified your app as per your requirements, you can start building the app for Android. Add an android platform to the project by running

$ ionic cordova platform add android

This step will add an android platform to the project.

Previous step will require preinstalled on your system. You can also install Android SDK without Android Studio, but that is not the recommended way.‌

Now prepare the platform for a build

$ ionic cordova prepare android

And run the app on your device or simulator by running

$ ionic cordova run android

More information in ​‌

Build the app for iOS

An iOS app can be built only on an Apple based system. Add an iOS platform to the project by running

$ ionic cordova platform add iOS

This step will add an iOS platform to the project.

Previous step will require preinstalled on your system. You will also need an Apple developer license and proper provisioning profiles to build the app on device.‌

Now prepare the platform for a build

$ ionic cordova prepare ios

And run the app on your device or simulator by running

$ ionic cordova run ios

OR, run the app using XCode directly.

More information in ​

docs
Android Studio
ionic documentation
Xcode
ionic documentation