Gutenberg-mobile: [iOS] Media & Text block upload progress hangs with airplane mode

Created on 3 Apr 2020  Â·  1Comment  Â·  Source: wordpress-mobile/gutenberg-mobile

Describe the bug

Upload progress bar gets stuck when starting upload with :airplane: airplane mode on.

To Reproduce

  • Tap on the Media & Text block placeholder or edit button in the toolbar
  • Turn on :airplane: airplane mode
  • Tap option ‘Choose from device’ and choose an image

Expected:

You should see a failure message with an option to retry.

Actual:

Instead, the progress bar remains at the starting position, and never moves. However, tapping the image still provides an option to restart the upload.


Screenshot

Smartphone:

  • Device: iPhone11
  • OS: iOS 13.3.1

Additional context

The failure message sometimes briefly becomes visible, and then the block returns to a hung progress bar immediately afterwards. One possibility is that events from the parent app are somehow received over the bridge in the wrong order, though this has not been investigated.

Media [OS] iOS [Type] Bug

Most helpful comment

Nice work fixing this Gerardo! :tada:

>All comments

Nice work fixing this Gerardo! :tada:

Was this page helpful?
0 / 5 - 0 ratings