BesLogic / releaf-genparker

MIT License
5 stars 1 forks source link

Mobile support QR Code reading #15

Closed andy2great closed 2 months ago

andy2great commented 8 months ago

It will be necessary to load a QR code from the app that contains necessary data to initialise a box. This QR code will need to contain the following information:

this means we need a built in QR code reader that will be able to connect the user to a new wifi + store the other metadata in a variable.

image


The ui have been revise since.

Things to confirm : ⚠ are we going to have the information in step 3 ⚠ Should we replace the information with the one mention in this ticket

image

andy2great commented 3 months ago

Information for step 3:

It will be obtain from a get request to Activate a box under the current user. The box has been created in advance when preparing the QR code, but it has not been attached to a user yet.

We will need to create a new endpoint to support activating a box to a user if that box is not already attached.

andy2great commented 3 months ago

The QR code will only have a guid to the box (it's id) that is not yet associated to a user.