Before getting started you’ll definitely want to read about the origination of this package… you can do that here.
All right, now that you’re back, this is the issue we’re going to be tackling today. In the first iteration of the package, only string values were supported as filter conditions. Booleans and numbers require a little extra work to normalize and I didn’t want them to slow down getting the initial version of the package published.
The app I’m working on in my spare time has a need to consume large lists of data, with a key requirement of making it easy to filter the list based on properties of items in the list. Additionally, the list should be searchable to further narrow the results.
There are several places I was going to need this functionality, so it needed to be as generic as possible. I’m making heavy use of the
flutter_bloc package for state management, so it should ideally be able to slot right into the existing app architecture. …
Or… how the heck is it even possible that the same exact code fails to pass analysis once it’s extracted into a local package?!
I’m working on a generic flutter widget using the
flutter_bloc package that makes it easier to filter and search a list of data (more on that coming soon, but it will expand on the initial work found here). …
In my previous guide, we went over a technique to use Cloud Firestore to efficiently generate and maintain large lists of data to be consumed by a client with minimal use of Cloud Firestore read quota. We’ll be expanding on that technique here (using such buzz-words as repository and BLoC), so it will be highly beneficial to give that a read before continuing.
Most folks these days have likely heard of Flutter and all of the cross-platform benefits that come from choosing it as your UI toolkit. I’m not going to dive into any of those benefits here, as there’s…
We previously discussed methods and techniques for testing Cloud Firestore functions and security rules, and we’ll be expanding on that knowledge in later sections. Give that article a read first, then join us back here.
A huge tenant of any mobile application is displaying, filtering, and very likely full-text searching across large lists of data. Querying is relatively straightforward in Cloud Firestore, but full-text searching is not (which is another issue entirely). …
Writing Cloud Firestore functions and security rules is relatively well documented and understood. Testing them, however, is not.
Presented here is a quick overview of how I’m writing and organizing functions and security rules, and more importantly how to confidently test your code. Everything below can be found in this repository.
As of this writing, the packages I’m using are:
"firebase-tools": "7.3.0" (installed globally),
I haven’t yet had a need to split my Firestore project into a separate repository, so it lives…
This is the first entry in my series on tech stack choices when you’re working on side project with a small team (or even by yourself). You can find the introduction here. Today we’re going to be discussing data!
Some applications work quite well with only local storage. Most, though, will need some form of centralized storage for long-term persistence and recovery, social or sharing features, data insights, the list goes on and on. …
Working on a side project by yourself (or on a small team) can be daunting at times. It’s all too easy to feel like you’re not making any real progress on features or bug fixes, and then you have to apply a security patch to your server, deal with a broken CI environment, handle something that went sideways with your database, or otherwise switch gears into something that may not be your speciality. All of that, while important, keeps you from your ultimate goal of creating something amazing.
In this series, I’m going to delve as in-depth as I can…
I’ll start by saying that I love my HomePod. It sounds phenomenal no matter what’s playing. I didn’t think I would ever be so giddy about listening to music (heck, even someone’s voice).
But, forcing all connections through AirPlay, especially an Apple TV, leaves a lot to be desired. Yes, I knew it wasn’t a connected sound bar when I bought it; I simply figured it would work well enough until the software caught up with the hardware. …
Webpack is an amazing module bundler, but it’s not without its complexities. If you’re just getting started, everything can seem to just work by magic… much like when you’re getting started with AngularJS and the DOM updates automatically for the first time. Below is one simple tip to dramatically decrease your final bundle size if you’re using
If you’re using
Senior Software Engineer, Frontend at Slack