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

[Bug]: addEmail is working if user exist with same email in subscription #2214

Open
1 task done
mnk98 opened this issue Nov 15, 2024 · 0 comments
Open
1 task done

Comments

@mnk98
Copy link

mnk98 commented Nov 15, 2024

What happened?

I am trying to do
OneSignal.User.addEmail( "[email protected]" )
But it's not adding email to user
But if i was some unique email which never assigned to a subscriber, than it works but create 2 subscriber
1. With email
2. Without email

        Using the latest one signal version

Steps to reproduce?

1. try to add an email that existed for another subscriber
2. you will not able to add email till it's unique
3. and it will also create 2 subscriber

What did you expect to happen?

User should have that email and should not be 2 subscriber with same subscriber ID

OneSignal Android SDK version

5.1.24

Android version

15

Specific Android models

Pixel 6

Relevant log output

Not adding email to the user

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant