@@ -50,6 +50,8 @@ export interface NewTesterDevicePayload {
50
50
/**
51
51
* The internal payload object for receiving in-app feedback from a tester.
52
52
* Payload is wrapped inside a `FirebaseAlertData` object.
53
+ *
54
+ * @alpha
53
55
*/
54
56
export interface InAppFeedbackPayload {
55
57
[ "@type" ] : "type.googleapis.com/google.events.firebase.firebasealerts.v1.AppDistroInAppFeedbackPayload" ;
@@ -258,6 +260,8 @@ export function onNewTesterIosDevicePublished(
258
260
* Declares a function that can handle receiving new in-app feedback from a tester.
259
261
* @param handler - Event handler which is run every time new feedback is received.
260
262
* @returns A function that you can export and deploy.
263
+ *
264
+ * @alpha
261
265
*/
262
266
export function onInAppFeedbackPublished (
263
267
handler : ( event : AppDistributionEvent < InAppFeedbackPayload > ) => any | Promise < any >
@@ -268,6 +272,8 @@ export function onInAppFeedbackPublished(
268
272
* @param appId - A specific application the handler will trigger on.
269
273
* @param handler - Event handler which is run every time new feedback is received.
270
274
* @returns A function that you can export and deploy.
275
+ *
276
+ * @alpha
271
277
*/
272
278
export function onInAppFeedbackPublished (
273
279
appId : string ,
@@ -279,6 +285,8 @@ export function onInAppFeedbackPublished(
279
285
* @param opts - Options that can be set on the function.
280
286
* @param handler - Event handler which is run every time new feedback is received.
281
287
* @returns A function that you can export and deploy.
288
+ *
289
+ * @alpha
282
290
*/
283
291
export function onInAppFeedbackPublished (
284
292
opts : AppDistributionOptions ,
@@ -290,6 +298,8 @@ export function onInAppFeedbackPublished(
290
298
* @param appIdOrOptsOrHandler - A specific application, options, or an event-handling function.
291
299
* @param handler - Event handler which is run every time new feedback is received.
292
300
* @returns A function that you can export and deploy.
301
+ *
302
+ * @alpha
293
303
*/
294
304
export function onInAppFeedbackPublished (
295
305
appIdOrOptsOrHandler :
0 commit comments