Skip to content

Commit b93d371

Browse files
committed
Update outdated URLs
1 parent d92d2d0 commit b93d371

File tree

8 files changed

+5
-11
lines changed

8 files changed

+5
-11
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ If it saves you or your team time, please consider [sponsoring its development](
8686
* You can now save on method call by passing a custom Firestore database name to
8787
`Kreait\Firebase\Factory::createFirestore($databaseName)` instead of having to chain
8888
``::withFirestoreDatabase($databaseName)->createFirestore()``
89-
* It is now possible to set [live activity tokens](https://firebase.google.com/docs/cloud-messaging/ios/live-activity)
89+
* It is now possible to set [live activity tokens](https://firebase.google.com/docs/cloud-messaging/customize-messages/live-activity?hl=en)
9090
in Apns configs.
9191
* `Kreait\Firebase\Http\HttpClientOptions::withGuzzleMiddleware()` and
9292
`Kreait\Firebase\Http\HttpClientOptions::withGuzzleMiddlewares()` now accept callable strings, in addition

docs/cloud-messaging.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ You can find the full Android configuration reference in the official documentat
309309
310310
use Kreait\Firebase\Messaging\AndroidConfig;
311311
312-
// Example from https://firebase.google.com/docs/cloud-messaging/admin/send-messages#android_specific_fields
313312
$config = AndroidConfig::fromArray([
314313
'ttl' => '3600s',
315314
'priority' => 'normal',
@@ -334,7 +333,6 @@ You can find the full APNs configuration reference in the official documentation
334333
335334
use Kreait\Firebase\Messaging\ApnsConfig;
336335
337-
// Example from https://firebase.google.com/docs/cloud-messaging/admin/send-messages#apns_specific_fields
338336
$config = ApnsConfig::fromArray([
339337
'headers' => [
340338
'apns-priority' => '10',
@@ -364,7 +362,6 @@ You can find the full WebPush configuration reference in the official documentat
364362
365363
use Kreait\Firebase\Messaging\WebPushConfig;
366364
367-
// Example from https://firebase.google.com/docs/cloud-messaging/admin/send-messages#webpush_specific_fields
368365
$config = WebPushConfig::fromArray([
369366
'notification' => [
370367
'title' => '$GOOG up 1.43% on the day',
@@ -433,7 +430,7 @@ The SDK provides helper methods to define the priority of a message.
433430

434431
.. note::
435432
You can learn more about message priorities for the different target platforms at
436-
`Setting the priority of a message <https://firebase.google.com/docs/cloud-messaging/concept-options#setting-the-priority-of-a-message>`_
433+
`Setting the priority of a message <https://firebase.google.com/docs/cloud-messaging/customize-messages/setting-message-priority>`_
437434
in the official Firebase documentation.
438435

439436
.. note::

src/Firebase/Messaging/AndroidConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
/**
1818
* @see https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidconfig
19-
* @see https://firebase.google.com/docs/cloud-messaging/concept-options#setting-the-priority-of-a-message
19+
* @see https://firebase.google.com/docs/cloud-messaging/customize-messages/setting-message-priority
2020
* @see https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority Android Message Priorities
2121
* @see https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidfcmoptions Android FCM Options Syntax
2222
*

src/Firebase/Messaging/ApnsConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function withPriority(string $priority): self
163163
}
164164

165165
/**
166-
* @see https://firebase.google.com/docs/cloud-messaging/ios/live-activity
166+
* @see https://firebase.google.com/docs/cloud-messaging/customize-messages/live-activity?hl=en
167167
* @param non-empty-string $liveActivityToken
168168
*/
169169
public function withLiveActivityToken(string $liveActivityToken): self

src/Firebase/Messaging/MessageData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private static function isBinary(string $value): bool
6767
}
6868

6969
/**
70-
* @see https://firebase.google.com/docs/cloud-messaging/concept-options#data_messages
70+
* @see https://firebase.google.com/docs/cloud-messaging/customize-messages/set-message-type#data-messages
7171
*
7272
* @param non-empty-string $key
7373
*

tests/Unit/Messaging/AndroidConfigTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ public function itRejectsInvalidTTLs(mixed $ttl): void
8787
public static function validDataProvider(): Iterator
8888
{
8989
yield 'full_config' => [[
90-
// https://firebase.google.com/docs/cloud-messaging/admin/send-messages#android_specific_fields
9190
'ttl' => '3600s',
9291
'priority' => 'normal',
9392
'notification' => [

tests/Unit/Messaging/ApnsConfigTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ public function itHasASubtitle(): void
128128
public static function validDataProvider(): Iterator
129129
{
130130
yield 'full_config' => [[
131-
// https://firebase.google.com/docs/cloud-messaging/admin/send-messages#apns_specific_fields
132131
'headers' => [
133132
'apns-priority' => '10',
134133
],

tests/Unit/Messaging/WebPushConfigTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ public static function validDataProvider(): iterable
7878
{
7979
yield 'full_config' => [
8080
[
81-
// https://firebase.google.com/docs/cloud-messaging/admin/send-messages#webpush_specific_fields
8281
'headers' => [
8382
'Urgency' => 'normal',
8483
],

0 commit comments

Comments
 (0)