georgedavidtito / react-native-zendesk-ichat Goto Github PK
View Code? Open in Web Editor NEWSimple module that allows displaying Zopim Chat from Zendesk for React Native in the latest versions.
License: MIT License
Simple module that allows displaying Zopim Chat from Zendesk for React Native in the latest versions.
License: MIT License
Hello @davidtito1992
I am having a cumbersome issue using this package with FCM push notifications.
When a push notification launches the iOS app from a quit state it always crashes the app.
I followed zendesk documentation that is described here by you like so:
- (void) application:(UIApplication*)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData*)tokenData {
[ZDCChat setPushToken:tokenData];
}
- (void) application:(UIApplication*)application didReceiveRemoteNotification:(NSDictionary*)userInfo {
[ZDCChat didReceiveRemoteNotification:userInfo];
}
Here is also a stack trace of the native crash:
Trying to link:
react-native link react-native-zendesk-ichat
Got this error:
error Something went wrong while linking. Error: Expected [\n\r] but end of input found.
React Native Environment Info:
System:
OS: macOS 10.15
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 167.52 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 10.16.0 - /usr/local/bin/node
Yarn: 1.16.0 - /usr/local/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
Android SDK:
API Levels: 23, 26, 27, 28
Build Tools: 26.0.2, 26.0.3, 27.0.3, 28.0.0, 28.0.2, 28.0.3
System Images: android-28 | Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.3 AI-182.5107.16.33.5314842
Xcode: 10.3/10G8 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: ^0.59.9 => 0.59.10
npmGlobalPackages:
react-native-cli: 2.0.1
Can't install pods
[!] CocoaPods could not find compatible versions for pod "RNZendeskChat":
In Podfile:
RNZendeskChat (from `../node_modules/react-native-zendesk-ichat/ios`)
Specs satisfying the `RNZendeskChat (from `../node_modules/react-native-zendesk-ichat/ios`)` dependency were found, but they required a higher minimum deployment target.
The department set in this method is not working in Android. Zendesk doesn't show any department when started the chat. Did I miss anything?
ZendeskChat.startChat({
name: 'someName',
email: 'someEmail',
phone: 'somePhone',
tags: ['someTag1', 'someTag2'],
department: 'someDepartment'
})
How do I use Push notification?
I tried to do it but it seems that I am missing something
Can I change the Zendesk Chat user interface, eg. color, font, etc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.