expo-zendesk-library
v0.1.0
Published
Zendesk Web Widget and SDK integration
Downloads
12
Maintainers
Readme
expo-zendesk-library
Zendesk SDK library
API documentation
Installation in managed Expo projects
For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release. If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release.
Installation in bare React Native projects
For bare React Native projects, you must ensure that you have installed and configured the expo
package before continuing.
Add the package to your npm dependencies
npx expo install expo-settings
Configure for Android
- Add the Zendesk Maven repository to your project dependency.
repositories {
maven {
url "https://zendesk.jfrog.io/artifactory/repo"
}
}
- Add the following dependency to your app's build.gradle:
implementation 'zendesk.messaging:messaging-android:2.20.1'
Configure for iOS
No Extra steps required for iOS
Note: You can find the latest version of the Zendesk SDK here
Usage
import { Zendesk } from 'expo-zendesk-library';
// Example: Initialize the Zendesk SDK
await Zendesk.initialize("channel_key");
// Example: Open the Zendesk Conversation
Zendesk.showConversation();
Contributing
Contributions are very welcome! Please refer to guidelines described in the contributing guide.