6.1.59
New Features
-
Added
setEmails()for registering email addresses for the current user. Accepts a single address or an array; thesuccessandfailcallbacks report the actual result on both platformsPushwoosh.setEmails(["user@example.com"], () => console.log("Email registered"), (error) => console.error(error) );
-
Added
setUserEmails()for registering email addresses together with a user identifier, so push and email channels are matched to the same user. A separatesetUserId()call is not requiredPushwoosh.setUserEmails("user_12345", ["user@example.com"], () => console.log("Email registered"), (error) => console.error(error) );
Updated
- Pushwoosh iOS SDK 7.2.3
- Pushwoosh Android SDK 6.10.2