Coder Social home page Coder Social logo

lunahq / flutter-crisp Goto Github PK

View Code? Open in Web Editor NEW
22.0 5.0 38.0 156 KB

Flutter plugin for Crisp Chat

Home Page: https://pub.dev/packages/crisp

License: MIT License

Kotlin 3.04% Swift 2.95% Objective-C 0.27% Dart 68.64% Ruby 25.10%
crisp chat flutter open-source crisp-chat dart flutter-plugin flutter-plugins flutter-widget flutter-open-source

flutter-crisp's People

Contributors

chodex-xyz avatar darot-chen avatar f2acode avatar hadi-neon avatar leocardoso94 avatar maavimartinez avatar makcanca avatar mrserey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

flutter-crisp's Issues

Fatal Exception: java.lang.NullPointerException

Hello am getting Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference
at im.crisp.client.internal.c.b.c(:23) from crashlytic firebase. am using crisp 0.3.1.

Full log:
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference
at im.crisp.client.internal.c.b.c(:23)
at im.crisp.client.internal.f.b.a(:293)
at im.crisp.client.internal.f.b.a(:1)
at io.socket.emitter.Emitter.emit(Emitter.java:26)
at io.socket.client.Socket.onevent(Socket.java:83)
at io.socket.client.Socket.onpacket(Socket.java:35)
at io.socket.client.Socket.access$100(Socket.java)
at io.socket.client.Socket$2$2.call(Socket.java:9)
at io.socket.emitter.Emitter.emit(Emitter.java:26)
at io.socket.client.Manager.ondecoded(Manager.java:8)
at io.socket.client.Manager.access$1200(Manager.java)
at io.socket.client.Manager$5.call(Manager.java:2)
at io.socket.parser.IOParser$Decoder.add(IOParser.java:35)
at io.socket.client.Manager$2.call(Manager.java:15)
at io.socket.emitter.Emitter.emit(Emitter.java:26)
at io.socket.engineio.client.Socket.onPacket(Socket.java:194)
at io.socket.engineio.client.Socket.access$1000(Socket.java)
at io.socket.engineio.client.Socket$5.call(Socket.java:12)
at io.socket.emitter.Emitter.emit(Emitter.java:26)
at io.socket.engineio.client.Transport.onPacket(Transport.java:8)
at io.socket.engineio.client.Transport.onData(Transport.java:4)
at io.socket.engineio.client.transports.WebSocket.access$100(WebSocket.java)
at io.socket.engineio.client.transports.WebSocket$1$2.run(WebSocket.java:6)
at io.socket.thread.EventThread$2.run(EventThread.java:3)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
Pls how do i fix this?

Slow

The CrispView takes some time to load even when the CrispMain has been pre-registered. Is there a way to make it load faster?

Click send file on android crash app

I have a problem on send files on android but ios is fine.
When I click on + button to send file on android the app will crash.

Crisp version : 0.3.1

set user detail

hey! hope you be well!
I am using crisp: ^0.1.6 and my flutter version is 2.2.0
I send user detail in CrispMain() but I receive the message as a visitor
what should I do?
CrispView(
crispMain: CrispMain(
websiteId: 'test',
user: CrispUser(
avatar: 'test',
email: '[email protected]',
nickname: 'test',
phone: '5555',
)))
thank you.

file upload is broken

I cannot upload files on android.

If you click "+", it opens the file browser. Then I select a file, and then it restarts the webview

Add user's data

I want to add some data for user like the app version and so on

image

I need to use webview javascript method for this?

crisp in ios

hi , wish you best!
i am using crisp in my aoolication it is ok in android but i have problem in ios, in ios side it opens a browser page and does not behave as a widget

Is there ant way to logout a crisp user

Is there any way to log out as a crisp user?

so I can change the user and re-login with the same user to see the chat history?

Clear cache is not what we need.

Space allocated by keyboard does not shrink after keyboard dismissal (only in iOS)

Hi,

The space taken by the keyboard on iOS does not shrink after the keyboard was dismissed. (cf picture below)
Is it an error with my code or with the plugin?
I do not have the issue on Android devices.

Architectures:

  • Layout (custom component)
    • PageView
      • DashboardPage (custom component)
      • ChatPage (custom component)
      • AccountPage (custom component)
    • BottomNavigationBar
      • Dashboard button
      • Chat button
      • Account button

IMG_66AD5AD5ADAC-1

Cannot upload files on android

I cannot upload files on android.

If you click "+", it opens the file browser. Then I select a file, and then it restarts the webview

CrispView not fitting the entire scaffhold

Hi,

I'm having trouble with the size of the crispView on iOs devices. In Android, it works well. (see picture below)

Context:

Scaffhold:
-> LayoutWidget
     -> Stack
          -> Offstage( DashboardPage )
          -> Offstage( ChatPage )
               -> CrispView // problem here
          -> Offstage( AccountPage )
     -> BottomNavigationBar

When I remove the Offstage, the CrispView fits the entire screen.
I don't want to get rid of the offstage.

Does anyone have a workaround or not how to fix this issue?

Image d’iOS

Unable to send Audio message from Andorid Device

ON IOS devices we can send audio messages but on Android, we cannot send Audio messages. It says we "Could not record audio from your microphone. Did you allow access?" Although our application already has microphone access

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.