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]: iOS: Not able to update email using OneSignal.User.addEmail(userInfo.email) #1498

Open
1 task done
piyushTendable opened this issue Oct 14, 2024 · 3 comments
Open
1 task done

Comments

@piyushTendable
Copy link

piyushTendable commented Oct 14, 2024

What happened?

I am using one signal iOS SDK version: 5.2.5

I am not able to update user email but I can update my user tag.

I don't know what's the issue or any other steps missing.

Screenshot 2024-10-14 at 5 42 03 PM

Any suggestions?

Steps to reproduce?

OneSignal.User.addEmail(userInfo.email)
OneSignal.User.addTag(key: "user_id", value: "\(userInfo.id)")

Tag is updating but email is not updating in subscription.

Setting -> Keys and ids, I have also check that 
Identity Verification for email + external_id (recommended): false 

Checked below documents: 
https://documentation.onesignal.com/docs/react-native-expo-sdk-setup#set-email--phone-number
https://documentation.onesignal.com/docs/ios-sdk-setup
https://github.com/OneSignal/OneSignal-iOS-SDK/blob/main/MIGRATION_GUIDE.md

What did you expect to happen?

I want to update email for my user subscription.

OneSignal iOS SDK version

5.2.5

iOS version

17

Specific iOS version

17.6.1

Relevant log output

VERBOSE: OSOperationRepo enqueueDelta: <OSDelta OS_ADD_SUBSCRIPTION_DELTA with property: Email value: [email protected]>
VERBOSE: OneSignal.User addTags called with: ["user_id": "7887"]

Code of Conduct

  • I agree to follow this project's Code of Conduct
@piyushTendable
Copy link
Author

Any update/suggestion?

@nan-li
Copy link
Contributor

nan-li commented Nov 4, 2024

Hi @piyushTendable apologies for the delayed response. Do you have the full logs?

@piyushTendable
Copy link
Author

Hi @nan-li , currently I don't have full logs. can u solve it?

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