PayCardsPlugin icon indicating copy to clipboard operation
PayCardsPlugin copied to clipboard

Cancel exception

Open cissemy opened this issue 4 years ago • 0 comments

🐛 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:

  • [ ] :iphone: iOS
  • [x] :robot: Android
  • [ ] :checkered_flag: WPF
  • [ ] :earth_americas: UWP
  • [ ] :apple: MacOS
  • [ ] :tv: tvOS
  • [ ] :monkey: Xamarin.Forms

cissemy avatar Jan 31 '21 14:01 cissemy