Nabla Messaging Core SDK
Documentation
Check our documentation portal for in depth documentation about integrating and using the SDK.
Installation
npm install --save '@nabla/react-native-messaging-core'
yarn add '@nabla/react-native-messaging-core'
Usage
NablaMessagingClient
import { NablaMessagingClient } from '@nabla/react-native-messaging-core';
const nablaMessagingClient = NablaMessagingClient.getInstance();
const subscription = nablaMessagingClient.watchConversations(
(error) => {
subscription.remove();
},
(list) => {
},
);
nablaMessagingClient.loadMoreConversations(
(error) => {
},
() => {
},
);
nablaMessagingClient.createConversation(
(error) => {
},
(conversationId) => {
},
title,
providerId,
);
License
MIT