Skip to content

Commit 4276786

Browse files
authored
Merge pull request #197 from daronspence/patch-1
Update README.md for iOS Web Push and VAPID credentials
2 parents 9ed3797 + b31f8cc commit 4276786

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ php artisan webpush:vapid
5353

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

56+
> 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.
57+
5658
__These keys must be safely stored and should not change.__
5759

5860
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.

0 commit comments

Comments
 (0)