-
-
Notifications
You must be signed in to change notification settings - Fork 437
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
Fixed: 3.9.0 Welcome screen does not run, and Kiwix does not prompt for permissions. #3618
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #3618 +/- ##
============================================
- Coverage 48.75% 48.69% -0.07%
+ Complexity 1091 1090 -1
============================================
Files 285 285
Lines 10556 10563 +7
Branches 1413 1415 +2
============================================
- Hits 5147 5144 -3
- Misses 4569 4578 +9
- Partials 840 841 +1 ☔ View full report in Codecov by Sentry. |
@MohitMaliFtechiz I can't produce this bug. But I tested/ reviewed the code. @kelson42 what should we do here? |
@gouri-panda I was also not able to reproduce the bug, It seems somehow the user's device kept the shared preference and database even user uninstalled the application. But the main bug the user was facing was when he clicked on the ZIM file from the library screen(which is showing due to it being in the database) then he saw the ZIM file not found error due to lack of |
I'm not in favour about fixing things that we don't understand or can not reproduce. Don't call anythin "NewAPI", use proper descriptive name. |
8325df9
to
0895c54
Compare
Dexription of this pr has not been updated… whatbis the purpose of it?! |
@kelson42 I have updated the PR description with videos. |
@MohitMaliFtechiz CI keeps failing… |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MohitMaliFtechiz @kelson42 The code looks good to me! But unfortunately, i can't produce this bug.
@kelson42 Now CI passed. |
…or permissions. * This commit addresses the scenario where, for any reason, shared preferences and the database are retained on the device, and the list of ZIM files is visible in the library. However, the `MANAGE_EXTERNAL_PERMISSION` is not found, and when a user attempts to open a file, the application lacks the necessary permission. To improve this scenario, we now prompt the user for permission if it is not available when opening ZIM files from the library. * Additionally, enhanced the behavior of the swipe refresh layout if the user clicks on the "NO" button in the permission dialog.
Fixes #3611
MANAGE_EXTERNAL_PERMISSION
is not found, and when a user attempts to open a file, the application lacks the necessary permission. To improve this scenario, we now prompt the user for permission if it is not available when opening ZIM files from the library.Issue
PermissionAndLoadingIconIssue.mp4
Fix
PermissionAndLoadingIconFix.mp4