invert flag for sending to statsig (#8431)

This commit is contained in:
hailey
2025-05-30 12:13:44 -07:00
committed by GitHub
parent 4890648116
commit 2a453cd9ca
23 changed files with 154 additions and 69 deletions
+8 -4
View File
@@ -759,16 +759,20 @@ function RoutesContainer({children}: React.PropsWithChildren<{}>) {
linking={LINKING}
theme={theme}
onStateChange={() => {
logger.metric('router:navigate', {
from: prevLoggedRouteName.current,
})
logger.metric(
'router:navigate',
{
from: prevLoggedRouteName.current,
},
{statsig: false},
)
prevLoggedRouteName.current = getCurrentRouteName()
}}
onReady={() => {
attachRouteToLogEvents(getCurrentRouteName)
logModuleInitTime()
onReady()
logger.metric('router:navigate', {})
logger.metric('router:navigate', {}, {statsig: false})
}}>
{children}
</NavigationContainer>