Skip to content

Commit

Permalink
Merge pull request #197 from daronspence/patch-1
Browse files Browse the repository at this point in the history
Update README.md for iOS Web Push and VAPID credentials
  • Loading branch information
cretueusebiu committed Jul 10, 2024
2 parents 9ed3797 + b31f8cc commit 4276786
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ php artisan webpush:vapid

This command will set `VAPID_PUBLIC_KEY` and `VAPID_PRIVATE_KEY`in your `.env` file.

> Note: if targeting Safari or iOS after 2023, you will need to include the `VAPID_SUBJECT` variable as well or Apple will return a `BadJwtToken` error.
__These keys must be safely stored and should not change.__

If you still want support for [Google Cloud Messaging](https://console.cloud.google.com), set the `GCM_KEY` and `GCM_SENDER_ID` in your `.env` file.
Expand Down

0 comments on commit 4276786

Please sign in to comment.