One interface, two languages, three ways to call across

TypeScript (React Native) ↔ Kotlin (Android Native) Bridge Contract
TYPESCRIPT BrownfieldNavigationSpec JNI / NATIVE BRIDGE RAIL KOTLIN BrownfieldNavigationDelegate navigateToSettings(user) Returns: void navigateToSettings(user: User) Returns: Unit FIRE & FORGET requestNativeConfirmation(title) Returns: Promise<boolean> suspend fun requestConfirmation(...) Returns: Boolean PROMISE / ASYNC showNativeBanner(msg, onDismiss) Passes: ( ) => void handle showBanner(msg, onDismiss) Stores: ( ) -> Unit callback CALLBACK LOOP T
Hover or click any method to inspect how data and execution flow across the cross-language bridge.
CONTRACT READY
Plain Line Fire-and-forget void call
Doubled Line Promise with return payload
Looped Line Asynchronous callback handle