0.0.63 • Published 2 years ago

react-native-wixanswers-sdk v0.0.63

Weekly downloads
7
License
MIT
Repository
github
Last release
2 years ago

react-native-wixanswers-sdk

Wix Answers SDK enables your users to access the Wix Answers widget from inside your application. Your users will have access to all of the existing widget features:

  • Live chat
  • KB articles
  • Contact form
  • Request callback
  • and more!

Getting started

$ npm install react-native-wixanswers-sdk --save

$ cd ios && pod install

See the corresponding documentation for additional configuration and options:

Note: This module does not support Expo.

Usage

import WixanswersSdk from 'react-native-wixanswers-sdk';

WixanswersSdk.configure('TENANT_NAME', 'WIDGET_ID', async (setToken) => {
  const token = await MY_USER_AUTHENTICATION_FUNCTION(); // <-- implement this function to authenticate via your own server
  setToken(token);
}, 'OPTIONAL_LOCALE');

// after the SDK is configured
WixanswersSdk.openWidget();
0.0.62

2 years ago

0.0.63

2 years ago

0.0.60

2 years ago

0.0.61

2 years ago

0.0.0

3 years ago

0.0.59

4 years ago

0.0.58

4 years ago

0.0.57

4 years ago

0.0.56

4 years ago

0.0.29

4 years ago