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

DeepLinks Issue in Linux. #110

Open
aarshman-mufin opened this issue Mar 22, 2024 · 3 comments
Open

DeepLinks Issue in Linux. #110

aarshman-mufin opened this issue Mar 22, 2024 · 3 comments

Comments

@aarshman-mufin
Copy link

I integrated the app_links properly in the desktop application and it is working fine with Windows and macOS.
I created the .deb installer with Flutter Distributor.
I added some postInstall scripts to create a .desktop file and place it in ~/.local/share/applications/
The post_install scripts ran successfully, i also executed the command update-desktop-database ~/.local/share/applications/
I checked the scheme with xdg-mime default yourapp.desktop x-scheme-handler/yourcustomscheme
It showed the scheme and it was properly configured.

The only thing that was not working was xdg-open yourcustomscheme://test
When i opened the url which i wanted to be captured, i did got a prompt to open with xdg-open but upon clicking open, the application didn't captured the link but i was able to see it in the console.

gio: mustmate://login: The specified location is not supported,

A clear and concise description of what the bug is.

Does it related to

[ ] App Links (Android)
[ ] Deep Links (Android)
[ ] Universal Links (iOS)
[ ] or Custom URL schemes? (iOS)
[ ✔️] or Custom URL schemes? (Linux)

Does the example project work?

[ ] Yes
[ ] No
[ ✔️] Irrelevant here

Did you fully read the instructions for the targeted platform before submitting this issue?
Yes

Uploaded your files to webserver, HTTPS, direct connection, scheme pattern setup, ...

[ ] Yes
[ ] No
[✔️ ] Irrelevant here

@aarshman-mufin
Copy link
Author

Anyone has faced this issue? or got a workaround for this?

@llfbandit
Copy link
Owner

I'm not familiar with Linux but Linux code was refactored in version 6.0. It may worth a try.

@liquidiert
Copy link

Hey @aarshman-mufin did you check your exec path is correct?

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

No branches or pull requests

3 participants