Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show permission error dialog only when storage permission is denied or missing #6840

Merged
merged 1 commit into from
Dec 24, 2021

Conversation

aswin-s
Copy link
Contributor

@aswin-s aswin-s commented Dec 20, 2021

Details

Fixes a bug on android devices where permission error dialog was shown even when storage permission is allowed by the user.

Fixed Issues

$ #6613

Tests

  1. Open app in an Android device.
  2. Open a conversation with an attachment in it.
  3. Tap on the attachment to view it in Attachment view
  4. Tap on download icon to download the attachment.
  5. Download success message should be shown.
  6. Now kill the app, remove storage permission for New Expensify from settings.
  7. Repeat steps 2-4.
  8. Tap on Deny when os dialog for file permission is shown.
  9. Tap on deny button to deny permission.
  10. Permission error dialog should be shown to user.

QA Steps

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

permission.mp4

@aswin-s aswin-s requested a review from a team as a code owner December 20, 2021 19:42
@MelvinBot MelvinBot requested review from parasharrajat and thienlnam and removed request for a team December 20, 2021 19:42
Copy link
Member

@parasharrajat parasharrajat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the change only affects native devices, I am skipping screenshot check for other platforms.

LGTM.

cc: @thienlnam

@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging by @thienlnam in version: 1.1.23-2 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 failure ❌
🍎 iOS 🍎 failure ❌
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

OSBotify commented Jan 4, 2022

🚀 Deployed to production by @francoisl in version: 1.1.24-8 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants