Sample git repo
Snack that doesn't work because it can't install react-native-ama but it is the example from the docs.
I have tried to use useFocus on two different projects (and machines), and neither work with the IOS simulator. I built a further third project and was able to run it on my personal iPhone with voiceover and it seemed to work. It does seem to work on a physical device fine.
Is there anything that can be done about this for those of us who use the IOS simulator as their primary development device?
I even copy/pasted the useFocus code and tried it as a standalone hook since it doesn't rely on anything from the <AMAProvider>. Same thing.
Any help would be appreciated.
Thank you!
Additional question:
Why is AccessibilityInfo.setAccessibilityFocus(elementId); ran twice in useFocus?
Sample git repo
Snack that doesn't work because it can't install
react-native-amabut it is the example from the docs.I have tried to use
useFocuson two different projects (and machines), and neither work with the IOS simulator. I built a further third project and was able to run it on my personal iPhone with voiceover and it seemed to work. It does seem to work on a physical device fine.Is there anything that can be done about this for those of us who use the IOS simulator as their primary development device?
I even copy/pasted the
useFocuscode and tried it as a standalone hook since it doesn't rely on anything from the<AMAProvider>. Same thing.Any help would be appreciated.
Thank you!
Additional question:
Why is
AccessibilityInfo.setAccessibilityFocus(elementId);ran twice in useFocus?