Skip to content

Gem can't tell if user is using ios, iphone or iPad when 'Request Desktop site' is turned on. #547

Closed
@renatomolina

Description

@renatomolina

Description

browser.platform.ios? returns false when user is using the browser in a iOS but using 'Request Desktop site' option on Chrome.

How to reproduce

  1. Select Request Desktop site option on Chrome
  2. Load the page

What do you expect

Method should return true

What happened instead

Method returns false

Software:

  • Rails version: 7.0.8.1
  • Browser gem version: 5.3.1

Full backtrace

n/a

Report

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions