Mobile Redirect

get_mobile_redirect_user_agents

You should cache the request for 24 hours. It is not a solution to request this method every time a customer requests a page on the online store.

See get_mobile_redirect_user_agents reference.