/FirebaseCloudMessaging

A simple solution that explains how to handle push notifications when the app is in the foreground or in the background on Android.

Primary LanguageKotlin

FirebaseCloudMessaging

It's an app built with Kotlin that shows how to handle push notifications when the app is in the foreground or in the background on Android. using Android Architecture Components and the MVVM Architecture Pattern. For the UI it uses Jetpack Compose, Android's modern toolkit for building native UI.

alt text

Below you can find the docs for each technology that is used in this app:

Firebase Products:

Android Architecture Components:

Dependency Injection:

Asynchronous Programming:

Other Android Components:


This repo represents the code for the following article written on the Medium publication:

See it also on youtube:

If you download or clone this repo, in order to make it work, you should follow the instructions given in the official documentation regarding on how to add Firebase to your project.

License

The code in this project is licensed under Apache License 2.0.

Copyright 2018 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Disclaimer

  • This is not an officially supported Google product.