Skip to content

Cancel exception #2

@cissemy

Description

@cissemy

🐛 Bug Report

The plugin throws an exception when scanning and press android cancel button

Expected behavior

Reproduction steps

call :
try
{
var cardInfo = await CrossPayCards.Current.ScanAsync();
await DisplayAlert("Result", $"{cardInfo.HolderName}\n{cardInfo.CardNumber}\n{cardInfo.ExpirationDate}", "Ok");
}
catch (Exception)
{

        }

then press cancel on android

Configuration

Version: 1.x

Platform:

  • 📱 iOS
  • 🤖 Android
  • 🏁 WPF
  • 🌎 UWP
  • 🍎 MacOS
  • 📺 tvOS
  • 🐒 Xamarin.Forms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions