kaaass / ZerotierFix

An unofficial Zerotier Android client patched from official client
GNU General Public License v2.0
1.67k stars 193 forks source link

Use QR code when joining a network #77

Open sinamics opened 5 months ago

sinamics commented 5 months ago

Hi. Im the creator of ztnet . Would you be interested in adding functionality to use QR code when joining a network? This addition could streamline the user experience significantly.

I also think Zerotier will add this in the future.

kaaass commented 5 months ago

Thanks for the suggestion. Certainly yes! I like this because inputting a 16-length hex string manually is a pain. Having a QR code would be nice for this.

However, I'm little worried about the content scheme encoded in the QR code. Wouldn't it be incompatible with the official QR code (if we have one in the future)?

sinamics commented 5 months ago

If Zerotier decides to use a different scheme for their QR code in the future, we can simply update our QR code to align with theirs?

I want to add something like this: ( QR is just a representation of the 16-length hex ) image

Its just a dummy network ID, so no harm exposing it.

kaaass commented 5 months ago

Ah, I see! So this is simply a rapid method for filling in the network ID during the network joining process. I had thought it would involve a URL format such as zt://abcdef0123456789.

kaaass commented 5 months ago

I would give it a try later