cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lindsey Simon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-3750) InAppBrowser: Can We Haz Loading Spinner?
Date Tue, 11 Jun 2013 05:26:22 GMT

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

Lindsey Simon commented on CB-3750:
-----------------------------------

Actually, I think this can be made irrelevant by using the Notification plugin on Android.

i.e. 

inAppBrowser.addEventListener('loadstart', function() {
  navigator.notification.activityStart('', 'Loading ...');
}, false);
inAppBrowser.addEventListener('loadstop', function() {
  navigator.notification.activityStop();
}, false);

Works great for me!
                
> InAppBrowser: Can We Haz Loading Spinner?
> -----------------------------------------
>
>                 Key: CB-3750
>                 URL: https://issues.apache.org/jira/browse/CB-3750
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin InAppBrowser
>    Affects Versions: 2.5.0, 2.6.0, 2.7.0, 2.8.0
>         Environment: Android (at least)
>            Reporter: Lindsey Simon
>            Assignee: Steve Gill
>
> I'm using the InAppBrowser to open a Google/Facebook OAuth login screen. In order for
that to work it first opens an URL on my server and then redirects to the proper provider
endpoint.
> When the internet is slow this results in a pretty lousy user experience as the InAppBrowser
doesn't seem to have any loading indicator - which made me think it wasn't working, and then
I clicked Done prematurely. I suspect my users will do the same and not try a second time
and my app is DOA.
> Am I missing anything here by chance? 
> Any advice on how to get a loading indicator in the least-intrusive way?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message