Porting onboarding/flashing flow io iOS

This commit is contained in:
James Babcock committed 2026-09-19 09:19:26 -07:00
1 parent 68b459751e
commit 64bf600ef9
46 files changed
+1419 -211

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import { Frame } from '@nativescript/core'
/** Return to the existing iOS controller after a devices/firmware detour. */
export function finishOnboardingNavigation(): void {
const frame = Frame.topmost()
const main = global.isIOS && frame?.backStack.find(entry => entry.entry.moduleName === 'phone-ui/main-page')
if (main) frame.goBack(main)
else frame?.navigate({ moduleName: 'phone-ui/main-page', clearHistory: true })
}