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
Open links to Nextcloud files in the app #1069
Comments
Unfortunately no :( Sorry 😿 PS: Like you pointed out, it work for youtube since there domain is fixed... |
Damn :( that will then be a major drawback. I gjess it's also not possible with wildcards like saying all cloud.. domains could work? Also not possible on iOS @marinofaggiana? |
This is actually possible but needs to be done on the server side first. If user-agent is ours, just rewrite all links inside NC instance to point to something like nc://serverpath/filepath and we can do it :P |
@mario how can this be achieved? :) |
Ah well, yeah, custom protocol works and is already in place, but that wouldn't be a classic http/https hyperlink... |
@AndyScherzinger sure, but why does it has to be? The general idea is to get this feature. This is how it can be done. Server:
|
@mario that depends on the source, from what I understood:
that would mean it is a Nc generated mail which would then need to put in a "web-URL" and an "app-URL". Then of course it could work. Furthermore if you would browse the webUI with your mobile device we can't detect if the app is installed so if it is not installed the user would still need to get http/https links to be able to navigate to the file, right? I am not against having this feature rather it opposite. I think this would be really great and offer a more seamless integration on the device. My point was rather about me not seeing how we can implement this, since youtube works because it is a single domain where a standard, hard-coded http/https+tld-domain filter works. |
Aaah I think I understand what @mario means. The web app knows if it's an instance you have access to and could offer an »Open in app« link. :) |
@jancborchardt that would work of course 👍 |
Btw. i forgot to comment on this ... we can know if an app is installed by checking if we have something that can handle nc:// ;) |
Nextcloud can :) Since we already have this for Login-URLs 😁 |
#2562 can be referenced. |
Is it possible to get deep linking working on Android or iOS? I need links like https://cloud.example.nl/nextcloud/index.php/f/2872 to be opened on mobile phones with the NextCloud App. What is the status of this request? |
We really need this functionality too. From a business perspective it completely ruins our users' workflow. Because we use 2FA it's incredibly cumbersome to open links from email in the browser. Please please fix this, thank you. |
As stated before and in the referenced issues too: standard |
This may be possible with a branded app, which we offer as part/extension to our Enterprise subscription (https://nextcloud.com/enterprise/). Technical background: if the server url is given, Android can bind an url to an app: |
Is there an example how this nc:// link will look like? I think if the the coherent link to
Would look like
Then you could easily create links manually that work with the app until what @mario stated is implemented:
|
This is actually working but broken for Android 12 - see #9346 |
When you get a link to a file it's opened in the browser. When it's a local link or file you have access to on a server you know, it could be opened in the Android app, right?
Much like for example Youtube has a hook to open Youtube links from emails in the Youtube app. The tricky part of course is that the domains are variable since Nextcloud is self-hosted. Is there a way to register the domains from your accounts for this?
The text was updated successfully, but these errors were encountered: