Skip to content

Commit

Permalink
Update user observer method description with instructions to check ex…
Browse files Browse the repository at this point in the history
…ternalId
  • Loading branch information
jennantilla committed Jan 12, 2024
1 parent 504c3e0 commit 776ce81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/UserNamespace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 776ce81

Please sign in to comment.