ashdavies / rx-firebase Goto Github PK
View Code? Open in Web Editor NEWReactive Java wrapper for use with the Android Firebase client
License: Apache License 2.0
Reactive Java wrapper for use with the Android Firebase client
License: Apache License 2.0
Calling setPersistenceEnabled
must be performed before any database operation thus calling via RxFirebaseDatabase
crashes the application
Include auth module for updated Firebase
sdk
Include sample application to demonstrate usage of the library modules
App crashes with firebase libs version 10.2.6 with error
Checked on 10.0.1 - all ok.
Caused by: java.lang.NoSuchMethodError: No virtual method zzTu()Ljava/lang/String; in class Lcom/google/firebase/FirebaseApp; or its super classes (declaration of 'com.google.firebase.FirebaseApp' appears in ....)
Please update versions in you library. Thanks
I've been wondering about the backpressure strategy you have set for the flowable on database. Right now it's set to buffer, which will maintain a buffer of ALL events. I'm not sure that this is the right approach. If the purpose is to wrap firebase with rx, there's rarely a good reason to present inaccurate snapshots to any consumer. I think you should be using the LATEST
backpressure strategy. In LATEST, if n writes occur before n-1 writes are read by the subscriber, the latest value will be overwritten on the unread write. This seems to be exactly what firebase does in an non-rx flow.
What do you think?
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.