-
-
Notifications
You must be signed in to change notification settings - Fork 473
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: PlayStore showing deep linking issue for URLs schema. #3824
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3824 +/- ##
============================================
- Coverage 53.34% 53.26% -0.09%
+ Complexity 1319 1315 -4
============================================
Files 292 292
Lines 11067 11067
Branches 1471 1471
============================================
- Hits 5904 5895 -9
- Misses 4191 4195 +4
- Partials 972 977 +5 ☔ View full report in Codecov by Sentry. |
@kelson42 The deep linking issue is resolved now since the file is uploaded to the server. However, the action for this type of deep link is not properly defined in the application. Currently, if we click on this type of link on our phone then it takes us to the search screen. But IMO it is not the right behavior for URLs type links. See the video. DeepLinkUrl.mp4IMO, it should take user to the download screen since it is a URL. What do you think? |
I hardly understand why it does not open the welcome page of the zim - the user just clixked on - indeed!! Pretty sure all of this was working fine. Please create complete test set for this. |
@kelson42 I think here is some confusion, The user clicks on the URL not on the ZIM file.
Yes, we are handling the scenario where the user clicks on the zim file in his storage. The Zim file will open in the reader if a user clicks on the zim file.
Here, it is a link to the Zim file, not the path or URI of the zim file so that we can open the zim file in the reader. The deep link of URL types was probably introduced for opening the download screen but the handling is missing for this schema type. However, if you want this scenario if a user clicks on the link then open the corresponding zim file reader and open the welcome page of zim file. so for this, we can make modifications to our code. But it has some edge cases:
|
@MohitMaliFtechiz If someone clicks on an http link leading to a ZIM (outside Kiwix) then nothing special should happen. The file should just be downloaded like any other. |
…or opening zim files in the application, and URLs type deep links are for downloading the content not for opening the ZIM files so we are removing these deep links from our application.
What should we do with this Pr? |
@kelson42 I have removed the URL type deep link from the application, and updated the PR description also, to fix the deep link issue reported by the plasytore we need to merge this PR. |
Fixes #3808