M
M
Mobile app
Search…
Home
Woocommerce Mobile App
Bookstore
J2store Mobile App
Outfit
Introduction
Environment Setup
Install the Ionic CLI
Firebase Configuration
Ionic platforms
Push Notifications
UI Customization
Basic Features
Releases
Powered By
GitBook
Ionic platforms
To add ionic platforms using the below commands.
Android
iOS
1
$ ionic cordova platform add android
Copied!
1
$ ionic cordova platform add ios
Copied!
After added the android platform update your android manifest file [platforms/android/app/src/main/AndroidManifest.xml]
From
1
<application
2
android:hardwareAccelerated="true"
3
android:icon="@mipmap/icon"
4
android:label="@string/app_name"
5
android:supportsRtl="true">
Copied!
To
1
<application
2
android:hardwareAccelerated="true"
3
android:icon="@mipmap/icon"
4
android:label="@string/app_name"
5
android:supportsRtl="true"
6
android:usesCleartextTraffic="true">
Copied!
Prepare your ionic application using the below commands.
Android
iOS
1
$ ionic cordova prepare android
Copied!
1
$ ionic cordova prepare ios
Copied!
Build your ionic application using the below commands.
Android
iOS
1
$ ionic cordova build android
Copied!
1
$ ionic cordova build ios
Copied!
Run your ionic application using the below commands.
Android
iOS
1
$ ionic cordova run android
Copied!
1
$ ionic cordova run ios
Copied!
Previous
Android Configuration
Next
Push Notifications
Last modified
10d ago
Copy link