Skip to content

Attempting to scan NFC or barcode causes Android app to crash #22

Open
@spencerAEE

Description

@spencerAEE

Current Behaviour

React Capacitor app consistently crashes after attempting to scan NFC or barcodes using the examples provided. With NFC it just immediately crashes even if no tags are near and for barcode it crashes as soon as the camera detects a barcode.

Expected Behaviour

App should not crash and NFC tags/barcodes should be scanned.

Steps to Reproduce the Problem

  1. Create project with boilerplate code for NFC and barcode
  2. Build APK and install on Android device
  3. Attempt to scan items

Context

Samsung S9, Android 10, Android Studio 2022.1.1 (Electric Eel), Gradle 7.4.1

  • Version: 0.5.0-beta.9
  • Platform: Android
  • Capacitor version: 4.6.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions