Electric-Coin-Company / zashi-android

The Zashi Zcash Wallet, Android Edition
MIT License
20 stars 14 forks source link

[Logic] Scan a QR code of address from a photo saved in library #1461

Closed HonzaR closed 1 week ago

HonzaR commented 4 weeks ago

Is your feature request related to a problem? Please describe.

We'd like to add the open-user-library button to the Scan screen. This issue requests the logic part only.

Describe the solution you'd like

The requested UI is described in the Figma design: https://www.figma.com/file/vYQD6uZtkPgtmgJ3zfauq0/Zashi-UI?type=design&node-id=5220-44823&mode=design&t=WMJ0bOKeS08jsY9x-4

The logic part should consider handling any special cases like permissions or different requirements for triggering the system image picker for different Android SDK levels.

Alternatives you've considered

If separating the UI and logic side of the task is difficult for some reason, let's implement the UI side of the feature, too. See #1460.

Additional context

Related class is AndroidScan.kt