From bb1dcc182ee8bd57db16f6c5ac6ab44edf808434 Mon Sep 17 00:00:00 2001 From: Shelly Willard Date: Fri, 27 Nov 2020 11:12:37 -0800 Subject: [PATCH] Migrate jsi wrapper + pass markerId to get next instance key Summary: Migrating jsi wrapper userflow v2. Also pass markerId to the method that gets instance key Changelog: [internal] Differential Revision: D25184462 fbshipit-source-id: c316720b0b3d47b345156bb71d51d6f4c473ceef --- 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 5116e2af3f6..b7f62b91320 100644 --- a/Libraries/Reliability/UserFlow.js +++ b/Libraries/Reliability/UserFlow.js @@ -53,7 +53,7 @@ const UserFlow = { var resolvedInstanceKey = instanceKey; if (instanceKey === AUTO_INSTANCE_KEY) { if (global.nativeUserFlowNextInstanceKey) { - resolvedInstanceKey = global.nativeUserFlowNextInstanceKey(); + resolvedInstanceKey = global.nativeUserFlowNextInstanceKey(markerId); } else { // There is no JSI methods installed, API won't do anything resolvedInstanceKey = 0;