@@ -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.
3337namespace 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
0 commit comments