@@ -30,6 +30,10 @@ namespace firebase {
30
30
// /
31
31
// / Firebase Dynamic Links is a cross-platform solution for generating and
32
32
// / 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.
33
37
namespace dynamic_links {
34
38
35
39
#ifndef SWIG
@@ -91,25 +95,41 @@ class Listener {
91
95
// / @return kInitResultSuccess if initialization succeeded, or
92
96
// / kInitResultFailedMissingDependency on Android if Google Play services is
93
97
// / 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);
95
103
96
104
// / @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 ();
98
110
99
111
// / @brief Set the listener for receiving Dynamic Links.
100
112
// /
101
113
// / @param[in] listener A Listener object that receives Dynamic Links.
102
114
// /
103
115
// / @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);
105
121
106
122
// / Fetch any pending dynamic links. Each pending link will trigger a call to
107
123
// / the registered Listener class.
108
124
// /
109
125
// / This function is implicitly called on initialization. On iOS this is called
110
126
// / automatically when the app gains focus, but on Android this needs to be
111
127
// / 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 ();
113
133
114
134
} // namespace dynamic_links
115
135
} // namespace firebase
0 commit comments