Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support adding servers when users already have the app #2840

Open
ghost opened this issue Dec 7, 2016 · 3 comments
Open

Support adding servers when users already have the app #2840

ghost opened this issue Dec 7, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 7, 2016

** Discussed with Ben, Vinicius and Cassidy **

If the user DOES NOT have the uProxy app installed (the majority of cases), the link that we will ask them to click through will take them to the Play Store, and the server will be automagically added to the app by virtue of the referrer data passed along to the Play Store.

If the user DOES have the app installed, we need a way for the user to add the server to it. The link mentioned above will not work because they already have the app. Right now the app doesn't have a way to add servers to itself. It's on those instances that we would like to have a link that actually does the magic of adding the server to the app.

Phase 1: Support users who are on mobile devices
We want the access code to be coded on a "uproxy://" prefix, so that hopefully it will not be opened by the browser and will instead be managed by the uProxy app. This covers users receiving the invite code through instant messaging applications, SMS or email (provided they open the email on their mobile device). We will message users that they can only open this link when on their mobile devices.

Phase 2: Support users who are on desktop
For them, the uproxy:// link will clearly not work. Instead, for those users, we we want to display a QR code. QR codes will entice the user to grab the phone and point it towards the computer. The QR code will translate into the uproxy:// url mentioned above -- but since at that point it will be opened on the mobile device with the app, that will work.

Sidenote on Phase 2: Right now, given the length of the invite link, generating a QR code for it means having a rather large and detailed image. Prior to launching a QR code approach, we will probably want to have worked on shortening the invite links.

@ghost
Copy link
Author

ghost commented Dec 7, 2016

BTW, Ben found some tentative evidence that there is some CSS wizardry that can be done to get emails to 'dynamically' show different content (a uproxy:// link vs a QR code) based on their device on which they are being opened.

@fortuna
Copy link
Contributor

fortuna commented Dec 9, 2016

FYI, this is also needed for users that install from the APK or other stores.

@fortuna
Copy link
Contributor

fortuna commented Dec 13, 2016

One other issue I found: if the user clicks on the link, and does not pick the uProxy app, then it will open the browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant