Closed chrissearle closed 3 years ago
Suggestion:
1) Participant badge has a qr code on it with their VCARD (am assuming we have name and company).
App can scan this - can show the info in it so that they know what's there.
2) Partner stands have a qr code with some ID (name and url?)
3) We need some list of partners out there - suggest a json file with name, logoUrl, websiteUrl
4) That would be enough for the participant app - show their QR code either badge or on app screen to partner - and scan the partner qr to get the website url. Find the partner with that websiteUrl and mark as "visited".
The other way (partner gets contact info) - how was that done before?
Need to have a better "don't refresh partner data if last refresh date less than X ago ..." - UserDefaults or similar.
From what I can see from the old code:
Conference Badge - this was scanned as an anti-cheat function - a new badge scanned would remove all "partner stamps". This was to prevent several people going up with the same device. QR data: VCARD.
Partner stand - this was a json format QR with Name and Key fields. The key was checked locally by running a PBKDF2SHA512 call - using a salt that was downloaded from firebase. We can do the same - but we need to know that this is OK and where the config should live (right now its in this projects gh-pages code :) )
I will assume this going forward - so if its invalid then we need to know asap so that I don't waste too much time.
Spec ?