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]:user id and email not save on onesignal dashboard. #821

Closed
3 tasks done
vipul8815 opened this issue Jan 11, 2024 · 3 comments
Closed
3 tasks done

[Bug]:user id and email not save on onesignal dashboard. #821

vipul8815 opened this issue Jan 11, 2024 · 3 comments

Comments

@vipul8815
Copy link

vipul8815 commented Jan 11, 2024

What happened?

We call the login function and pass the user id but the dashboard does not show the external user ID and also the same thing for set email.

Steps to reproduce?

we call functions after the user logins 
check attached functions 
 Future<void> setUserId(String userId) async {
    await OneSignal.login(userId);
    await OneSignal.User.addAlias("user_id", userId);
  }

  void setEmailId(String email) {
    OneSignal.User.addEmail(email);
  }

What did you expect to happen?

we need to save email and external user id

OneSignal Flutter SDK version

flutter version 3.16.4
package version 5.0.4

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@vipul8815 vipul8815 changed the title [Bug]: we call the login function and pass user id but user id not save on dashboard. [Bug]: we call the login function and pass user id but user id not save on onesignal dashboard. Jan 12, 2024
@vipul8815 vipul8815 changed the title [Bug]: we call the login function and pass user id but user id not save on onesignal dashboard. [Bug]:user id and email not save on onesignal dashboard. Jan 12, 2024
@nan-li
Copy link
Contributor

nan-li commented Jan 17, 2024

Hi @vipul8815,

Thank you for reporting this issue.

Can you share your logs when you call your method setUserId(String userId) and your method setEmailId(String email)?

@vipul8815
Copy link
Author

now working

@nan-li
Copy link
Contributor

nan-li commented Jan 26, 2024

Hi @vipul8815,

That's good to hear. This may have been a server bug that has been fixed around attaching external_id after logging in.
I'll close this issue, but please reach out if you encounter any problems again.

@nan-li nan-li closed this as completed Jan 26, 2024
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

2 participants