Please provide the following:
- SDK Version: 38
- Platforms(Android/iOS/web/all): all
Hey,
I’m wondering how one is supposed to use the Location watchPositionAsync in an useEffect block.
My problem with it is that those useEffect blocks to not support async/await syntax so as far as I see it there seems to be little I can do to actually receive the returned remove function to unsubscribe the watch.
How’s it intended to be used in a situation like that, or am I just missing something here?
Best regards,