I am currently developing a web application and have implemented a check to determine whether the user is accessing it from a mobile device or laptop.
Let's consider the link as: my-site.com
In addition to the web version, my site also offers a mobile application for Android and iOS. When a user with the Android app installed clicks on the "Start" button, it opens the link within the app.
My Objective:
I aim to have the "Start" button open the Play Store link if the Android app is not installed, and take the user to the app if it is already installed.
Current Strategy:
I currently have checks in place to differentiate between mobile devices and have specific actions for Android and iOS. However, I am looking for a solution to redirect users to the appropriate app store if the app is not installed.