-
Notifications
You must be signed in to change notification settings - Fork 26
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
feat: improve permission handling (WPB-6154) #2655
feat: improve permission handling (WPB-6154) #2655
Conversation
Ups 🫰🟨This PR is too big. Please try to break it up into smaller PRs. |
Test Results811 tests - 6 811 ✅ - 6 16m 6s ⏱️ + 2m 21s Results for commit 24200e4. ± Comparison against base commit 0be4dc8. This pull request removes 6 tests.
♻️ This comment has been updated with latest results. |
Build 2836 failed. |
…ss_the_app' into improve_permission_handling_across_the_app
APKs built during tests are available here. Scroll down to Artifacts! |
Build 2837 succeeded. The build produced the following APK's: |
app/src/main/kotlin/com/wire/android/ui/calling/SharedCallingViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/main/kotlin/com/wire/android/ui/home/conversations/ConversationScreen.kt
Outdated
Show resolved
Hide resolved
…ss_the_app' into improve_permission_handling_across_the_app
APKs built during tests are available here. Scroll down to Artifacts! |
APKs built during tests are available here. Scroll down to Artifacts! |
APKs built during tests are available here. Scroll down to Artifacts! |
Build 2935 succeeded. The build produced the following APK's: |
…_handling_across_the_app # Conflicts: # kalium
…_handling_across_the_app # Conflicts: # kalium
Build 3028 succeeded. The build produced the following APK's: |
…_handling_across_the_app # Conflicts: # kalium
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #2655 +/- ##
===========================================
- Coverage 43.04% 42.92% -0.13%
===========================================
Files 405 408 +3
Lines 13487 13505 +18
Branches 2383 2388 +5
===========================================
- Hits 5806 5797 -9
- Misses 6998 7025 +27
Partials 683 683
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
APKs built during tests are available here. Scroll down to Artifacts! |
Build 3051 succeeded. The build produced the following APK's: |
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
We are not handling permission denial properly which makes some features not available.
Affected features:
video_1280.mp4
Solutions
Now we check the system to know if a permission is permanently declined. If so, we display a dialog informing the user that he needs to enable that permission from settings to use that feature.
screen-20240201-170935.mp4
Dependencies (Optional)
If there are some other pull requests related to this one (e.g. new releases of frameworks), specify them here.
Needs releases with:
Testing
Test Coverage (Optional)
How to Test
Briefly describe how this change was tested and if applicable the exact steps taken to verify that it works as expected.
Notes (Optional)
Specify here any other facts that you think are important for this issue.
Attachments (Optional)
Attachments like images, videos, etc. (drag and drop in the text box)
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.