From 213b02b378b37cb47d587b83a9809abfabe0325b Mon Sep 17 00:00:00 2001 From: Dmytro Voronkevych Date: Fri, 16 Oct 2020 11:30:00 -0700 Subject: [PATCH] Adding support for boolean annotations for UserFlow@RN Summary: Adding support for boolean annotation in UserFlow API. Reviewed By: cdinh Differential Revision: D24337853 fbshipit-source-id: 52ed295c64a5650afbb02890f918939fb9d020d6 --- Libraries/Reliability/UserFlow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Reliability/UserFlow.js b/Libraries/Reliability/UserFlow.js index 880c9dbed03c47..5116e2af3f6431 100644 --- a/Libraries/Reliability/UserFlow.js +++ b/Libraries/Reliability/UserFlow.js @@ -78,7 +78,7 @@ const UserFlow = { addAnnotation( flowId: FlowId, annotationName: string, - annotationValue: string, + annotationValue: string | boolean, ): void { if (global.nativeUserFlowAddAnnotation) { global.nativeUserFlowAddAnnotation(