HackRU / OneAppFlutter

An official event app for HackRU
https://oneapp.hackru.org
MIT License
30 stars 13 forks source link

QR scanner business logic #64

Closed dhruvilp closed 4 years ago

dhruvilp commented 4 years ago

Describe the bug QR Scanner was making 2 requests per scan to the DB (maybe fixed now but double check)

To Reproduce Steps to reproduce the behavior:

  1. Open the scanner and scan a QR code
  2. Insert a print statement to ensure how many requests we're making per scan

Expected behavior Should only make 1 request per QR code scan

Additional context We might implement the BloC pattern for QR Scanner so do research on Flutter BloC and implement it so we could avoid this kind of bugs.

shivanmodha commented 4 years ago

Done!