⚡️ Simple Ionic Angular app to demonstrate the use of the Capacitor NFC plugin.
The following plugins are included:
- Install Node.js which includes Node Package Manager
- Android development: Install Android Studio
- iOS development: Install XCode
# Clone this repository
$ git clone https://github.com/pkglab/capacitor-nfc-demo.git
# Change to the root directory of the project
$ cd capacitor-nfc-demo
# Install all dependencies
$ npm i
# Run the web app
$ npm run start
# Run the Android app
$ npx ionic cap sync android
$ npx ionic cap run android
# Run the iOS app
$ npx ionic cap sync ios
$ npx ionic cap run ios
This project uses Ionic as app development platform and the Ionic CLI.
npm run start
- Start the appnpm run build
- Build the appnpm run lint
- Lint the projectnpm run fmt
- Format the projectnpm run test
- Run unit tests
.
└── root
└── src
├── app
│ ├── config - Configuration files with consistent configurations across all environments
│ ├── core - The core module that includes singleton services and other features with only one instance per application
│ ├── modules - Modules that deliver a user experience dedicated to a particular feature or application domain
│ └── shared - Modules that make a component, directive, or pipe available to external modules.
├── assets
├── environments
└── tests