ua-parser-js
ua-parser-js copied to clipboard
ios specific mobile user-agent does not working.
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
ua-parser-version
"^0.7.22" / "^0.7.28", -> Both versions are reproduced.