jellyfin / jellyfin-expo

Jellyfin Mobile for iOS
https://jellyfin.org
Mozilla Public License 2.0
288 stars 65 forks source link

Deep link URL scheme integration #466

Open palaandrew opened 8 months ago

palaandrew commented 8 months ago

Documentation or inclusion of the deep link URL scheme for website URL linking to the app would benefit navigation to the app.

I tried to find it, but couldn't seem to get it to work via HTML/JS using 'jellyfin://'. Providing this deep link URL scheme can help in integrating the app with websites and other platforms.

anthonylavado commented 8 months ago

It currently does not have a deep link. I'm not sure if we can set one with Expo? I still need to look into building in Xcode without their managed service.

This may be possible/easier to do in the Swiftfin app though.

Cyberbeni commented 4 months ago

It is possible to configure url schemes in app.json: https://docs.expo.dev/guides/linking/#linking-to-your-app

The app's bundle identifier is automatically registered as a URL scheme, so you can use org.jellyfin.expo:// @palaandrew

I would prefer having the jellyfin:// url scheme because opening a universal link from the browser defaults to just opening that link in the browser, only opening the link in a different app redirects instantly to Jellyfin. (But also having universal link support wouldn't hurt.)

There is a related issue for this for the Android client too: https://github.com/jellyfin/jellyfin-android/issues/903