Mobile app
  • Home
  • Woocommerce Mobile App
    • Bookstore
      • Introduction
      • Environment Setup
      • Platform setup
      • Set up an editor
      • Run the App
      • Website Integration
      • UI Customize
      • Firebase configuration
        • Android Configuration
        • iOS Configuration
      • Dynamic UI changes
      • Basic Features
      • Release
        • Publish to google play
        • Publish to App store
      • UI Screens
  • J2store Mobile App
    • Outfit
      • Introduction
      • Environment Setup
      • Install the Ionic CLI
      • Firebase Configuration
        • iOS Configuration
        • Android Configuration
      • Ionic platforms
      • Push Notifications
      • UI Customization
      • Basic Features
      • Releases
        • Publish to Google Play
        • Publish to Apple Store
Powered by GitBook
On this page
  1. J2store Mobile App
  2. Outfit

Ionic platforms

To add ionic platforms using the below commands.

$ ionic cordova platform add android
$ ionic cordova platform add ios
  • After added the android platform update your android manifest file [platforms/android/app/src/main/AndroidManifest.xml]

From

<application 
android:hardwareAccelerated="true" 
android:icon="@mipmap/icon" 
android:label="@string/app_name" 
android:supportsRtl="true">

To

    <application 
    android:hardwareAccelerated="true" 
    android:icon="@mipmap/icon" 
    android:label="@string/app_name" 
    android:supportsRtl="true" 
    android:usesCleartextTraffic="true">

Prepare your ionic application using the below commands.

$ ionic cordova prepare android
 $ ionic cordova prepare ios

Build your ionic application using the below commands.

$ ionic cordova build android
$ ionic cordova build ios

Run your ionic application using the below commands.

$ ionic cordova run android
$ ionic cordova run ios 
PreviousAndroid ConfigurationNextPush Notifications

Last updated 2 years ago