![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@kustomer/chat-react-native
Advanced tools
Embed Kustomer in your own products with our chat SDK for React Native.
yarn add @kustomer/chat-react-native
iOS support
cd ios
pod update
pod install
Android Support
Due to potential late init issues, we recommend initialization through your MainApplication.java/kt
edit android/app/src/main/java/com/push_notifications/MainApplication.kt
public void onCreate() {
// ...
KustomerChat.configure(apiKey, options);
}
The default way to configure the SDK is through in your app's js bundle. Here is an example app with README explaining how to configure the app to securely import your API key.
import KustomerChat from '@kustomer/chat-react-native';
if(platform.ios) {
// Ensure configure runs only once. Tested with `useEffect`. see example above.
KustomerChat.configure(apiKey, options);
}
Add the following to your Info.plist
for file upload support:
Privacy - Camera Usage Description
Privacy - Media Library Usage Description
Privacy - Microphone Usage Description
Privacy - Photo Library Usage Description
For auth setup, see the iOS docs
import KustomerChat from '@kustomer/chat-react-native';
KustomerChat.show(KustomerDisplayMode); // KustomerDisplayMode is an optional enum param
For Android, see the Android docs For iOS, see the iOS docs
We are working on a way to customize colors in JS/TS sources, once, but it is currently not possible with the native SDKs.
You can view the license here
WIP: Most of the APIs are stable, and no major changes are expected in the way the SDK works.
react-native-permissions
or react-native-push-notification
or react-native-firebase
AppDelegate.m
accordingly.ℹ️ Note: this will likely match android's behavior in the future
react-native-firebase
), and call setPushToken
once a token is received.KustomerChat.onRemoteMessage
in your onRemoteMessage
callback. You can use isKustomerNotification
to check if the message is from Kustomer, and should be forwarded.FAQs
Kustomer Chat SDK wrapper for React Native
We found that @kustomer/chat-react-native demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 57 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.