Ionic j2store
Search…
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!
Last modified 3mo ago
Copy link