Page MenuHomePhabricator

Android PhoneGap app throws error and exits if opened when offline
Closed, ResolvedPublic

Description

Steps to repro:

  • go into 'airplane mode'
  • open Wikipedia

What happens;

Expected:

  • if last-seen page can't be loaded, show an error message inline
  • don't close the app -- let me retry at my leisure or browse my bookmarks

Version: 1.0.0 (Android)
Severity: normal

Details

Reference
bz32239

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:03 AM
bzimport set Reference to bz32239.
brion created this task.Nov 7 2011, 7:25 PM
brion added a comment.Nov 7 2011, 7:27 PM

This also happens while browsing -- if I already had an article open, then go into airplane mode, then navigate to a new page, I see the same error followed by the app exiting.

Then I'm stuck in the restart loop because it keeps trying to load the same unloadable page on restart.

brion added a comment.Dec 12 2011, 7:55 PM

Doesn't appear to die this way any more as of RC1.

However, if started for the first time while offline, it's not able to load the main page and shows an ugly 'web page not available' screen. Acceptable or no?

brion added a comment.Dec 12 2011, 7:58 PM

Broke that out to bug 32999