Skip to content

Commit 05049d2

Browse files
authored
Deprecate Dynamic Links SDK. (#1512)
1 parent 0f276da commit 05049d2

File tree

2 files changed

+31
-5
lines changed

2 files changed

+31
-5
lines changed

dynamic_links/src/include/firebase/dynamic_links.h

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ namespace firebase {
3030
///
3131
/// Firebase Dynamic Links is a cross-platform solution for generating and
3232
/// receiving links, whether or not the app is already installed.
33+
///
34+
/// @deprecated Dynamic Links is now deprecated. Please see the support
35+
/// documentation at https://firebase.google.com/support/dynamic-links-faq
36+
/// for more information.
3337
namespace dynamic_links {
3438

3539
#ifndef SWIG
@@ -91,25 +95,41 @@ class Listener {
9195
/// @return kInitResultSuccess if initialization succeeded, or
9296
/// kInitResultFailedMissingDependency on Android if Google Play services is
9397
/// not available on the current device.
94-
InitResult Initialize(const App& app, Listener* listener);
98+
///
99+
/// @deprecated Dynamic Links is now deprecated. Please see the support
100+
/// documentation at https://firebase.google.com/support/dynamic-links-faq
101+
/// for more information.
102+
FIREBASE_DEPRECATED InitResult Initialize(const App& app, Listener* listener);
95103

96104
/// @brief Terminate Firebase Dynamic Links.
97-
void Terminate();
105+
///
106+
/// @deprecated Dynamic Links is now deprecated. Please see the support
107+
/// documentation at https://firebase.google.com/support/dynamic-links-faq
108+
/// for more information.
109+
FIREBASE_DEPRECATED void Terminate();
98110

99111
/// @brief Set the listener for receiving Dynamic Links.
100112
///
101113
/// @param[in] listener A Listener object that receives Dynamic Links.
102114
///
103115
/// @return Pointer to the previously set listener.
104-
Listener* SetListener(Listener* listener);
116+
///
117+
/// @deprecated Dynamic Links is now deprecated. Please see the support
118+
/// documentation at https://firebase.google.com/support/dynamic-links-faq
119+
/// for more information.
120+
FIREBASE_DEPRECATED Listener* SetListener(Listener* listener);
105121

106122
/// Fetch any pending dynamic links. Each pending link will trigger a call to
107123
/// the registered Listener class.
108124
///
109125
/// This function is implicitly called on initialization. On iOS this is called
110126
/// automatically when the app gains focus, but on Android this needs to be
111127
/// called manually.
112-
void Fetch();
128+
///
129+
/// @deprecated Dynamic Links is now deprecated. Please see the support
130+
/// documentation at https://firebase.google.com/support/dynamic-links-faq
131+
/// for more information.
132+
FIREBASE_DEPRECATED void Fetch();
113133

114134
} // namespace dynamic_links
115135
} // namespace firebase

release_build_files/readme.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on *iOS* and *Android*:
77
* Firebase App Check
88
* Firebase Authentication
99
* Firebase Cloud Messaging
10-
* Firebase Dynamic Links
10+
* Firebase Dynamic Links (deprecated SDK)
1111
* Cloud Firestore
1212
* Firebase Functions
1313
* Google Mobile Ads (with User Messaging Platform)
@@ -631,6 +631,12 @@ workflow use only during the development of your app, not for publicly shipping
631631
code.
632632

633633
## Release Notes
634+
### Upcoming release
635+
- Changes
636+
- Dynamic Links: The Dynamic Links SDK is now deprecated. See the [support
637+
documentation](https://firebase.google.com/support/dynamic-links-faq)
638+
for more information.
639+
634640
### 11.7.0
635641
- Changes
636642
- General (Android): Firebase C++ on Android is now built using Android API

0 commit comments

Comments
 (0)