Skip to content
/ ICAS Public

Script responsible for creating your Ionic/Cordova projects with support for building to android.

Notifications You must be signed in to change notification settings

SDevM/ICAS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ionic-Cordova App Starter (I.C.A.S) - Simon D. Maxwell

Please leave a ⭐ star if you use my script! :)

Features

  • Generate app name, authors and description
  • Create an Angular Ionic application fitted with Cordova
  • Prepare @ionic/cordova-builders
  • Optional Bootstrap and Tailwind options

If you'd like to contribute to this project, simply create a fork and make a pull request following this projects pull request format.

Pre-requisites

  • Windows Operating System
  • Python 3.10.x or later
  • Ionic

Requisites

  • JDK 11+
  • Android Studio(Android SDK)
    • Set ANDROID_HOME to C:/users/***/AppData/Local/Android/Sdk
    • Get SDK Manager > SDK Platforms > Android API 32
    • Get SDK Manager > SDK Tools > Android SDK Tools (Obsolete) uncheck Hide Obsolete Packages
    • Get SDK Manager > SDK Tools > SDK Build-Tools 32 check Show Package Details
  • Gradle
  • Microsoft Build Tools for Visual Studio 2015
  • Cordova

Usage

  • Double click gen.bat to get started
  • Double click ICAS.gen.Ink (option 2)
  • Run the platform script npm run build:platform, then you can run the apk script npm run build:apk
  • Or both with npm build:deploy
  • Run the android studio preparation script npm run studio:prepare, then you can run the android project script npm run studio
  • Or both with npm run studio:launch
  • ICAS.gen.Ink is a shortcut file that can be added to your start menu right click file, select Pin to Start Menu

NPM COMMANDS

Open Lab

Runs commands to pull up the lab view of your project npm run lab

Set Android Platform (Default [email protected])

Runs commands to set your android platform npm run build:platform

Build Android APK

Runs commands to build your apk npm run build:apk

Combo: npm run build:deploy

Open Android Project In Android Studio

Runs command to open android studio npm run studio

Prepare Android Resources For Android Studio

Runs command to prepare android resourcesnpm run studio:prepare

Combo: npm run studio:launch