Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-lb committed May 28, 2020
1 parent 1a663db commit 912fdb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
```

Expand Down
2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 912fdb7

Please sign in to comment.