Skip to content
New issue

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

Error callback for 'identify' not called a 2nd time when using ad blocker #475

Open
pioug opened this issue Dec 29, 2021 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@pioug
Copy link

pioug commented Dec 29, 2021

Expected Behavior

One of the callback should be called every time client.identify() is called.

client.identify(identity, () => console.log('success'), () => console.log'error')));

Current Behavior

When uBlock is enabled, the error callback is called only once. If I refresh the page no callbacks are called and my promise is never resolved.

Possible Solution

Steps to Reproduce

0:18 uBlock disabled, refresh, success callback called ✅
0:34 uBlock enabled, refresh, error callback called ✅
0:50 uBlock enabled, refresh, no callback called ❌

Screen.Recording.2021-12-29.at.7.06.26.PM.mp4

Environment

  • JS SDK Version: [email protected]
  • Installation Method: npm
  • Browser and Version: Chrome 96 with uBlock Origin 1.39.2
@pioug pioug added the bug Something isn't working label Dec 29, 2021
@pioug pioug changed the title Error callback for 'identify' not called when using ad blocker Error callback for 'identify' not called a 2nd time when using ad blocker Dec 29, 2021
@yuhao900914
Copy link
Contributor

cc: @kevinpagtakhan

@kevinpagtakhan kevinpagtakhan self-assigned this Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants