diff --git a/README.md b/README.md index 7cba8376..187235c5 100644 --- a/README.md +++ b/README.md @@ -100,11 +100,13 @@ const emailId = await OneSignal.getEmailId(); ### External User ID -You can use `setExternalUserId` and `getExternalUserId` to track user email. +You can use `setExternalUserId` and `getExternalUserId` to track external user ID. ```js +// Set external user ID OneSignal.setExternalUserId('your_id'); +// Get external user ID const externalUserId = await OneSignal.getExternalUserId(); ``` diff --git a/package/package.json b/package/package.json index 900902fe..da34d942 100644 --- a/package/package.json +++ b/package/package.json @@ -1,6 +1,6 @@ { "name": "react-onesignal", - "version": "1.1.18", + "version": "1.1.19", "description": "React OneSignal Module: Make it easy to integrate OneSignal with your React App!", "author": "pedro-lb", "license": "MIT",