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

ios specific mobile user-agent does not working. #519

Closed
Inhye-Cheong opened this issue Sep 3, 2021 · 0 comments
Closed

ios specific mobile user-agent does not working. #519

Inhye-Cheong opened this issue Sep 3, 2021 · 0 comments

Comments

@Inhye-Cheong
Copy link

Inhye-Cheong commented Sep 3, 2021

Android's test case passes, but ios doesn't work.
I want to know the device and os information of ios.
Am I using this library something wrong?

Test Case

const iosTest = 'ios/iPhone/14.2/SOME_CUSTOM_APP_VERSION'
const andTest = 'Android/SM-A516N/10/SOME_CUSTOM_APP_VERSION/'

const uaForIos = new UAParser(iosTest).getResult() // not working
const uaForAnd = new UAParser(iosTest).getResult()

Result

image

ua-parser-version

"^0.7.22" / "^0.7.28", -> Both versions are reproduced.

faisalman added a commit that referenced this issue Mar 31, 2023
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

1 participant