Skip to content

Commit

Permalink
docs(push-notifications): register doesn't prompt (ionic-team#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed Jun 22, 2021
1 parent bf85d44 commit 42f13d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ register() => Promise<void>
Register the app to receive push notifications.

This method will trigger the `'registration'` event with the push token or
`'registrationError'` if there was a problem. It does prompt the user for
`'registrationError'` if there was a problem. It does not prompt the user for
notification permissions, use `requestPermissions()` first.

**Since:** 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface PushNotificationsPlugin {
* Register the app to receive push notifications.
*
* This method will trigger the `'registration'` event with the push token or
* `'registrationError'` if there was a problem. It does prompt the user for
* `'registrationError'` if there was a problem. It does not prompt the user for
* notification permissions, use `requestPermissions()` first.
*
* @since 1.0.0
Expand Down

0 comments on commit 42f13d6

Please sign in to comment.