Skip to content

getPicture return nothing #925

@thomeyvan

Description

@thomeyvan

Bug Report

Problem

What is expected to happen?

When I disable the camera on my Android phone and call getPicture from the plugin in my application, I get no response—neither the then nor the catch is triggered.

What does actually happen?

In this case, the catch should at least be triggered.

Information

  • Android 11
  • Disable camera of your phone (It's different from permissions.)

Command or Code

Environment, Platform, Device

Version information

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions