Check if user device is mobile (or not desktop)

Hi - I’m looking for a way to check if the user is on a mobile device on page load so that I can show a splash screen that the tool i’m building is best used on desktop.

I tried this “isMobile” plugin, but it doesn’t work (https://bubble.io/plugin/ismobile-1529450845102x753311524391485400)

Any ideas? thanks!

Hey @kyleharryjohnson,

I’d just use the “Current Page Width” option and make it show when the width is smaller than ‘x’.

1 Like

Thank you! I didn’t think of this.

I spoke too soon.

I set the condition to page width < 1000 and i’m being directed to the splash screen on a 32" monitor. :confused:

Maybe try making it less than 324px? Is that any better? Is your window in full screen?

1 Like