Custom Domain - Mobile App

Hi all. Newbie here so hopefully I’m not repeating the same old questions……

I have a custom domain (mydomain.com). I want a landing page made with bubble (mydomain.com/index) and a mobile app made with bubble also using a sub domain (app.mydomain.com/app_index).

What’s the best way to achieve this? Maybe it’s obvious but I don’t see how to divert the mobile users to app_index by default when they login.

Thanks!

You can get the width of an element in a workflow and “Do when condition is true”: Element’s width < 600 (or whatever you determine to be reasonable for a phone size) then navigate to the correct page if it is not already the current page which can also be determined by using bubble’s built in “This url” contains “app”.

1 Like

Fantastic. Thank you. Very much appreciated.