We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried 2 approaches below but still encountered the same issue. May I know how to resolve this issue?
The text was updated successfully, but these errors were encountered:
Hi @yongjiabidot does the error still occurs? since we release a lot of updates before we check this issue
Sorry, something went wrong.
still getting this issue
Hi @Pushkar952 I run a test now but I can't replicate what you encounter about the $socket connection. In my test I use next js + react js 18 version.
No branches or pull requests
I tried 2 approaches below but still encountered the same issue. May I know how to resolve this issue?
const onLoad = () => {
console.log('Here', tawkMessengerRef);
tawkMessengerRef.current.setAttributes({
name: 'test',
email: 'test@gmail.com',
});
};
useEffect(() => {
if (isLoggedIn && store.user) {
// const hash = hashInBase64(store.user.email, window.TAWK_APIKEY);
if (window.Tawk_API) {
window.Tawk_API.setAttributes(
{
name: store.user.loginName ?? '',
email: store.user.email ?? '',
// hash: hash,
},
function (error) {
if (error) {
console.error('Tawk update user information error:', error);
}
},
);
}
}
}, [store.user]);
The text was updated successfully, but these errors were encountered: