0

I'm working on several android and ios apps and I'd prefer deep links like this:

https://my-domain.com/app1/link1
https://my-domain.com/app1/link2
https://my-domain.com/app2/link1
https://my-domain.com/app2/link2

instead of:

https://app1.com/link1
https://app1.com/link2
https://app2.com/link1
https://app2.com/link2

Is the first approach doable on both platforms? Or should/need I pick the second one and register separate domains for each app?

2 Answers2

0

You can detect if the user have a Android device or iOS device from your website and build redirection depending which device have the user Check if PHP-page is accessed from an iOS device

Benjamin
  • 401
  • 1
  • 3
  • 16
  • I meant does android and ios both support deep links on the form https://my-domain.com/app1/link1 etc. I'd prefer not to register a multitude of domains for all apps (I want to use "my-domain.com/appX" instead). –  Nov 29 '18 at 16:51
0

You can do it the way you want, but if your apps have different database connections, your backend may become a mess.

I'd recommend you look into subdomains, like

https://app1.my-domain.com/link1

iagowp
  • 2,428
  • 1
  • 21
  • 32