Code Monkey home page Code Monkey logo

firestream-android's People

Contributors

bensmiley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar

firestream-android's Issues

RuntimeException on Fire.stream().loadMoreMessagesBefore()

  1. Is the bug present in the demo Chat SDK project?

  2. What modifications have you made to the Chat SDK?

  3. Android Version:
    8.0

  4. Steps taken to reproduce the problem:
    Fire.stream().loadMoreMessagesBefore() , or any other loadMoreMessages method

  5. Expected result:
    List of messages before this time

  6. Actual result:

java.lang.RuntimeException: Class firestream.chat.message.Body has multiple setter overloads with name setType
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper$BeanMapper.<init>(CustomClassMapper.java:677)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper.loadOrCreateBeanMapperForClass(CustomClassMapper.java:377)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper.convertBean(CustomClassMapper.java:540)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper.deserializeToClass(CustomClassMapper.java:253)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper.deserializeToType(CustomClassMapper.java:189)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper.access$300(CustomClassMapper.java:54)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper$BeanMapper.deserialize(CustomClassMapper.java:770)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper$BeanMapper.deserialize(CustomClassMapper.java:741)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper.convertBean(CustomClassMapper.java:542)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper.deserializeToClass(CustomClassMapper.java:253)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.util.CustomClassMapper.convertToCustomClass(CustomClassMapper.java:100)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.DocumentSnapshot.toObject(DocumentSnapshot.java:187)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.QueryDocumentSnapshot.toObject(QueryDocumentSnapshot.java:116)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.DocumentSnapshot.toObject(DocumentSnapshot.java:165)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.firebase.firestore.QueryDocumentSnapshot.toObject(QueryDocumentSnapshot.java:97)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at firestream.chat.firestore.FirestoreCoreHandler.a(SourceFile:54)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at firestream.chat.firestore.FirestoreCoreHandler.lambda$fvdTVDNMCp74GxQBEW_GnxPT6Uk(Unknown Source:0)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at firestream.chat.firestore.-$$Lambda$FirestoreCoreHandler$fvdTVDNMCp74GxQBEW_GnxPT6Uk.apply(Unknown Source:2)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at io.reactivex.internal.operators.single.SingleMap$MapSingleObserver.onSuccess(SingleMap.java:57)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at io.reactivex.internal.operators.single.SingleFlatMap$SingleFlatMapCallback$FlatMapSingleObserver.onSuccess(SingleFlatMap.java:111)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at io.reactivex.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.onSuccess(SingleSubscribeOn.java:68)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at io.reactivex.internal.operators.single.SingleCreate$Emitter.onSuccess(SingleCreate.java:67)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at sdk.guru.firestore.RXFirestore.a(SourceFile:31)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at sdk.guru.firestore.RXFirestore.lambda$KlpjBpkMJI0b4MAl-9mqXmvry_U(Unknown Source:0)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at sdk.guru.firestore.-$$Lambda$RXFirestore$KlpjBpkMJI0b4MAl-9mqXmvry_U.onSuccess(Unknown Source:4)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.android.gms.tasks.zzm.run(com.google.android.gms:play-services-tasks@@17.0.2:4)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at android.os.Handler.handleCallback(Handler.java:789)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:98)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.google.android.gms.internal.tasks.zzb.dispatchMessage(com.google.android.gms:play-services-tasks@@17.0.2:6)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at android.os.Looper.loop(Looper.java:164)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:6541)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
2020-09-02 15:12:50.567 9302-9302/panda.contest.earn.dailycash.debug W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
  1. Comments:
    I like this library but its lacking docs, so I have to go through source code to implement firestream in my app.

Message History

I want to show or hide the message history by custom date in the chat list. How can I proceed with this step?
Could you help me or guide me on how to do this? I'll really happy if you help me.

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.