-
Notifications
You must be signed in to change notification settings - Fork 145
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
iOS8 parse() crashes #55
Comments
I'm unable to reproduce this, could you check if |
Hi Arnout, My bad, I assumed that the structure agent.os.toJSON() returned would always contain a valid patch field, and with iOS8 devices it did not (undefined). I solved it by checking the validity first. Thanks for you time! (and sorry for wasting it) J* |
@jorisroling Oh, I would actually see that an issue. This library should just provide sane defaults. So |
Cheers! — On Mon, Sep 22, 2014 at 12:55 PM, Arnout Kazemier
|
Hi Arnout,
The Useragent string
"Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12A365 Safari/600.1.4"
crashes the parse() function.
I get:
[TypeError: Invalid Version: 8.0.undefined]
Cheers,
Joris
The text was updated successfully, but these errors were encountered: