quiet icon indicating copy to clipboard operation
quiet copied to clipboard

Download links on tryquiet.org/join should detect platform

Open holmesworcester opened this issue 1 year ago • 6 comments

In #1279 we added invite links, but the download links point to the download links on our homepage. This will convert less well than linking directly to app stores or app downloads.

WhatsApp detects the platform and offers the appropriate download link. I believe they use user agents to detect platform, because you can change the link offered by changing your user agent in Chrome developer tools. See: https://chat.whatsapp.com/blah

If I click download on iPhone I should go to the app store, on Android I should go to the play store, and on desktop I should get the appropriate file download.

We should do this the way WhatsApp does however possible, since they have been exposed to all the edge cases.

We could check if Signal does this too and look at their code.

It is important that we not load any third-party scripts on this page, for privacy reasons.

holmesworcester avatar Mar 06 '23 13:03 holmesworcester

We should keep this requirement in mind too: https://github.com/TryQuiet/quiet/issues/1279#issuecomment-1464053904

holmesworcester avatar Mar 10 '23 16:03 holmesworcester

Note: the website is in the gh-pages branch of the quiet repo

holmesworcester avatar Jan 24 '24 22:01 holmesworcester

This is how links for platform detection are going to look on each platform:

Screenshot 2024-10-01 at 14 13 43 Screenshot 2024-10-01 at 14 13 59 Screenshot 2024-10-01 at 14 14 13 Screenshot 2024-10-01 at 14 14 29 Screenshot 2024-10-01 at 14 14 40 Screenshot 2024-10-01 at 14 28 28

kingalg avatar Oct 01 '24 13:10 kingalg

New instructions from Holmes:

all the download buttons go directly to the play store. I think a text link (no badges) is safer after all. It's closer to what we have now and closer to what I'm seeing whatsapp and signal are doing. It's also simpler. the link on desktop could go to a download page, so that people have some context and can learn about us. They could also choose to install it on their phones instead.

kingalg avatar Oct 03 '24 09:10 kingalg

@holmesworcester (I'm switching from Slack to keep all relevant info for those designs in one place and not lose it and to be able to tag Jason).

  1. I switched all desktops to the "Download" button, directing users to our Download section on the main page (so they can read more about the Quiet if they want).
  2. For iOS, we will direct people to AppStore (currently, it's a link to TestFlight).
  3. For Android, we want to direct people to the Play Store.

I've got a question about 3rd point; it may be to Holmes or @jgaylor - for Android, we have Play Store and APK. From what I get, there are quite a lot of users you interact with Holmes that don't get our app directly from the Play Store. In that case, I would give them both links, but that's up to you. Let me know which design A, B, or C you prefer and if you want to make any changes to the chosen version:

A. We give users both links and tell them where they will be moved to indicate that the first action is going to open the Play Store, and the second one starts downloading the APK immediately. Personally, I don't like how it looks, but I like clarity it gives. Screenshot 2024-10-03 at 12 19 59

B. It works the same as A (first link to Play Store, second to APK), but the first link says "Download" and doesn't explain to the user that it will open Play Store. Screenshot 2024-10-03 at 12 22 31

C. We ignore APK users and have only a link to the Play Store that says "Download". I don't like this option because if Android users don't want to use Play Store, they may think that we don't have the option to download directly and feel discouraged from using Quiet. Screenshot 2024-10-03 at 12 24 41

kingalg avatar Oct 03 '24 10:10 kingalg

Let's do the simple download link. I do interact with a lot of de-googled users, but they will figure out where to go. This link is for people who are easily confused by getting invited to a new app and not knowing where to go.

holmesworcester avatar Oct 03 '24 10:10 holmesworcester

Note: we can release this as soon as it's been reviewed!

holmesworcester avatar Oct 08 '24 19:10 holmesworcester