https://github.com/robbywh/react-native-zendesk-messaging
Zendesk Messaging for React Native
https://github.com/robbywh/react-native-zendesk-messaging
react-native
Last synced: 4 months ago
JSON representation
Zendesk Messaging for React Native
- Host: GitHub
- URL: https://github.com/robbywh/react-native-zendesk-messaging
- Owner: robbywh
- License: mit
- Created: 2022-02-11T22:17:29.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-06-25T04:01:52.000Z (about 1 year ago)
- Last Synced: 2025-10-02T16:21:55.543Z (9 months ago)
- Topics: react-native
- Language: Java
- Homepage:
- Size: 660 KB
- Stars: 16
- Watchers: 1
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# @robbywh/react-native-zendesk-messaging
Zendesk Messaging for React Native
## Installation
```sh
yarn add @robbywh/react-native-zendesk-messaging
```
For the Android platform, don't forget to add this script inside `android/build.gradle`
```
allprojects {
repositories {
maven {
url "https://zendesk.jfrog.io/artifactory/repo"
}
}
}
```
## Usage
```js
import * as React from 'react';
import { Text, View, Button, Platform } from 'react-native';
import Config from 'react-native-config';
import {
initialize,
showMessaging,
} from '@robbywh/react-native-zendesk-messaging';
const App = () => {
React.useEffect(() => {
initialize(
Platform.OS === 'android'
? Config.CHANNEL_KEY_ANDROID
: Config.CHANNEL_KEY_IOS
);
}, []);
return (
Zendesk Messaging
Press The "CHAT" button to test
showMessaging()} title="CHAT" />
);
};
export default App;
```
## Contributing
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
## License
MIT
---
Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)