Home
last modified time | relevance | path

Searched refs:serializedNavigationState (Results 1 – 4 of 4) sorted by relevance

/expo/packages/expo-dev-launcher/bundle/native-modules/
H A DDevLauncherInternal.ts37 const serializedNavigationState = await DevLauncher.getNavigationState(); constant
41 navigationState = JSON.parse(serializedNavigationState);
/expo/packages/expo-dev-launcher/bundle/hooks/
H A DuseOnUpdatePress.tsx44 const serializedNavigationState = JSON.stringify(rootNavigation?.getState());
46 saveNavigationStateAsync(serializedNavigationState);
/expo/packages/expo-dev-launcher/ios/
H A DDevLauncherInternal.swift74 AsyncFunction("saveNavigationState") { (serializedNavigationState: String) in in definition()
75 UserDefaults.standard.set(serializedNavigationState, forKey: LAUNCHER_NAVIGATION_STATE_KEY) in definition()
/expo/packages/expo-dev-launcher/android/src/debug/java/expo/modules/devlauncher/modules/
H A DDevLauncherInternalModule.kt285 val serializedNavigationState = sharedPreferences.getString("navigationState", null) ?: "" in getNavigationState() constant
286 promise.resolve(serializedNavigationState) in getNavigationState()
290 fun saveNavigationState(serializedNavigationState: String, promise: Promise) { in saveNavigationState()
292 sharedPreferences.edit().putString("navigationState", serializedNavigationState).apply() in saveNavigationState()