We have IDs in elements using testID and accessibilityLabel properties :
But still, the appium is not able to identify the elements in the iOS hierarchy.
On Android, it is compiled in content-desc, but on IOS, still doesn’t work, there is no accessibility id
We tried this solution:
import { Platform } from 'react-native';
export function accessibility(id?: string) {
return Platform.OS === 'android'
? { accessible: true, accessibilityLabel: id }
Also, we tried to put accessible={false} on the parent element, but without success.