Amplitude-JavaScript icon indicating copy to clipboard operation
Amplitude-JavaScript copied to clipboard

logEvent callback is not working in 6.2.0

Open mijohansen opened this issue 4 years ago • 1 comments

Hi, seems like there is an error in callbacks.. to reproduce:

amplitude.getInstance().logEvent("Event Name", null, (s,b)=>console.log(s,b))

Install: "amplitude-js": "6.2.0", Nothing is written in the console.

Then downgrade to 6.1.0: "amplitude-js": "6.1.0", It work as expected.

I'm using nextjs/react and going toward a custom server that doesn't reply "success" atm. That might have something to do with it?

mijohansen avatar May 12 '20 11:05 mijohansen

Hey @mijohansen, I am unable to reproduce this issue in v6.2.0. We have rolled out new versions since v6.2.0. Are you still seeing this issue on more recent releases?

kevinpagtakhan avatar Dec 21 '21 21:12 kevinpagtakhan

Closing due to inactivity.

Please update to the latest SDK which likely resolves this issue. Thanks! https://www.docs.developers.amplitude.com/data/sdks/browser-2/migration/

justin-fiedler avatar Dec 07 '23 17:12 justin-fiedler