Merge pull request #2225 from matiaspando/bug/supportAndroid412

Allow Android versions prior to 4.2
This commit is contained in:
Matias Alejo Garcia 2014-12-31 11:33:08 -03:00
commit faf8f405eb
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ if (!ls || ls.length < 1)
if (window && window.navigator) {
var rxaosp = window.navigator.userAgent.match(/Android.*AppleWebKit\/([\d.]+)/);
var isaosp = (rxaosp && rxaosp[1] < 537);
if (isaosp)
if (!window.cordova && isaosp)
unsupported = true;
}