chat-sdk / firestream-android Goto Github PK
View Code? Open in Web Editor NEWA light weight messaging framework for Firestore and Firebase Realtime
License: Apache License 2.0
A light weight messaging framework for Firestore and Firebase Realtime
License: Apache License 2.0
Is the bug present in the demo Chat SDK project?
What modifications have you made to the Chat SDK?
Android Version:
8.0
Steps taken to reproduce the problem:
Fire.stream().loadMoreMessagesBefore()
, or any other loadMoreMessages
method
Expected result:
List of messages before this time
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)
I am my own and other user chat message in case of 1-to-1, how can it be achieved ?
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.
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.