Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: Default to empty string if userAgent is empty #242
Bowser throws when userAgent is not a string. Default userAgent to empty string when it's empty fixes the issue.
Motivation and Context
This is to prevent non-browser app (React Native) from crashing.
Types of Changes