> 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/namicustomermanager/isloggedin.md).

# isLoggedIn

Return if a user is currently logged into the device

Returns a boolean representing if there is a customer identifier current associated with the device. In other words, Nami believes the device is logged into to an account.

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

```swift
let loggedIn = NamiCustomerManager.isLoggedIn()
```

{% endtab %}

{% tab title="Kotlin" %}

```kotlin
val loggedIn = NamiCustomerManager.isLoggedIn()
```

{% endtab %}

{% tab title="Flutter" %}

```dart
var loggedIn = NamiCustomerManager.isLoggedIn();
```

{% endtab %}

{% tab title="React Native" %}

```jsx
const checkIsLoggedIn = async () => {
  const isLoggedIn = await NamiCustomerManager.isLoggedIn();
  setIsUserLogin(isLoggedIn);
  console.log('isLoggedIn', isLoggedIn);
};
```

{% endtab %}

{% tab title="Unity" %}

```c
var isLoggedIn = NamiCustomerManager.IsLoggedIn;
```

{% endtab %}
{% endtabs %}
