Closed greenwombat closed 4 years ago
getWebiewUserAgentAsync should be: getWebViewUserAgentAsync there is a missing V
You're right! It looks like a bug in analytics.js:
Manually changing this in node_modules fixes the problem.
I've created a pull request with the fix - it'd be great to get it merged:
https://github.com/ryanvanderpol/expo-analytics/pull/55
Thanks, George
🤦🏼♂️ Looks like this came over yesterday in #45. Thanks, @greenwombat for the PR! I'll get that merged and released asap.
Hi there,
I'd love to get using expo-analytics but am having trouble getting started.
I use the following:
import { Analytics, PageHit } from "expo-analytics"; // "expo": "^33.0.0" . const analytics = new Analytics("UA-MYKEY-2");
But even without trying to send an event I get the following error:
Any suggestions would be really appreciated,
Thank you, George