Open Nextcloud Links with the Android Nextcloud app instead with browser

Hello,
I’m a little bit confused because there is a GitHub post from schiessle that they found a solution to get Nextcloud Links to open with the Android Nextcloud app and not with the browser (this was not working since android 12/13).
The GitHub post is here

there is an update from 2023 that the problem was fixed with a beta version

and that is not longer a server problem

But I’m using the newest Android (3.31.1) and Nextcloud 30.
If I get a nextcloud link the browser used and not the nextcloud app nor get I a notification that I can decide if I want to use the browser or nextcloud app.

So what did I understand wrong in the Github post? Should this work or not and what are the prerequisites? Because the post sounds like “this works out of the box with the new android client”.

I talk about links, for example internal nextlcloud links that should open with the nextcloud app and not the browser.

Would be great if someone can help me.
Thanks.

3 Likes

Hi, is there really no one who has an explanation or the same question? Am i the only one who wants to open internal links directly with the App and not with the browser?

It would be great if someone can help me.
Thanks a lot.

2 Likes

Just to add additional context, I also located these issues (below) which relate to setting up an assetlinks.json file in the .well-known directory. This has been completed, and the file is accessible, but the app still does not open when a share link is used.

You’re not the only one. I just ran into this issue today. Sent someone a share link directly to a file and instead of opening in the app on their phone, it opened the browser instead (where they’re not already logged in). I also came across these same GitHub issues and it looked to me like this was resolved years ago.

Any idea why this isn’t working now? Does something need to be enabled on the server or app side?

Hi,
great that I’m not alone :smiley:
But I really don’t understand why nobody else is talking about that.
do we really need enterprise support to get any answer?

Or do we have to write in Github?

EDIT:
I found this new documentation

but there is one question. How get I the cert fingerprint of the nextcloud android app? do I understand it correct, that this fingerprint is needed or is this fingerprint always the same and its the cert fingerprint that is mentioned in the linke above?

1 Like

I’ve never tested this myself, but I’d say the certificate fingerprint refers to the fingerprint of the SSL certificate used by your Nextcloud server. You can get it from the command line with:

openssl x509 -in /path/to/cert.pem -noout -fingerprint -sha256

Alternatively, you can find it in your browser. For example, in Firefox:
Click the lock icon in the address bar → More Information → Show Certificate.

Here’s an example from this website (the fingerprint is shown at the very bottom of the screenshot):