Closed
Description
Describe the bug
FeatureHighlight throws error on android when not passing testId as parameter on the component that you want it to be highlighted. You can see error details in #1487.
To Reproduce
- Create a view that you want to highlight
- Add view to targets array via ref.
- Try to render it via feature highlight
- You will see that it will throw an error
Expected behavior
It should render even tho you not passing testId parameter to it.
Code snippet
<View ref={r => addTarget(r, 0)} style={{ opacity: 1 }} testID={'HighlightView'}>
Device (please complete the following information)
- Device: Android Simulator
- OS: Android 11 / Android 10