Unable to detect Firefox android device_type and newly launched devices
Opened this issue · 0 comments
jigarkakadiya commented
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