> For the complete documentation index, see [llms.txt](https://docs.namiml.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.namiml.com/sdk-reference/namientitlementmanager/refresh.md).

# refresh

Manually trigger a refresh of the user's latest active entitlements from the Nami services.

{% tabs %}
{% tab title="Swift" %}

```swift
NamiEntitlementManager.refresh()
```

{% endtab %}

{% tab title="Kotlin" %}

```kotlin
NamiEntitlementManager.refresh(refreshCallBack: (List<NamiEntitlement>?) -> Unit)
```

{% endtab %}

{% tab title="Flutter" %}

```dart
static Future<List<NamiEntitlement>> refresh() async
```

{% endtab %}

{% tab title="React Native" %}

<pre class="language-tsx"><code class="lang-tsx"><strong>import {NamiEntitlementManager, NamiEntitlement} from 'react-native-nami-sdk';
</strong>
NamiEntitlementManager.refresh((newEntitlements) => {
  console.log('newEntitlements', newEntitlements);
});
</code></pre>

{% endtab %}

{% tab title="Unity" %}

```c
NamiEntitlementManager.Refresh(RefreshCallback);

void RefreshCallback(List<NamiEntitlement> entitlements)
{
    // on refresh
}
```

{% endtab %}
{% endtabs %}
