You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "onkar (JIRA)" <ji...@apache.org> on 2016/02/09 13:26:18 UTC

[jira] [Comment Edited] (CB-10407) InAppBrowser not firing loadstart event on android

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

onkar edited comment on CB-10407 at 2/9/16 12:25 PM:
-----------------------------------------------------

I still facing the same issue in android device with version 5.1.1, i have added latest version of "cordova-plugin-inappbrowser" plugin 1.3.0.

Blank window opens up and when i go back this logs apears.

Error in Success callbackId: InAppBrowser1834279798 : ReferenceError: loginWindow_loadStopHandler is not defined

Uncaught ReferenceError: loginWindow_loadStopHandler is not defined
loginWindow_exitHandler @   openfb.js:142
Channel.fire    @   cordova.js:822
InAppBrowser._eventHandler  @   inappbrowser.js:47
cb  @   inappbrowser.js:104
cordova.callbackFromNative  @   cordova.js:293
processMessage  @   cordova.js:1081
processMessages @   cordova.js:1104
pollOnce    @   cordova.js:973
pollOnceFromOnlineEvent @   cordova.js:960


was (Author: onkarjanwa):
I still facing the same issue in android device with version 5.1.1, i have added latest version of "cordova-plugin-inappbrowser" plugin 1.3.0.

Blank window opens up and when i go back this logs appreas.

Error in Success callbackId: InAppBrowser1834279798 : ReferenceError: loginWindow_loadStopHandler is not defined

Uncaught ReferenceError: loginWindow_loadStopHandler is not defined
loginWindow_exitHandler @   openfb.js:142
Channel.fire    @   cordova.js:822
InAppBrowser._eventHandler  @   inappbrowser.js:47
cb  @   inappbrowser.js:104
cordova.callbackFromNative  @   cordova.js:293
processMessage  @   cordova.js:1081
processMessages @   cordova.js:1104
pollOnce    @   cordova.js:973
pollOnceFromOnlineEvent @   cordova.js:960

> InAppBrowser not firing loadstart event on android
> --------------------------------------------------
>
>                 Key: CB-10407
>                 URL: https://issues.apache.org/jira/browse/CB-10407
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin InAppBrowser
>    Affects Versions: 5.4.0
>         Environment: Android API 21
>            Reporter: andyz
>              Labels: Android, Triaged
>
> loadstart event is not firing. there are no issues with loadstop and exit.
> Simple snippet:
> var ref = cordova.InAppBrowser.open('http://www.google.com', '_blank');
> ref.addEventListener('loadstart', function (event) { alert('started'); });
> ref.addEventListener('loadstop', function (event) { alert('stopped'); });
> only the 'stopped' alert is fired.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org