You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2012/04/25 01:08:35 UTC
docs commit: [CB-534] added iOS quirk regarding
navigator.network.connection.type
Updated Branches:
refs/heads/master 28c4f272e -> 0369e90ec
[CB-534] added iOS quirk regarding navigator.network.connection.type
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/0369e90e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/0369e90e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/0369e90e
Branch: refs/heads/master
Commit: 0369e90ec3fa099604daa26e6180a8fb9a653737
Parents: 28c4f27
Author: Fil Maj <ma...@gmail.com>
Authored: Tue Apr 24 16:10:50 2012 -0700
Committer: Fil Maj <ma...@gmail.com>
Committed: Tue Apr 24 16:10:50 2012 -0700
----------------------------------------------------------------------
docs/en/edge/cordova/connection/connection.md | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/0369e90e/docs/en/edge/cordova/connection/connection.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/connection/connection.md b/docs/en/edge/cordova/connection/connection.md
index c888441..7c796fb 100644
--- a/docs/en/edge/cordova/connection/connection.md
+++ b/docs/en/edge/cordova/connection/connection.md
@@ -3,7 +3,7 @@ Connection
> The `connection` object gives access to the device's cellular and wifi connection information.
-This object is accessed under the navigator.network interface.
+This object is accessed under the `navigator.network` interface.
Properties
----------
@@ -27,3 +27,10 @@ WP7 Quirk
- __type:__
Windows Phone Emulator always reports navigator.network.connection.type is Connection.UNKNOWN
+iOS Quirk
+---------
+
+- __type:__
+iOS can only report whether the device is on a cellular connection, not
+of what type, thus it will always report as CELL_2G
+