Is chat available?

If your organization has Business Schedules or Holidays turned on, the Kustomer.isChatAvailable() method will return the availability based on those dates and times.

📘

The returned value may change in later versions, giving more granular result than a boolean

Example

import KustomerChat from '@kustomer/chat-react-native';

KustomerChat.isChatAvailable().then((isAvailable) => {
  if (isAvailable) {
    // Chat is available
  } else {
    // Chat is not available
  }
});

What’s Next