Skip to content

Commit 89be7d9

Browse files
Mark dynamic links as deprecated. (#925)
Co-authored-by: a-maurice <[email protected]>
1 parent 5d6e520 commit 89be7d9

File tree

2 files changed

+37
-14
lines changed

2 files changed

+37
-14
lines changed

docs/readme.md

+20-14
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ features on *iOS*, *tvOS* and *Android*.
66

77
Note: Firebase Dynamic Links is not supported on tvOS.
88

9-
| Feature | Unity Package |
10-
|:----------------------------------:|:---------------------------------:|
11-
| Firebase Analytics | FirebaseAnalytics.unitypackage |
12-
| Firebase App Check | FirebaseAppCheck.unitypackage |
13-
| Firebase Authentication | FirebaseAuth.unitypackage |
14-
| Firebase Crashlytics | FirebaseCrashlytics.unitypackage |
15-
| Firebase Dynamic Links | FirebaseDynamicLinks.unitypackage |
16-
| Cloud Firestore | FirebaseFirestore.unitypackage |
17-
| Firebase Functions | FirebaseFunctions.unitypackage |
18-
| Firebase Installations | FirebaseInstallations.unitypackage|
19-
| Firebase Messaging | FirebaseMessaging.unitypackage |
20-
| Firebase Realtime Database | FirebaseDatabase.unitypackage |
21-
| Firebase Remote Config | FirebaseRemoteConfig.unitypackage |
22-
| Firebase Storage | FirebaseStorage.unitypackage |
9+
| Feature | Unity Package |
10+
|:-----------------------------------:|:---------------------------------:|
11+
| Firebase Analytics | FirebaseAnalytics.unitypackage |
12+
| Firebase App Check | FirebaseAppCheck.unitypackage |
13+
| Firebase Authentication | FirebaseAuth.unitypackage |
14+
| Firebase Crashlytics | FirebaseCrashlytics.unitypackage |
15+
| Firebase Dynamic Links (deprecated) | FirebaseDynamicLinks.unitypackage |
16+
| Cloud Firestore | FirebaseFirestore.unitypackage |
17+
| Firebase Functions | FirebaseFunctions.unitypackage |
18+
| Firebase Installations | FirebaseInstallations.unitypackage|
19+
| Firebase Messaging | FirebaseMessaging.unitypackage |
20+
| Firebase Realtime Database | FirebaseDatabase.unitypackage |
21+
| Firebase Remote Config | FirebaseRemoteConfig.unitypackage |
22+
| Firebase Storage | FirebaseStorage.unitypackage |
2323

2424
The SDK provides .NET 4.x compatible packages
2525

@@ -71,6 +71,12 @@ Support
7171

7272
Release Notes
7373
-------------
74+
### Upcoming release
75+
- Changes
76+
- Dynamic Links: The Dynamic Links SDK is now deprecated. See the [support
77+
documentation](https://firebase.google.com/support/dynamic-links-faq)
78+
for more information.
79+
7480
### 11.7.0
7581
- Changes
7682
- General: Update to Firebase C++ SDK version 11.8.0.

dynamic_links/src/DynamicLinks.cs

+17
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ namespace Firebase.DynamicLinks {
2222
///
2323
/// Firebase Dynamic Links is a cross-platform solution for generating and
2424
/// receiving links, whether or not the app is already installed.
25+
[System.Obsolete("Firebase Dynamic Links is deprecated and will be removed in a future release..", false)]
2526
public sealed class DynamicLinks {
2627
// Keep a reference to FirebaseApp as it initializes this SDK.
2728
private static Firebase.FirebaseApp app;
@@ -75,6 +76,10 @@ internal static void NotifyDynamicLinkReceived(ReceivedDynamicLink dynamicLink)
7576
/// and shorten.
7677
/// @param options Optionally provided options to tweak the short link generation.
7778
/// If this is not specified the default behavior is for PathLength = PathLength.Unguessable.
79+
///
80+
/// @deprecated Dynamic Links is now deprecated. Please see the support
81+
/// documentation at https://firebase.google.com/support/dynamic-links-faq
82+
/// for more information.
7883
public static Task<ShortDynamicLink> GetShortLinkAsync(DynamicLinkComponents components,
7984
DynamicLinkOptions options) {
8085
return ConvertFromInternalTask(FirebaseDynamicLinks.GetShortLinkInternalAsync(
@@ -85,6 +90,10 @@ public static Task<ShortDynamicLink> GetShortLinkAsync(DynamicLinkComponents com
8590
///
8691
/// @param components The components that define the Dynamic Link to create
8792
/// and shorten.
93+
///
94+
/// @deprecated Dynamic Links is now deprecated. Please see the support
95+
/// documentation at https://firebase.google.com/support/dynamic-links-faq
96+
/// for more information.
8897
public static Task<ShortDynamicLink> GetShortLinkAsync(DynamicLinkComponents components) {
8998
return GetShortLinkAsync(components, new DynamicLinkOptions());
9099
}
@@ -94,6 +103,10 @@ public static Task<ShortDynamicLink> GetShortLinkAsync(DynamicLinkComponents com
94103
/// @param url A properly-formatted long Dynamic Link to shorten.
95104
/// @param options Optionally provided options to tweak the short link generation.
96105
/// If this is not specified the default behavior is for PathLength = PathLength.Unguessable.
106+
///
107+
/// @deprecated Dynamic Links is now deprecated. Please see the support
108+
/// documentation at https://firebase.google.com/support/dynamic-links-faq
109+
/// for more information.
97110
public static Task<ShortDynamicLink> GetShortLinkAsync(System.Uri longDynamicLink,
98111
DynamicLinkOptions options) {
99112
return ConvertFromInternalTask(FirebaseDynamicLinks.GetShortLinkInternalAsync(
@@ -104,6 +117,10 @@ public static Task<ShortDynamicLink> GetShortLinkAsync(System.Uri longDynamicLin
104117
/// Creates a shortened Dynamic Link from the given long dynamic link.
105118
///
106119
/// @param url A properly-formatted long Dynamic Link to shorten.
120+
///
121+
/// @deprecated Dynamic Links is now deprecated. Please see the support
122+
/// documentation at https://firebase.google.com/support/dynamic-links-faq
123+
/// for more information.
107124
public static Task<ShortDynamicLink> GetShortLinkAsync(System.Uri long_dynamic_link) {
108125
return GetShortLinkAsync(long_dynamic_link, new DynamicLinkOptions());
109126
}

0 commit comments

Comments
 (0)