Replies: 1 comment
-
Hi @d0yvn, your code seems to work just fine for me. This is running in an iOS 16.4 simulator: Screen.Recording.2025-07-11.at.9.59.17.AM.movCan you share a full project that reproduces the problem? Since this isn't an issue with the library I am going to convert it to a discussion. Please feel free to continue the conversation over there! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hello,
I’m encountering an issue while using your TCA library in our iOS project, and I’d like to ask for your help.
Environment: iOS 16, TCA 1.12.1
Issue: After uploading our app to TestFlight for testing, we noticed that certain view behaviors (e.g., hiding a view after a button click or during a scroll) did not work as expected. However, everything works fine in debug mode.
Used Code: WithPerceptionTracking, ObservableState
Test Results:
On devices running iOS 16, the issue occurs in TestFlight builds.
On devices running iOS 17 and iOS 18, everything works correctly, even in TestFlight builds.
Questions:
Test Setup:
To investigate further, I created a simplified test environment. The setup is straightforward:
Test Results:
I’ve attached two videos:
Simulator.Screen.Recording.-.iPhone.14.-.2025-03-05.at.10.03.00.mp4
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-03-05.at.10.14.10.mp4
Here’s a simple test code I wrote.
Are there any known issues with using WithPerceptionTracking and ObservableState in this context?
Do you have any suggestions or potential fixes we can try?
Has this issue been reported before?
We would like to use WithPerceptionTracking and ObservableState in our production app, but this issue is blocking us. Any guidance or insights would be greatly appreciated.
Thank you so much for your support!
Checklist
main
branch of this package.Expected behavior
No response
Actual behavior
No response
Reproducing project
No response
The Composable Architecture version information
No response
Destination operating system
No response
Xcode version information
No response
Swift Compiler version information
Beta Was this translation helpful? Give feedback.
All reactions