For the complete documentation index, see llms.txt. This page is also available as Markdown.

loggedInId

Return the unique customer identifier associated with the current device.

Returns a string of the external identifier that Nami has stored. Returns null if no id has been stored, including if a string was passed to login that was not valid.

let customerId = NamiCustomerManager.loggedInId()
val customerId = NamiCustomerManager.loggedInId()
var customerId = NamiCustomerManager.loggedInId();
const checkId = async () => {
  const loggedId = await NamiCustomerManager.loggedInId();
  const deviceId = await NamiCustomerManager.deviceId();
  setExternalId(loggedId);
  setDisplayedDeviceId(deviceId);
};
var loggedInId = NamiCustomerManager.LoggedInId;

Last updated