# present()

> Opens the measuring / try-on window for a product, full screen over activity.

Source: https://docs.tryyoursize.com/reference/android/present/

*Method* · `com.tryyoursize:tryyoursize-android`

Opens the measuring / try-on window for a product, full screen over `activity`.

```kotlin
@JvmOverloads
public fun present(activity: ComponentActivity, product: String, step: OpenStep? = null)
```

## Parameters

- **`activity`** (`ComponentActivity`, required): An androidx `ComponentActivity`.
- **`product`** (`String`, required): Your product ID or SKU.
- **`step`** (`OpenStep?`, optional, default `null`): `OpenStep.CREATE`, `IMPROVE` or `VIEW`.

## Example

**Kotlin**

```kotlin
tys.present(activity, "SKU-123")                // or step = OpenStep.VIEW
```

**Swift**

```swift
tys.present(product: "SKU-123")                 // or step: .view, from: viewController
```

**React Native**

```tsx
present("SKU-123");                             // or present("SKU-123", "view")
```

**Flutter**

```dart
await tys.present('SKU-123');                   // or step: OpenStep.view
```
