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

Feat: mobile uni link support (android + ios) #6266

Merged
merged 8 commits into from Nov 4, 2023

Conversation

sahilyeole
Copy link
Contributor

@sahilyeole sahilyeole commented Nov 2, 2023

#4669
Connect to ID using uni/deep link on mobile

Format: rustdesk://[id] or rustdesk://connection/new/[id] or rustdesk://connect/[id] or rustdesk://play/[id]
Ex: rustdesk://13423325234 or rustdesk://connection/new/13423325234...

File transfer:
Format: rustdesk://file-transfer/[id]
Ex: rustdesk://file-transfer/13423325234

Works on cold boot as well as when the app is running in the background.

ios.uni.link.mp4
android.uni.link.mp4
Screen.Recording.2023-11-03.at.6.31.54.PM.mov

flutter/lib/common.dart Outdated Show resolved Hide resolved
flutter/lib/common.dart Outdated Show resolved Hide resolved
flutter/lib/common.dart Outdated Show resolved Hide resolved
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
@sahilyeole
Copy link
Contributor Author

sahilyeole commented Nov 2, 2023

Please use handleUriLink, let mobile and desktop support the same uri format.

Done

Format: rustdesk://[id] or rustdesk://connection/new/[id]
Ex: rustdesk://13423325234 or rustdesk://connection/new/13423325234

Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
@sahilyeole sahilyeole changed the title Feat/ mobile uni link support (android + ios) Feat: mobile uni link support (android + ios) Nov 3, 2023
@rustdesk rustdesk merged commit 6a281fb into rustdesk:master Nov 4, 2023
21 checks passed
@xlionjuan
Copy link
Contributor

I tested on Windows:

I use the "shortcut" option on Desktop and I founded out adding / at the end of the URL will cause ID not exist error with file-transfer URL, for example:

rustdesk://1234567890 OK
rustdesk://1234567890/ OK
rustdesk://1234567890/r OK
rustdesk://file-transfer/1234567890 OK
rustdesk://file-transfer/1234567890/ ID not exist error
rustdesk://file-transfer/1234567890/r OK

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

Successfully merging this pull request may close these issues.

None yet

3 participants