Giter Club home page Giter Club logo

freshchat-android-reactnative's People

Contributors

jiteshdugar avatar pragadeesh0106 avatar shashankvaibhav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

freshchat-android-reactnative's Issues

Give some example

Hi, please give some example. I stuck at initializing.

How to show chat in screen?

Thank you

Error Build Apps : error: cannot find symbol new FreshChatReactPackage()

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

What is basic syntax to render FreshChatSdk.showFAQs()

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
`

FAQ section unavailable

After init of fresh chat i called the showFAQs function and it opens a toast saying "uh-uh FAQ section not available".

compile Error

1 error
:react-native-android-library-freshchat-sdk:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-android-library-freshchat-sdk:compileReleaseJavaWithJavac'.

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

How to update userProperties ?

Hi,
I was able to successfully initialise user and open chat conversations.

  1. But i am not sure how to update other meta properties of an existing user. For example - On each screen i need to update on which screen the user is, by updating meta property for screen.
  2. How should i enable notifications for the messages that are coming to the user.

Thanks in advance.

Error Build Apps : Can not compile my application

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" } }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.