focus-android
focus-android copied to clipboard
First download on a fresh install doesn't work on Pixel
Steps to reproduce
- Install the app or clear the app data to restore the app permission.
- Try downloading a file. I tried from file-examples.com or https://storage.googleapis.com/mobile_test_assets/test_app/downloads.html
- Allow storage access permissions.
- 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
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
Cannot reproduce it anymore. The firebase tests also haven't reported this in a month. closing for now.