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

Add OS Detection for Dynamic Rules #2274

Open
spencerryan opened this issue Nov 20, 2024 · 2 comments
Open

Add OS Detection for Dynamic Rules #2274

spencerryan opened this issue Nov 20, 2024 · 2 comments
Labels
Milestone

Comments

@spencerryan
Copy link

Summary

It would be very beneficial for us to be able to redirect based on if a user is on Windows or OSX. It appears there are a variety of other PHP libraries that do what mobiledetectlib does but with expanded functionality.

https://github.com/foroco/php-browser-detection seemed the most direct replacement while gaining the functionality to know what OS the device is running.

Use case

We use shlink as an URL shortener for our employees, and in many cases it links to software used for BYOD (Bring your own device) users. Often that software will have different download pages for the Windows vs OSX builds, and we want to have one short URL that redirects to the right download page based on OS.

@acelaya
Copy link
Member

acelaya commented Nov 20, 2024

Thanks.

I added an entry here #2101 (comment). Feel free to up-vote so that I can prioritize.

@acelaya
Copy link
Member

acelaya commented Nov 28, 2024

I have migrated to a different visitor device detection library which will enable this feature #2294

@acelaya acelaya added this to the 4.4.0 milestone Nov 28, 2024
@acelaya acelaya moved this to Todo in Shlink Nov 30, 2024
@acelaya acelaya modified the milestones: 4.4.0, 4.5.0 Dec 2, 2024
@acelaya acelaya removed the status in Shlink Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants