symbol / mobile-wallet

Symbol Mobile Wallet
Apache License 2.0
8 stars 14 forks source link

QR - add more user friendly when error parsing QR code #287

Open cryptoBeliever opened 2 years ago

cryptoBeliever commented 2 years ago

Steps to reproduce

  1. Open the application.
  2. Click "Scan QR" on the dashboard.
  3. Try scanning the QR code which is NOT Symbol QR.

Current behavior There is an error presented "JSON Parse error: Unexpected identifier..."

Expected behavior I think we should provide a more "user-friendly" message. I think we can just write that provided QR type is not supported.

Affected Version Current version in store (tag v1.4.0)

Screenshots Example other type QR to scan:

image image

Example results: image image

Platform details