mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9528ef27b9
commit
bb1dcc182e
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user