# Navigation

Control navigation and routing behavior.

| Parameter | Type | Description | Effect |
|-----------|------|-------------|--------|
| instantRedirect | string | Path to redirect to | Immediately navigates to specified route after verification |

**Note:** Path will be normalized (leading `/` added if missing).

**Navigation Control**

_Swift (iOS)_
```swift
// Via customParams
kinestex.createView(
    customParams: [
        "instantRedirect": "/workout/start"
    ]
)
```

_Kotlin (Android)_
```kotlin
// Via customParams
KinesteXSDK.createView(
    customParams = mapOf(
        "instantRedirect" to "/workout/start"
    )
)
```

_React Native_
```jsx
// Via customParameters
const postData: IPostData = {
  key: 'YOUR_API_KEY',
  userId: 'user-123',
  company: 'YOUR_COMPANY',
  customParameters: {
    instantRedirect: '/workout/start',
  },
};
```

_Flutter_
```dart
// Via customParams
KinesteXAIFramework.createView(
  customParams: {
    "instantRedirect": "/workout/start",
  },
);
```

_HTML / JavaScript_
```html
// Direct in postData object
const postData = {
  userId: "user-123",
  company: "YOUR_COMPANY",
  key: "YOUR_API_KEY",
  instantRedirect: "/workout/start",
};
```

_React (TypeScript)_
```tsx
// Via customParameters
const postData: IPostData = {
  key: 'YOUR_API_KEY',
  userId: 'user-123',
  company: 'YOUR_COMPANY',
  customParameters: {
    instantRedirect: '/workout/start',
  },
};
```

---
Source: https://kinestex.com/docs/customization-parameters/navigation-params · Index: https://kinestex.com/llms.txt
