Closed mfru closed 6 years ago
@mfru good question. at first glance, this seems like it should work as you expect. Can you try turning on debugging and see what the URL that gets constructed looks like?
@mfru @ryanvanderpol The parameters don't get added to the object until Constants.getWebViewUserAgentAsync()
resolves. Try:
analytics.promiseGetWebViewUserAgentAsync
.then(() => {
console.log("Testing expo analytics", analytics);
});
Sorry for not answering, I am not involved in the project anymore, so I can't say if it resolves the issue.
Should I close it?
I'm trying to send the uids of my users but having trouble with it.
Right now my code for initialising an Analytics object is this:
I first thought that it is me, but when I test a fresh object like this:
the result is:
I looked through the expo-analytics source code, but did not find an error yet, so I'm wondering where the uid is getting lost.
It would be great if someone spotted something that might be off :)