@@ -22,6 +22,7 @@ namespace Firebase.DynamicLinks {
22
22
///
23
23
/// Firebase Dynamic Links is a cross-platform solution for generating and
24
24
/// 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 ) ]
25
26
public sealed class DynamicLinks {
26
27
// Keep a reference to FirebaseApp as it initializes this SDK.
27
28
private static Firebase . FirebaseApp app ;
@@ -75,6 +76,10 @@ internal static void NotifyDynamicLinkReceived(ReceivedDynamicLink dynamicLink)
75
76
/// and shorten.
76
77
/// @param options Optionally provided options to tweak the short link generation.
77
78
/// 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.
78
83
public static Task < ShortDynamicLink > GetShortLinkAsync ( DynamicLinkComponents components ,
79
84
DynamicLinkOptions options ) {
80
85
return ConvertFromInternalTask ( FirebaseDynamicLinks . GetShortLinkInternalAsync (
@@ -85,6 +90,10 @@ public static Task<ShortDynamicLink> GetShortLinkAsync(DynamicLinkComponents com
85
90
///
86
91
/// @param components The components that define the Dynamic Link to create
87
92
/// 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.
88
97
public static Task < ShortDynamicLink > GetShortLinkAsync ( DynamicLinkComponents components ) {
89
98
return GetShortLinkAsync ( components , new DynamicLinkOptions ( ) ) ;
90
99
}
@@ -94,6 +103,10 @@ public static Task<ShortDynamicLink> GetShortLinkAsync(DynamicLinkComponents com
94
103
/// @param url A properly-formatted long Dynamic Link to shorten.
95
104
/// @param options Optionally provided options to tweak the short link generation.
96
105
/// 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.
97
110
public static Task < ShortDynamicLink > GetShortLinkAsync ( System . Uri longDynamicLink ,
98
111
DynamicLinkOptions options ) {
99
112
return ConvertFromInternalTask ( FirebaseDynamicLinks . GetShortLinkInternalAsync (
@@ -104,6 +117,10 @@ public static Task<ShortDynamicLink> GetShortLinkAsync(System.Uri longDynamicLin
104
117
/// Creates a shortened Dynamic Link from the given long dynamic link.
105
118
///
106
119
/// @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.
107
124
public static Task < ShortDynamicLink > GetShortLinkAsync ( System . Uri long_dynamic_link ) {
108
125
return GetShortLinkAsync ( long_dynamic_link , new DynamicLinkOptions ( ) ) ;
109
126
}
0 commit comments