From 776ce81b4dd3a19db987def8aac5a9ce534c1c23 Mon Sep 17 00:00:00 2001 From: Jenna Antilla <46546946+jennantilla@users.noreply.github.com> Date: Thu, 11 Jan 2024 13:40:31 -0800 Subject: [PATCH] Update user observer method description with instructions to check externalId --- www/UserNamespace.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/UserNamespace.ts b/www/UserNamespace.ts index 761bf9f4..df8c398b 100644 --- a/www/UserNamespace.ts +++ b/www/UserNamespace.ts @@ -179,7 +179,8 @@ export default class User { }; /** - * Add a callback that fires when the OneSignal User state changes. + * Add a callback that fires when the OneSignal User state changes. + * Important: When using the observer to retrieve the onesignalId, check the externalId as well to confirm the values are associated with the expected user. * @param {(event: UserChangedState)=>void} listener * @returns void */