Category: Android

Hardly Comprehensive Introduction to RxJava: Observable Types, Backpressure, and Error Handling

RxJava is an ever increasing-in-demand tool for developers of many platforms even beyond Android. Its most attractive feature comes in the form of performing async operations without the use of callbacks. Instead, Observables and Observers are used in conjunction to emit data (once or multiple times) and include methods of their own to handle what…
Read more

Vanilla Firestore vs RxFirestoreKT

RxFirestoreKT is a great library for combining RxJava (Kotlin) and Firestore together, but what I noticed about Firestore is that it already contains many of RxJava’s advantages as it is. Firestore works asynchronously, it can map documents to POJO objects, and can keep a continuous stream of data flowing, handles errors well, and it does…
Read more

Firebase In Use 1: Dynamic Admin-User Roles with Authentication

If you know my man Sam Stern who’s popped up a couple times around my Reddit, you probably heard his talk with Kiana McNellis on Integrating back-end systems with Firebase for better app management. This sparked an idea for what could be a new series here on this blog, Firebase In Use where I go over…
Read more

Getting Started with Firebase Invites for Android

Okay I know I said the Getting Started series has been completely covered and concluded in the Performance Monitoring post. “And that about sums it up for the ‘Getting Started With’ series. I’m preparing a whole variety of changes here at EricDecanini.com that you should be excited about.” Of course, it’s me we’re talking about…
Read more

Building Firebase Dynamic Links with the Android Builder API

I may have almost forgotten about my promise in my first Dynamic Links post I never did Until I started working with Dynamic Links again for one of my own upcoming apps where I’m using email-invites as a way for people to collaborate on a single shopping list. If you know Dynamic Links, you know the drill.…
Read more

Planning a $0 Budget Android App Marketing Strategy with Firebase

Chances are, you’re an indie Android Developer. You just finished an app and are about to release it on the Play Store then it hits you: you don’t have a way to get those downloads going. It hits you so hard that you might as well as gone well back in time and and fought…
Read more

Getting Started with Firebase Performance Monitoring on Android

We are on the LAST installment in our ‘Getting Started With’ series and it is on performance monitoring! Now there’s a reason why this was the last for me to cover, and probably the last that many of you would pay attention too (but please, correct me if I’m wrong). For many of us, performance just isn’t…
Read more

Conducting Robo Tests with Firebase Test Lab

We all know testing is important. Very important. While it seems simple on the surface, it goes way deep. There are so many different methods of testing like say, unit tests, integration tests, UI tests, the list goes on. In comes Firebase Test Lab which lets you perform a couple of these on real physical devices running in a…
Read more

Constructing POST HTTP Firebase Cloud Messages for dummies and YOU

Don’t get me wrong, the Firebase Cloud Messaging docs are great. It’s all very extensive and the code’s everywhere. That’s EXACTLY why I’m going to make this post. Because I don’t understand a bloody bit of it mate. It takes me a full 4 hours just to understand one section of it. By the way mate,…
Read more

Device Group Messaging with Firebase Cloud Messaging

Device Group Messaging allows you to send a single message to all devices that belong to a single user, otherwise known as a group. Quite frankly, a group can be the devices that belong to more than a single user, we are however limited to 20 devices per group, so that sucks. Use Cases Why though? Why…
Read more

Topic Messaging with Firebase Cloud Messaging on Android

Topic Messaging is used for sending messages to people subscribed to well, topics. Perfectly suited for publicly available information like news, weather, and the sort. As such, we need to provide a way for users to subscribe before anything else. Subscribing to the Topic

Doesn’t get any simpler than that. A  subscribeToTopic method passing in the…
Read more

Getting Started with Firebase Cloud Messaging on Android

We’re back to our Getting Started series in an aim to cover all the Firebase services on Android. As big as Cloud Messaging is, it leaves me to wonder why I didn’t cover this sooner. Cloud Messaging in a Nutshell Cloud messaging is your standard go-to service for increasing user engagement. You use it to…
Read more

Getting Started with Firebase In-App Messaging on Android

You heard it. One of Firebase Cloud Messaging‘s biggest weaknesses was its inability to send messages inside the app. If the user had their app open, chances are the message wouldn’t even show up. Now in comes Firebase In-App Messaging. The service that allows you to do… exactly that! One of the best parts is that its piss…
Read more

Getting Started with Firebase Authentication on Android

Although I have covered using Firebase Authentication with FirebaseUI, I figured I haven’t covered the traditional way of implementing Firebase Authentication which allows you to use your own authentication screen. Back to the basics! This one is going to be quick and easy. You don’t want to waste time reading useless jargain and I don’t…
Read more

How and why you should use Firebase Dynamic Links in your Android App

URLs used to be straightforward. You’d type one in, and most times, you’d be taken to a website. Simple, right? Enter the mobile age where much of the operating system is powered by apps outside of the traditional browser. Deep Links were a theory that could make browser-application integration seamless. You’d click a deep link from…
Read more

Getting Started with Firebase Cloud Functions on Android

Cloud functions are rather… different. They work with pretty much any platform and that’s because they’re executed on the cloud. That does however make it easy to be confused when getting started with it. I sure was. Here we’ll simplify it down as much as possible so you can start navigating your way around cloud…
Read more