This is a sample project in wich well be Reading/Adding/Deleting markers, to/from Cloud Firestore. Markers are added on tap, to remove it, we will tap it then select the remove button.

First we create our project and add firebase. In our pubspec.yaml we add the core and the cloud store for database and the google maps flutter package. For Android if your minSdkVersion is set to 21 then multiDex will be enable by default, if not you need to enable it manually: Enable MultiDex

This project is a demo App that can take text from a picture taken with the camera. I was making a small mock App to show as a draft to a client when I step into some troubles based most on some problems with the documentation. So I decided to write about it, so I don’t forget it, and to help anyone else who’s going to use the plugin.

The first thing to do (besides creating a new project) is to add the firebase-ml-vision plugin you can find it in here. In the readme and installing section tells us: “You must also configure Firebase for each platform project”. So if you only add this plugin to the pubspec.yaml you’re going to get the following error messages:

* What went wrong: A problem occurred evaluating project ‘:firebase_ml_vision’.

> Could not find the firebase_core FlutterFire plugin, have you added it as a dependency in your pubspec?

What went wrong:A problem occurred configuring project ‘:firebase_ml_vision’.

> compileSdkVersion is not specified. …

Firebase Cloud Messaging image

In this project i’ll be showing how to use push notifications in flutter with the firebase_messaging package using firebase cloud messaging.

Create a new project and then add the firebase messaging package:

firebase_messaging: ^7.0.3

Then i’ll go to the getting started guide of the package and follow the steps.

First step tell us to set up our app in firebase in order to download and place in our project the google-services.json file. So in the firebase console i’ll add one application and follow the four steps. For the first one we won’t be using the SHA-1 certificate.

When using maps in mobile development we often see this step in many tutorials, but not so detailed as someone might wish, so hope this helps.

First we go to and create a new project (if you dont already have one).

Then we’ll create our api key, just go to “Api’s & Services” then Credentials (make sure your project is selected)

Rodrigo Mena

Software enthusiast just sharing my experiences

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store