From my own app I want to send users to a specific app page in F-Droid, I am already ensuring that the F-Droid is installed on the user’s device. What’s the best way to do link straight to the app listing in the F-Droid client? Is there a URL format, or Intent I could use?
These are the ways I’ve found so far:
I noticed the F-Droid client has a scheme in AndroidManifest.xml, so I did this:
And it worked. Hopefully this is correct and intended, or is this something I should avoid?
I could just link to the F-Droid web URL, which would open in the user’s browser and they could then open it in the F-Droid client themselves.
That works too. I can do this, but am hoping to make it convenient for the user and take them straight to the F-Droid app page.
I was able to do this too, it gives a choice between Play Store and F-Droid. The only issue might be, users accidentally choose the Play Store and end up on a non-existent page.
Is there an Intent() way to directly open the F-Droid client to a specific app page?