[ 
https://issues.apache.org/jira/browse/CB-10789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15181372#comment-15181372
 ] 

Sarangan Rajamanickam commented on CB-10789:
--------------------------------------------

Link: https://github.com/apache/cordova-plugin-network-information#connection 

"The connection object, exposed via navigator.connection, provides information 
about the device's cellular and wifi connection."

You have to access Connection from navigator (as the connection object is 
exposed as navigator.Connection)

Resolving this JIRA as no more action is required. 

> 'Connection' undefined
> ----------------------
>
>                 Key: CB-10789
>                 URL: https://issues.apache.org/jira/browse/CB-10789
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Network Information
>            Reporter: Zeph Davies
>
> The "Connection" object is undefined.
> Everything else about the plugin works correctly. I have to define the 
> "Connection" object myself for it to work.
> The Connection.js exists in the platform directly, so the plugin is loaded 
> correctly. It seems to have not been exported correctly.
> Is there a way to access it from another location, such as 
> navigator.Connection ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to