- The data comes from the JSON Server API for dummy data.
- This app uses Axios to make the HTTP request.
If you get an error set up execution policy. Open a PowerShell as an admin and run:
Set-ExecutionPolicy Unrestricted
-
Build project Execute in the terminal:
npm run build
-
Remove Android folder and generate a New Android using Ionic
ionic capacitor add android npx cap open android
-
Set up Android manifest
Add this line in the<application>
tag to allow the http request:android:usesCleartextTraffic="true"
-
Generate the apk file
- Click on the build menu.
- Click "Build bundle(s) / APK(s)".
- Build APK(s).
To do the installation you must disable Google Play Protect and enable installation from external sources.
-
Build project Execute in the terminal:
npm run build
-
Generate a new iOS app using Ionic
ionic capacitor add ios
-
- If you have an iPhone and MacOS
npx cap open ios
- If you don't have an iPhone and MacOS
- Create an account at Ionic Framework.
- Add a new app.
- Connect it with your GitHub repository.
- Create a new build and select iOS as target.
- Download the App zip generated file.
- Go to Appetize.io and select "Try Online Demo".
- Upload the zip file and provide your email address.
- Open your inbox and search for the Appetize link for the app.
- Click on "Tap to play" over the phone simulator.
- ¡Enjoy!
- This is the link for the app simulation: Appetize.io - iOS App Simulation.
- If you have an iPhone and MacOS