[jira] [Resolved] (CB-7030) App crashes when internet is not present

2014-06-26 Thread Tha Leang (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-7030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tha Leang resolved CB-7030.
---

Resolution: Fixed

https://github.com/apache/cordova-plugin-network-information/commit/a5e9631258691890f08d94bc784f96aa304c2868#commitcomment-6809059

> App crashes when internet is not present
> 
>
> Key: CB-7030
> URL: https://issues.apache.org/jira/browse/CB-7030
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 3.5.0
>Reporter: Tha Leang
>
> App crashes when wi-fi is switched off. Then this message is displayed:
> Unfortunately [appname] has stopped.
> I tried tracing the problem, and from the method:
> exec(successCallback, errorCallback, "NetworkStatus", "getConnectionInfo", 
> []);
> it crashes while executing this line:
> var messages = nativeApiProvider.get().exec(service, action, callbackId, 
> argsJson);



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-7030) App crashes when internet is not present

2014-06-26 Thread Tha Leang (JIRA)
Tha Leang created CB-7030:
-

 Summary: App crashes when internet is not present
 Key: CB-7030
 URL: https://issues.apache.org/jira/browse/CB-7030
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.5.0
Reporter: Tha Leang


App crashes when wi-fi is switched off and this message is displayed:

Unfortunately [appname] has stopped.

I tried tracing the problem, and from the method:

exec(successCallback, errorCallback, "NetworkStatus", "getConnectionInfo", []);

it crashes while executing this line:

var messages = nativeApiProvider.get().exec(service, action, callbackId, 
argsJson);



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CB-7030) App crashes when internet is not present

2014-06-26 Thread Tha Leang (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-7030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tha Leang updated CB-7030:
--

Description: 
App crashes when wi-fi is switched off. Then this message is displayed:

Unfortunately [appname] has stopped.

I tried tracing the problem, and from the method:

exec(successCallback, errorCallback, "NetworkStatus", "getConnectionInfo", []);

it crashes while executing this line:

var messages = nativeApiProvider.get().exec(service, action, callbackId, 
argsJson);

  was:
App crashes when wi-fi is switched off and this message is displayed:

Unfortunately [appname] has stopped.

I tried tracing the problem, and from the method:

exec(successCallback, errorCallback, "NetworkStatus", "getConnectionInfo", []);

it crashes while executing this line:

var messages = nativeApiProvider.get().exec(service, action, callbackId, 
argsJson);


> App crashes when internet is not present
> 
>
> Key: CB-7030
> URL: https://issues.apache.org/jira/browse/CB-7030
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 3.5.0
>Reporter: Tha Leang
>
> App crashes when wi-fi is switched off. Then this message is displayed:
> Unfortunately [appname] has stopped.
> I tried tracing the problem, and from the method:
> exec(successCallback, errorCallback, "NetworkStatus", "getConnectionInfo", 
> []);
> it crashes while executing this line:
> var messages = nativeApiProvider.get().exec(service, action, callbackId, 
> argsJson);



--
This message was sent by Atlassian JIRA
(v6.2#6252)