{"id":19652434,"url":"https://github.com/progaurab/ionic-vue-capacitor","last_synced_at":"2025-02-27T01:29:00.952Z","repository":{"id":129384619,"uuid":"524895309","full_name":"progaurab/ionic-vue-capacitor","owner":"progaurab","description":"This is the repository for the course \"Ionic vue - Build Android iOS PWA with Ionic Framework 6\" available on Instill Learning and Udemy.","archived":false,"fork":false,"pushed_at":"2022-08-15T09:50:30.000Z","size":324,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-10T00:14:20.519Z","etag":null,"topics":["android","hybrid-apps","ionic","ionic-framework","ios","mobile-app","vue3","vuejs"],"latest_commit_sha":null,"homepage":"https://www.instilllearning.com","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/progaurab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-15T07:35:08.000Z","updated_at":"2024-04-02T17:07:44.000Z","dependencies_parsed_at":"2023-05-09T11:49:00.573Z","dependency_job_id":null,"html_url":"https://github.com/progaurab/ionic-vue-capacitor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progaurab%2Fionic-vue-capacitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progaurab%2Fionic-vue-capacitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progaurab%2Fionic-vue-capacitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progaurab%2Fionic-vue-capacitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/progaurab","download_url":"https://codeload.github.com/progaurab/ionic-vue-capacitor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240960966,"owners_count":19885232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","hybrid-apps","ionic","ionic-framework","ios","mobile-app","vue3","vuejs"],"created_at":"2024-11-11T15:10:47.897Z","updated_at":"2025-02-27T01:29:00.876Z","avatar_url":"https://github.com/progaurab.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ionic Vue - Build Android iOS PWA with Ionic Framework 6\nThis is the repository for the course \"Ionic Angular - Build Android iOS PWA with Ionic Framework 6\" available on Instill Learning and Udemy. The full course is available from \n* [Instill Learning](https://www.instilllearning.com)\n\n![Ionic Vue](https://img-c.udemycdn.com/course/750x422/4823200_0c91_2.jpg)\n# Introduction to Ionic\nIonic is an open source UI toolkit for building performant, high-quality mobile and desktop apps using web technologies — HTML, CSS, and JavaScript — with integrations for popular frameworks like Angular, React, and Vue.\n\n# Learning Objectives\n* Quick start with Ionic Framework 6\n* Quick start with Vue\n* Quick start with Ionic Capacitor\n* Build Android \u0026 iOS Mobile App\n* Build Progressive Web App (PWA)\n* To publish the app on Google Play Store \u0026 App Store\n\n# Software - version[ Last Updated on 15 Aug 2022]:\n* Node - 16.16.0\n* npm - 8.15.0 \n* JDK - openjdk version \"11.0.14.1\"\n* Ionic CLI - 6.20.1\n* Capacitor -  4.0.1\n* Vue - 3.2.21\n\n## Capacitor Plugin Used\n* [Use the device camera to take a photo] (https://capacitor.ionicframework.com/docs/apis/camera)\n* [Store the photo data into permanent file storage] (https://capacitor.ionicframework.com/docs/apis/filesystem)\n* [Store a reference to all photo filepaths using preferences API] (https://capacitorjs.com/docs/apis/preferences)\n\n# Environment Setup\nTo get started with Ionic Framework, the only requirement is a Node \u0026 npm environment.\nOf course, a code editor Visual Studio Code is also required.\nThe version control system Git is highly recommended.\n\n# Instructions\nThis repository has multiple branch containing all examples. You can clone the repository and go to individual example's root folder and run it. \nTo run branch photo-gallary-angular-cap, use below command:\n```\n$ git clone https://github.com/progaurab/ionic-vue-capacitor.git\n$ cd ionic-vue-capacitor\n$ git checkout photo-gallary-vue-cap\n$ code .\n```\n# Other usefull commands\n## Install the Ionic CLI with npm:\n``` \n$ npm install -g @ionic/cli native-run cordova-res \n```\n\n## Building an Ionic Application\n\n### 1. create an Application\n``` \n$ ionic start ionic-vue-capacitor blank --type=vue --capacitor \n```\n\n ### 2. Change into the app folder \n ``` \n $ cd ionic-vue-capacitor \n ```\n\n ### 3. Install Capacitor Plugins\n``` \n$ npm install @capacitor/camera @capacitor/preferences @capacitor/filesystem \n``` \n\n### 4. Add some PWA Element Library\nSome Capacitor plugins, including the Camera API, provide the web-based functionality and UI via the Ionic PWA Elements library.\n\n``` \n$ npm install @ionic/pwa-elements \n```\n\nNext, import @ionic/pwa-elements by editing src/main.ts.\n``` \nimport { defineCustomElements } from '@ionic/pwa-elements/loader';\n\ndefineCustomElements(window); \n```\n\n### 5. Run App Locally in a Web Browse \n``` \n$ ionic serve \n```\n\n## iOS App Development\n### 6. Xcode Setup\n``` \n$ xcode-select --install \n```\n\n### 7. Configuring Command Line Tools for Android\nCheck how to set variable path for below:\nANDROID_SDK_ROOT, avdmanager, sdkmanager, adb, logcat, emulator\n\n* [How to set JAVA_HOME, GRADLE_HOME \u0026 ANDROID_SDK_ROOT path in macOS](https://androidabcd.info/how-to-set-java_home-gradle_home-android_sdk_root-path-in-macos/)\n\n* [How to set JAVA_HOME, GRADLE_HOME \u0026 ANDROID_SDK_ROOT path in Windows 11](https://androidabcd.info/how-to-set-java_home-in-windows/)\n\n### 8. Generate the native project \n``` \n$ ionic capacitor add ios\n$ ionic capacitor add android \n```\n\n### 9. Set the Package ID.\nFor Capacitor, open the capacitor.config.json file and modify the appId property.\n\nFor Cordova, open the config.xml file and modify the id attribute of the root element, \u003cwidget\u003e\n\n### 10. Open the project in Xcode\n``` \n$ ionic capacitor open ios \n```\n\n### 11. Develop the Ionic app and sync it to the native project.\n``` \n$ ionic capacitor copy ios \n$ ionic capacitor copy android \n```\n\n### 12. Live-reload with Capacitor\n``` \n$ ionic capacitor run ios -l --external\n$ ionic capacitor run android -l --host=YOUR_IP_ADDRESS \n```\n\n# Instructor\n[Gaurab Kumar](https://www.linkedin.com/in/progaurab)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogaurab%2Fionic-vue-capacitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogaurab%2Fionic-vue-capacitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogaurab%2Fionic-vue-capacitor/lists"}