focus-android icon indicating copy to clipboard operation
focus-android copied to clipboard

First download on a fresh install doesn't work on Pixel

Open sv-ohorvath opened this issue 2 years ago • 1 comments

Steps to reproduce

  1. Install the app or clear the app data to restore the app permission.
  2. Try downloading a file. I tried from file-examples.com or https://storage.googleapis.com/mobile_test_assets/test_app/downloads.html
  3. Allow storage access permissions.
  4. Check if the download prompt appears.

Expected behavior

The download prompt appears and you can download the file.

Actual behavior

The first download after granting the app's permissions to access the storage won't work. The following attempts, once the permissions is set, will work fine.

Workaround: After step 3, if you switch to homescreen/another app, then return to Focus, the download prompt appears.

Device information

  • Android device: Pixel 2 (Android 9), Pixel 3 (Android 9), Pixel 2 (Android 11)
  • Not reproducible with: HTC 10 (Android 8), Samsung Galaxy Note 8 (Android 9)
  • Focus version: Beta 106.b1, Release 105.1.0

sv-ohorvath avatar Sep 23 '22 12:09 sv-ohorvath

LAtely the UI tests started failing on Pixel Android 11 as well and I assume it's the same issue. See https://github.com/mozilla-mobile/focus-android/issues/7742

sv-ohorvath avatar Oct 04 '22 12:10 sv-ohorvath

Cannot reproduce it anymore. The firebase tests also haven't reported this in a month. closing for now.

sv-ohorvath avatar Nov 11 '22 08:11 sv-ohorvath