GitHub user cantecim opened a pull request:
https://github.com/apache/cordova-plugin-network-information/pull/29
Solved toLowerCase issue with Locale.US
There was an issue with toLowerCase method which causes if conditions to
fail because of user locale
For example: In turkish locale lower case form of WIFI is wıfı. Which
means "wifi" == "wıfı" condition is never true. Using US Locale with
toLowerCase methods solves the problem as you can see
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cantecim/cordova-plugin-network-information
master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-network-information/pull/29.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #29
----
commit c40e579c5aa4e77a4695040b44ce3aa427429a1e
Author: Can Tecim <[email protected]>
Date: 2015-07-26T18:11:52Z
Solved toLowerCase issue with Locale.US
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]