After further investigation, I believe I have identified the root cause of the issue I was experiencing with Appium not detecting elements in iOS in my React Native app.
I found that my project is currently using React Native 0.73.11 , and based on the latest updates, this version has a limitation in the component tree depth , which prevents Appium from accessing deeply nested elements, particularly in iOS . I understand that this issue has been addressed in React Native 0.74 , where the component tree has been flattened to improve accessibility for automation tools like Appium.
I would like to confirm with you if upgrading to React Native 0.74 is the recommended solution for this issue, or if there are any workarounds I could apply while still using 0.73.11 .
I appreciate any insights you can provide.
Thank you for your time!
Best regards