capawesome-team / capacitor-nfc-demo

⚑️ Simple Ionic Angular app to demonstrate the use of the Capacitor NFC plugin.
https://nfc-demo.capawesome.io/
13 stars 7 forks source link
android capacitor capacitor-community capacitor-plugin ionic ios nfc web webnfc

capacitor-nfc-demo

⚑️ Simple Ionic Angular app to demonstrate the use of the Capacitor NFC plugin.

Plugins

The following plugins are included:

Development πŸ’»

Prerequisites

Getting Started

# Clone this repository
$ git clone https://github.com/capawesome-team/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.

Commands

Folder Structure

.
└── 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