Coder Social home page Coder Social logo

ionic-inventory's Introduction

Status

Android

  • Network

  • Storage

  • Camera

  • QR Code Scanner

  • NFC
    Wasn't able to test:

    • Capasitor v6 ? (same reason as Background Runners)
    • Outdated NFC plugins

    Sponsorware NFC to check

  • Background Runners

    • Location
    • Network
    • Request

    Doesn't work for Capacitor v6 yet

iOS

How to Run

Follow these steps to set up your environment and run the project.

1. Verify/Install JDK 21

Download and install JDK 21 from the official Oracle website.

1. Verify/Set JAVA_HOME

Ensure that the JAVA_HOME environment variable is correctly set to the path where JDK 21 is installed.

1. Verify/Install Android Studio

Download and install Android Studio from the official Android developer website.

1. Verify/Set ANDROID_HOME

Ensure that the ANDROID_HOME environment variable is correctly set to the Android SDK path.

1. Verify/Install Node.js

Download and install Node.js from the official Node.js website.

1. Verify/Install NPM

Ensure that NPM (Node Package Manager) is installed and up to date.

1. Verify/Install Ionic CLI

Install the Ionic CLI globally using NPM.

npm i -g @ionic/cli

1. Install Project Dependencies

Navigate to the project directory and install the required dependencies.

npm i

1. Install Ionic extension for Visual Studio Code

Install the Ionic extension for Visual Studio Code to run the project from the editor.

Possible Issues

Android

  1. Inconsistent JVM-target

    • Issue:
    Execution failed for task ':capacitor-barcode-scanner:compileDebugKotlin'.
    > Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (17) and 'compileDebugKotlin' (21).
    • Solution: Add the following code to the build.gradle file in the root directory of the project.
    subprojects {
        afterEvaluate { project ->
            if (project.hasProperty('android')) {
                android {
                    compileOptions {
                        sourceCompatibility JavaVersion.VERSION_21
                        targetCompatibility JavaVersion.VERSION_21
                    }
                }
            }
        }
    }
  2. SQLite Plugin driver is not loaded

    • Issue:
    storage.driver; // asyncStorage, not cordovaSQLiteDriver
    • Solution: It works only on the device, not on the browser.
  3. The application reloads when a photo is taken for the first time using the camera.

    • Issue: The application reloads when a photo is taken for the first time using the camera.

    • Solution:

ionic-inventory's People

Contributors

rpeight8 avatar

Stargazers

Shahrad Elahi avatar jist avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.