shashankvaibhav / freshchat-android-reactnative Goto Github PK
View Code? Open in Web Editor NEWFreshchat library for React native. Currently it supports android only.
Freshchat library for React native. Currently it supports android only.
hi @shashankvaibhav FreshChatReactPackage.java:27: error: method does not override or implement a method from a supertype
Hi, please give some example. I stuck at initializing.
How to show chat in screen?
Thank you
When I run the react-native run-android command, I have this error:
error : J:\Projet\foongon\react native\Entreprise\Katika\android\app\src\main\java\com\katika\MainApplication.java:26: error: cannot find symbol
new FreshChatReactPackage()
^
symbol: class FreshChatReactPackage
1 error
:app:compileDebugJavaWithJavac FAILED
What can be done to solve this problem ?
Link Image Error : https://image.noelshack.com/fichiers/2018/20/7/1526795123-erreur.png
Link My File MainApplication : https://image.noelshack.com/fichiers/2018/20/7/1526795455-mainapplication.png
There is not a function to get the user restoreId
hello ,
I try , code below, i not see display Faqs . What is basic syntax to render FreshChatSdk.showFAQs() ?
`import React from 'react'
import { StyleSheet, View , Text, Image , TouchableOpacity} from 'react-native'
import FreshChatSdk from 'react-native-android-library-freshchat-sdk'
class ListCategoryChallenge extends React.Component {
constructor(props) {
super(props)
this.state = {
};
FreshChatSdk.init('-----','-----')
}
render() {
return (
<View>
FreshChatSdk.showFAQs()
</View>
);
}
}
const styles = StyleSheet.create({
})
export default ListCategoryChallenge
`
I am new in the development with React Native, I wish to know in which file to put this instruction
5 - add this in your MainApplication package list.
new FreshChatReactPackage()
After init of fresh chat i called the showFAQs function and it opens a toast saying "uh-uh FAQ section not available".
1 error
:react-native-android-library-freshchat-sdk:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
Compilation failed; see the compiler error output for details.
I have react native 0.51.0 and react-native-android-library-freshchat-sdk 2.0.0
Hi,
I was able to successfully initialise user and open chat conversations.
Thanks in advance.
I cannot run my test cases because of the freshchat issue as follows :
TypeError: _reactNativeFreshchatSdk.FreshchatConfig is not a constructor
When I run the react-native run-android command, I have this error:
j:\project\node_modules \ react-native-android-library-freshchat-sdk \ android \ src \ main \ java \ com \ android \ freshchatSdk \ FreshChatReactPackage.java: 27: error: method est not override or implement a method de supertype
@OverRide
What can be done to solve this problem ?
Link Image error : https://image.noelshack.com/fichiers/2018/20/7/1526793415-error-freshchat.png
My Package.json is :
{ "name": "Katika", "version": "0.0.1", "private": true, "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start", "test": "jest" }, "dependencies": { "native-base": "^2.4.4", "react": "16.3.1", "react-native": "0.55.4", "react-native-android-library-freshchat-sdk": "^2.0.0", "react-native-material-menu": "^0.3.1", "react-native-super-grid": "^2.3.1", "react-native-vector-icons": "^4.6.0", "react-navigation": "^2.0.1", "react-redux": "^5.0.7", "redux": "^4.0.0" }, "devDependencies": { "babel-jest": "22.4.3", "babel-preset-react-native": "4.0.0", "jest": "22.4.3", "react-test-renderer": "16.3.1" }, "jest": { "preset": "react-native" } }
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.