Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to detect Firefox android device_type and newly launched devices #57

Open
jigarkakadiya opened this issue Jun 14, 2019 · 0 comments

Comments

@jigarkakadiya
Copy link

jigarkakadiya commented Jun 14, 2019

user_agent = 'Mozilla/5.0 (Android:9; Mobile; rv:67) Gecko/67.0 Firefox/67.0'
=> "Mozilla/5.0 (Android:9; Mobile; rv:67) Gecko/67.0 Firefox/67.0"
client = DeviceDetector.new(user_agent)
=> #<DeviceDetector:0x007fd28ab04d20 @user_agent="Mozilla/5.0 (Android:9; Mobile; rv:67) Gecko/67.0 Firefox/67.0">
[14] pry(main)> client.os_name
=> "Android"
pry(main)> client.name
=> "Firefox Mobile"
[15] pry(main)> client.device_type
=> nil
pry(main)> client.device_name
=> nil

@jigarkakadiya jigarkakadiya changed the title Unable to detect Firefox android device_type Unable to detect Firefox android device_type and newly launched devices Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@jigarkakadiya and others