Upon further investigation, that hook, routeToParams wasn't firing. After looking at the source, it looks like the hook name is actually routeToProperties. Changing the name resolves both issues.
A simple fix is updating the documentation.
Related sub-libraries
[ ] All of them
[ ] posthog-web
[ ] posthog-node
[X] posthog-react-native
Additional context
Thank you for your bug report – we love squashing them!
Bug description
I noticed a typescript error when implementing autocapture-configuration. The documentation states:
Upon further investigation, that hook, routeToParams wasn't firing. After looking at the source, it looks like the hook name is actually
routeToProperties
. Changing the name resolves both issues.A simple fix is updating the documentation.
Related sub-libraries
Additional context
Thank you for your bug report – we love squashing them!