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

Avoid crash on iOS 18 #999

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

BPerlakiH
Copy link
Collaborator

@BPerlakiH BPerlakiH commented Oct 5, 2024

Related to: #993

On iPad 18.1 the following webView function is deprecated, and leads to a crash:
Screenshot 2024-10-05 at 21 25 58

Whereas deleting the book does work on 18.1 (simulator):

ipad_18.1_sim.mov

and it seems that unlinking the book also works on 18.1 (simulator):

ipad_18.1_sim_unlink.mov

Will test on device as well..

@BPerlakiH BPerlakiH added this to the 3.6.0 milestone Oct 5, 2024
@BPerlakiH BPerlakiH linked an issue Oct 5, 2024 that may be closed by this pull request
@BPerlakiH BPerlakiH force-pushed the 993-deleting-a-book-should-delete-related-tabs branch from 845654b to ec101e5 Compare October 5, 2024 19:42
@codecov-commenter
Copy link

codecov-commenter commented Oct 5, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 39.12%. Comparing base (c25cbff) to head (ec101e5).

Files with missing lines Patch % Lines
Views/BuildingBlocks/WebView.swift 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #999      +/-   ##
==========================================
- Coverage   40.00%   39.12%   -0.89%     
==========================================
  Files         114      114              
  Lines        6471     6472       +1     
==========================================
- Hits         2589     2532      -57     
- Misses       3882     3940      +58     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@BPerlakiH
Copy link
Collaborator Author

BPerlakiH commented Oct 5, 2024

Tested on iPadOS 18.0.1, and both delete and unlink work as expected.

@kelson42 kelson42 merged commit 1f28cbd into main Oct 6, 2024
4 checks passed
@kelson42 kelson42 deleted the 993-deleting-a-book-should-delete-related-tabs branch October 6, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deleting a book should delete related tabs
3 participants