Title: Universal URL for deep linking process | Android | iOs | Web
Tags: android;ios;web;deep-linking
Question: I have a problem related to the deep linking process. I need to create a Universal URL and send it to the end users on their email address that should fulfill the following conditions.


If the email is open in an android phone then that link should open my app(with custom data) otherwise redirect to Play Store for installing my application.
If the email is open in an iOs phone then that link should open my app(with custom data) otherwise redirect to Apple iTunes Store for installing my application. 
If the email is open in Web (Desktop browser) then that link should open my website with(a specific URL).




Here is another answer: You can use Firebase Dynamic Linking for this, see : 
Firebase Dynamic Linking


{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2019:00:02/14/19', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<android><ios><web><deep-linking>', 'Title': 'Universal URL for deep linking process | Android | iOs | Web', 'ViewCount': 236, 'id': 54685670, 'user_AboutMe': '<p>My name is Sachin Kumar and I am a full-stack Web Application Developer and Software Developer, currently living in Ambala, Haryana(India). I have a Master of Computer Science from Kurukshetra University, and my primary focus and inspiration for my studies are Web Development. I am both driven and self-motivated, and I am constantly experimenting with new technologies and techniques. I am very passionate about Web Development and strive to better myself as a developer, and the development community as a whole.</p>\n<p><strong>Languages List</strong></p>\n<p>I have been studying web development since 2012 and I develop in C, C++, and PHP, though I primarily use PHP. I am experienced in both front and back-end development, and I am proficient in JavaScript, jQuery, Node, SQL/MySQL/NoSQL, Angular, React, Vue.js, and various PHP frameworks such as Laravel, CodeIgniter, CakePHP3, Symfony, Yii2, and Phalcon.</p>\n<p><strong>Key Skills</strong></p>\n<ul>\n<li><strong>Programming Languages</strong>: PHP and NodeJs.</li>\n<li><strong>Databases</strong>: MySql, SQL, MongoDB.</li>\n<li><strong>Web Technologies</strong>: HTML, CSS, JavaScript, jQuery, Typescript, PWA, Service Workers, Web notification.</li>\n<li><strong>Web/Application Server</strong>: Apache, Redis.</li>\n<li><strong>Backend Frameworks</strong>: LARAVEL 5.0(or above), CakePHP 3.O, Codeigniter 3, RestAPIs using OAuth 1.0 and 2.0 protocol, Node Js, Google Firebase.</li>\n<li><strong>Frontend Frameworks</strong>: AJAX, Angular 2(or above), React 16, Redux, RxJs, Express.js, Vue.js.</li>\n<li><strong>Version control system</strong>: Git.</li>\n<li><strong>Operating Systems</strong>: Windows, Linux</li>\n<li><strong>Design Pattern</strong>: MVC.</li>\n<li><strong>API client</strong>: Postman.</li>\n<li><strong>Code editor</strong>: Sublime Text, Visual Studio Code.</li>\n</ul>\n', 'user_AccountId': 9680476.0, 'user_DisplayName': 'Sachin Kumar', 'user_Reputation': 2761.0, 'user_Views': 413.0, 'user_id': 7182381.0}}