element-hq / element-android

A Matrix collaboration client for Android.
https://element.io/
Apache License 2.0
3.28k stars 678 forks source link

Qr code features similar to wechat #3224

Open artiblaster opened 3 years ago

artiblaster commented 3 years ago

Examples:

  1. Being able to add a contact via scanning their QR code on their device (snapchat, instagram seem to do this)
  2. Being able to join rooms by scanning a QR code. This wouldn't be too useful in western countries afaik, Yet. But eventually, this could be used in like restaurants, businesses, women's shelters, college clubs to get people to join their rooms
  3. Super down the road, it enables possibilities like using QR codes to pay and buy via element. (You can pay for products in vending machines by scanning corresponding QR codes via wechat)
  4. In general, having a QR scanner built in or optional as a widget in the element camera function opens up future possibilities. Some phones are adding this to their default camera functions.

Wechat and these qr features are mostly used in china

HarHarLinks commented 3 years ago
  1. this is already implemented, but hidden. in the main menu, tap your profile picture. then tap the QR code icon.
  2. this is half implemented: you can "share" a room to obtain a matrix.to link. in element-web/desktop you get a QR-code that embeds this link along with the link. you can also generate a QR manually from a matrix.to link. scanning a room-share-QR with element-android isn't yet implemented, but you can open it in your browser and then tap "open in app".
  3. i cannot comment on intentions of the element team
  4. find the scanner as described in 1. - however as mentioned some functions are still missing and the existing features are well hidden
artiblaster commented 3 years ago

Definitely hidden! Can I share a room with a qr code function?

On the QR code page, it says 'share my code' but that is simply a matrix.to link, not a qr code.

HarHarLinks commented 3 years ago

On the QR code page, it shows a QR code to share your contact ("matrix address") which simply is a QR code for the matrix.to link you get when you tap "share my code".

On element web/desktop you get a QR code to a room as I mentioned. on android you can only get a matrix.to link (as of now), but you can generate a QR of that link using a generator app or website of your choice, like https://github.com/x-hw/amazing-qr.

Similar features are currently being added to matrix (e.g. https://github.com/matrix-org/matrix-doc/blob/master/proposals/2312-matrix-uri.md) so it's worth keeping an eye on.

artiblaster commented 3 years ago

Thanks!