[go: nahoru, domu]

Skip to content

It is the basic project created using Ionic, Capacitor and Angular.

Notifications You must be signed in to change notification settings

dev-ugurkontel/file-sharing-ionic-client

Repository files navigation

file-sharing-ionic-client

It is the basic project created using Ionic, Capacitor and Angular.

Installation

$ npm i

Build your Ionic App

$ ionic build

Open IDE to build, run, and deploy

$ npx cap open ios
$ npx cap open android

Syncing your app with Capacitor

$ npx cap copy

Run Locally in a Web Browser

$ ionic serve

Opening the iOS Project

$ npx cap open ios

Running Your App (iOS)

$ npx cap run ios

Opening the Android Project

$ npx cap open android

Running Your App (Android)

$ npx cap run android

Sync your Project

You may wish to sync your web app with your native project(s) in the following circumstances:

  • When you want to copy web assets into your native project(s).
  • Before you run your project using a Native IDE.
  • After you install a new Capacitor plugin.
  • After you clone your project.
  • When you want to setup or reconfigure the native project(s) for Capacitor.
  • When you want to install native dependencies (e.g. with Gradle or CocoaPods).

To sync your project, run:

$ npx cap sync

Updating Capacitor

To update Capacitor Core and CLI:

$ npm install @capacitor/cli@next
$ npm install @capacitor/core@next

To update any or all of the platforms you are using:

$ npm install @capacitor/ios@next
$ npm install @capacitor/android@next