0.3.2 • Published 6 months ago
react-native-zendesk-messaging v0.3.2
react-native-zendesk-messaging
Zendesk messaging SDK for React Native
Features
- 🔥 Not a Classic SDKs. It's new SDKs
- 🗣️ Basic conversation features
- 🔔 Push Notifications
- support native customizing or integrate with @react-native-firebase/messaging
- ✅ Support SDK events
- 🔑 User Authentication
- 🚗 Visitor Path
- 📝 Conversation Metadata(fields and tags)
Read official announcement about new messaging SDKs here.
Installation
npm install react-native-zendesk-messaging
# or
yarn add react-native-zendesk-messaging
Getting Started
Read Getting Started Guide.
Usage
import React, { useEffect } from 'react';
import {
StyleSheet,
SafeAreaView,
Pressable,
Text
} from 'react-native';
import * as Zendesk from 'react-native-zendesk-messaging';
const CHANNEL_KEY = 'YOUR_ZENDESK_CHANNEL_KEY';
function App() {
useEffect(() => {
Zendesk.initialize({ channelKey: CHANNEL_KEY })
.then(() => /* success */)
.catch((error) => /* failure */);
}, []);
const handlePressOpenButton = () => {
Zendesk.openMessagingView();
};
return (
<SafeAreaView style={styles.container}>
<Pressable onPress={handlePressOpenButton}>
<Text>Open Messaging</Text>
</Pressable>
</SafeAreaView>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
},
});
For more details, Read the API References.
If you're interested in contributing, check out the Contributing Guide.
Contributing
See CONTRIBUTING.md.
License
Made with create-react-native-library
0.3.0
6 months ago
0.3.2
6 months ago
0.3.1
6 months ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.2.0-rc.0
2 years ago
0.1.1-rc.0
2 years ago
0.1.1
2 years ago
0.1.0
3 years ago
0.1.0-rc.9
3 years ago
0.1.0-rc.8
3 years ago
0.1.0-rc.7
3 years ago
0.1.0-rc.6
3 years ago
0.1.0-rc.5
3 years ago
0.1.0-rc.4
3 years ago
0.1.0-rc.3
3 years ago
0.1.0-rc.2
3 years ago
0.1.0-rc.1
3 years ago
0.1.0-rc.0
3 years ago
0.1.0-alpha.2
3 years ago
0.1.0-alpha.0
3 years ago
1.0.0
3 years ago