fix(ios): fix containment issues once and for all#14397
Conversation
|
Hey @designbymind, would you mind giving this one a shot? As the other one broke your setup and was reproducible, this one should either also crash or work :) |
|
Hey @hansemannn, I've tried building with these latest commits but I'm still getting back the error below. Just to add some additional context here, I am attempting to add a Ti Error |
|
Ohhh, okay. The drawer module is external and likely needs fixes as well after these fixes in the SDK. Can you peovide a minimal repro? |
|
This should help. It's super minimal, just enough to reproduce. Do you want full GH repo or will this work for testing? |
|
Note: The commits made here work with a normal |
|
@designbymind Which fork of napp-drawer do you use? I will try to fix that module as well |
|
@hansemannn I'm just now seeing your comment. There are quite a few forks, but I'm almost positive that I'm currently using this one. A fix would be really awesome as I'm pretty sure the module is a very popular one, I see it frequently mentioned in TiSlack... |
|
Can you try dk.napp.drawer-iphone-3.0.0.zip? |
|
Just gave the NappDrawer 3.0.0 module build a try and it's returning the exact same error as above. This is with the commits patched in from this PR. Grrrrr 🤷♂️ |
|
Try this one? |
|
Hmmm. Same exact error 🫤 |
|
Weird. Exact crash line by line? can you double check it's the right module version? |
|
I just reinstalled the latest 3.0.0, triple-checked module version being used, cleaned project, built again (using the test app above with TiSDK 13.1.1.GA patched with this PR) and am receiving the same error (sent full report via Slack in case of sensitive into in report)... |
|
@hansemannn @designbymind I will care about NappDrawerModule.... I assume a fix could be related to this issue: |
|
@mbender74 Is your PR an alternative to this one or an addition? As I deleted more duplicate code and yours is a rather small change. |
|
@hansemannn after reviewing your PR, I would say it´s an alternative, but I will check what you PR is doing... |
|
@hansemannn @mbender74 — I just wanted to drop in and say that I've tested PR #14450 on iOS 26.5 by patching a version of TiSDK |
|
To iterate on my last comment, I was able to do some further testing and I'm hitting another (related) issue... Looks like adding/opening a I'm going to test further on this and extend my TestApp to support |
|
@designbymind could you provide a full test case for me to reproduce the crashes you encountered? |
|
The most important part for me here is that the core SDK does not have containment issues anymore. NappDrawer is great, but if it's architecture is not properly compatible with the fixed core, the drawer module should handle that, not the SDK. That said, I am happy to accept @mbender74's PR, as long as it fixes all isssues that this one fixed. |
|
I will further adapt NappDrawer to work properly.... |
|
@hansemannn after this weekend, I take a closer look at this (your) PR and I can imagine, there are some benefits too... than, we combine them... |
|
Sounds good! |
@mbender74 here's a simple test case ( Perhaps we should bring this over to the NappDrawer repo? — Not trying to dirty this comment thread with semi-unrelated material, just attempting to help solve the issue 😌 |
|
For anyone interested in using a modernized/updated version of NappDrawer, check out v3.1.2 by @mbender74 🚪 |
A follow-up of #14261 with a more focussed approach of recognizing different containment references and comparing them. Also fixing this (related) issue: