Skip to content

Commit 9b22603

Browse files
committed
Remove Dynamic Links component
1 parent 8f5d610 commit 9b22603

29 files changed

+35
-2096
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ If it saves you or your team time, please consider [sponsoring its development](
55

66
## [Unreleased]
77

8+
### Breaking changes
9+
10+
* [Firebase Dynamic Links was shut down on August 25th, 2025](https://firebase.google.com/support/dynamic-links-faq)
11+
and has been removed from the SDK.
12+
813
See **[UPGRADE-8.0](UPGRADE-8.0.md) for more details on the changes between 7.x and 8.0.**
914

1015
## 7.x Changelog

UPGRADE-8.0.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,33 @@
44

55
This is a major release, but its aim is to provide as much backward compatibility as possible to ease upgrades
66
from 7.x to 8.0.
7+
8+
## Notable changes
9+
10+
* [Firebase Dynamic Links was shut down on August 25th, 2025](https://firebase.google.com/support/dynamic-links-faq)
11+
and has been removed from the SDK.
12+
13+
## Complete list of breaking changes
14+
15+
The following list has been generated with [roave/backward-compatibility-check](https://github.com/Roave/BackwardCompatibilityCheck).
16+
17+
```
18+
[BC] REMOVED: Class Kreait\Firebase\Contract\DynamicLinks has been deleted
19+
[BC] REMOVED: Class Kreait\Firebase\DynamicLink has been deleted
20+
[BC] REMOVED: Class Kreait\Firebase\DynamicLink\AnalyticsInfo has been deleted
21+
[BC] REMOVED: Class Kreait\Firebase\DynamicLink\AnalyticsInfo\GooglePlayAnalytics has been deleted
22+
[BC] REMOVED: Class Kreait\Firebase\DynamicLink\AnalyticsInfo\ITunesConnectAnalytics has been deleted
23+
[BC] REMOVED: Class Kreait\Firebase\DynamicLink\AndroidInfo has been deleted
24+
[BC] REMOVED: Class Kreait\Firebase\DynamicLink\CreateDynamicLink has been deleted
25+
[BC] REMOVED: Class Kreait\Firebase\DynamicLink\CreateDynamicLink\FailedToCreateDynamicLink has been deleted
26+
[BC] REMOVED: Class Kreait\Firebase\DynamicLink\DynamicLinkStatistics has been deleted
27+
[BC] REMOVED: Class Kreait\Firebase\DynamicLink\EventStatistics has been deleted
28+
[BC] REMOVED: Class Kreait\Firebase\DynamicLink\GetStatisticsForDynamicLink has been deleted
29+
[BC] REMOVED: Class Kreait\Firebase\DynamicLink\GetStatisticsForDynamicLink\FailedToGetStatisticsForDynamicLink has been deleted
30+
[BC] REMOVED: Class Kreait\Firebase\DynamicLink\IOSInfo has been deleted
31+
[BC] REMOVED: Class Kreait\Firebase\DynamicLink\NavigationInfo has been deleted
32+
[BC] REMOVED: Class Kreait\Firebase\DynamicLink\ShortenLongDynamicLink has been deleted
33+
[BC] REMOVED: Class Kreait\Firebase\DynamicLink\ShortenLongDynamicLink\FailedToShortenLongDynamicLink has been deleted
34+
[BC] REMOVED: Class Kreait\Firebase\DynamicLink\SocialMetaTagInfo has been deleted
35+
[BC] REMOVED: Method Kreait\Firebase\Factory#createDynamicLinksService() was removed
36+
```

docs/dynamic-links.rst

Lines changed: 0 additions & 263 deletions
This file was deleted.

docs/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ Your use of Firebase is governed by the `Terms of Service for Firebase Services
115115
realtime-database
116116
authentication
117117
user-management
118-
dynamic-links
119118
remote-config
120119
app-check
121120
testing

docs/troubleshooting.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ enabled for your project:
111111
- Firebase Services: https://console.cloud.google.com/apis/library/firebase.googleapis.com
112112
- Cloud Messaging (FCM): https://console.cloud.google.com/apis/library/fcm.googleapis.com
113113
- FCM Registration API: https://console.cloud.google.com/apis/library/fcmregistrations.googleapis.com
114-
- Dynamic Links: https://console.cloud.google.com/apis/library/firebasedynamiclinks.googleapis.com
115114
- Firestore: https://console.cloud.google.com/apis/library/firestore.googleapis.com
116115
- Realtime Database Rules: https://console.cloud.google.com/apis/library/firebaserules.googleapis.com
117116
- Remote Config: https://console.cloud.google.com/apis/library/firebaseremoteconfig.googleapis.com

docs/user-management.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -523,11 +523,6 @@ the email link. This also provides the user the ability to go back to the app af
523523
In addition, you can specify whether to handle the email action link directly from a mobile application
524524
when it is installed or from a browser.
525525

526-
For links that are meant to be opened via a mobile app, you’ll need to enable Firebase Dynamic Links and perform some
527-
tasks to detect these links from your mobile app. Refer to the instructions on how to
528-
`configure Firebase Dynamic Links <https://firebase.google.com/docs/auth/web/passing-state-in-email-actions#configuring-hosting-links>`_
529-
for email actions.
530-
531526
========================= =========== ===========
532527
Parameter Type Description
533528
========================= =========== ===========
@@ -558,7 +553,6 @@ Example:
558553
$actionCodeSettings = [
559554
'continueUrl' => 'https://www.example.com/checkout?cartId=1234',
560555
'handleCodeInApp' => true,
561-
'dynamicLinkDomain' => 'coolapp.page.link',
562556
'androidPackageName' => 'com.example.android',
563557
'androidMinimumVersion' => '12',
564558
'androidInstallApp' => true,

phpunit.xml.dist

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@
2222
<include>
2323
<directory>src/Firebase</directory>
2424
</include>
25-
26-
<exclude>
27-
<!-- The Dynamic Links Component ist deprecated and the tests are brittle -->
28-
<directory>src/Firebase/DynamicLink</directory>
29-
</exclude>
3025
</source>
3126

3227
<php>

src/Firebase/Auth/ActionCodeSettings/ValidatedActionCodeSettings.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ final class ValidatedActionCodeSettings implements ActionCodeSettings
2121

2222
private ?bool $canHandleCodeInApp = null;
2323

24-
private ?UriInterface $dynamicLinkDomain = null;
25-
2624
/**
2725
* @var non-empty-string|null
2826
*/
@@ -73,13 +71,6 @@ public static function fromArray(array $settings): self
7371

7472
break;
7573

76-
case 'dynamiclinkdomain':
77-
$instance->dynamicLinkDomain = ($value !== null)
78-
? Utils::uriFor(self::ensureNonEmptyString($value))
79-
: null;
80-
81-
break;
82-
8374
case 'androidpackagename':
8475
$instance->androidPackageName = self::ensureNonEmptyString($value);
8576

@@ -114,12 +105,10 @@ public static function fromArray(array $settings): self
114105
public function toArray(): array
115106
{
116107
$continueUrl = $this->continueUrl !== null ? (string) $this->continueUrl : null;
117-
$dynamicLinkDomain = $this->dynamicLinkDomain !== null ? (string) $this->dynamicLinkDomain : null;
118108

119109
return array_filter([
120110
'continueUrl' => $continueUrl,
121111
'canHandleCodeInApp' => $this->canHandleCodeInApp,
122-
'dynamicLinkDomain' => $dynamicLinkDomain,
123112
'androidPackageName' => $this->androidPackageName,
124113
'androidMinimumVersion' => $this->androidMinimumVersion,
125114
'androidInstallApp' => $this->androidInstallApp,

0 commit comments

Comments
 (0)