Coder Social home page Coder Social logo

Comments (6)

tschellenbach avatar tschellenbach commented on July 17, 2024
  1. Reactions should be stored locally before sending to the server

from stream-chat-android.

tschellenbach avatar tschellenbach commented on July 17, 2024

@tbarbugli what do you think about always sending push notifications from the API and ignoring it client-side.

from stream-chat-android.

luknow93 avatar luknow93 commented on July 17, 2024

I was thinking about creating new issue for it(maybe I should?) but I just tried to enable offlineStorage to see how it works and it immediately crashed

AsyncTask #2
    java.lang.RuntimeException: An error occurred while executing doInBackground()
        at android.os.AsyncTask$3.done(AsyncTask.java:354)
        at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
        at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
        at java.util.concurrent.FutureTask.run(FutureTask.java:271)
        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)
     Caused by: java.lang.IllegalArgumentException: No enum constant com.getstream.sdk.chat.enums.MessageStatus.received
        at java.lang.Enum.valueOf(Enum.java:258)
        at com.getstream.sdk.chat.enums.MessageStatus.valueOf(MessageStatus.java:3)
        at com.getstream.sdk.chat.storage.converter.MessageStatusConverter.fromString(MessageStatusConverter.java:11)
        at com.getstream.sdk.chat.storage.ChannelsDao_Impl.getChannel(ChannelsDao_Impl.java:1043)
        at com.getstream.sdk.chat.storage.Storage$ChannelQuery.doInBackground(Storage.java:475)
        at com.getstream.sdk.chat.storage.Storage$ChannelQuery.doInBackground(Storage.java:462)
        at android.os.AsyncTask$2.call(AsyncTask.java:333)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245) 
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 
        at java.lang.Thread.run(Thread.java:764) 

from stream-chat-android.

adrian09h avatar adrian09h commented on July 17, 2024

@lukenowakcom it seems your crash has to do with MessageStatus enum. we removed the enum already.
Please try new version of library.

from stream-chat-android.

luknow93 avatar luknow93 commented on July 17, 2024

@adrian09h Just tried 3.2.1 , same error.
Unless the fix is one of the pre-release versions?

from stream-chat-android.

adrian09h avatar adrian09h commented on July 17, 2024

@adrian09h Just tried 3.2.1 , same error.
Unless the fix is one of the pre-release versions?

3.2.1 is not latest version.
Please try 3.2.3-glide-logs

from stream-chat-android.

Related Issues (20)

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.