browser-detect
browser-detect copied to clipboard
Wrong browser detection with Cordova on Android 6.0
Hello.
I'm building a hybrid APP with Cordova and the package is giving me a wrong detection.
User Agent:
Mozilla/5.0 (Linux; Android 6.0; MotoG3 Build/MPIS24.65-33.1-2-16; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/68.0.3440.91 Mobile Safari/537.36
Detected:
{ "name": "safari", "version": "4.0.0", "versionNumber": 4, "mobile": true, "os": "Android 6.0", }
Probably related to #18.
We'll update a comment to #24, If we finished updating the agent parser.