O'Reilly logo

Firebase Cookbook by Houssem Yahiaoui

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

Following the method we used in the previous section, here we will deal with the implementation of the recipe in Android first:

  1. In order to make this happen, the Android ecosystem has a user experience flow. Whenever we want to share something, we launch a dialog or Intent. This intent will allow us to choose how to send our app invite.
Intents over Android are a way to interact with other applications via message sending in order to request functionalities; for example, we launch an intent for sending an SMS. This will simply launch the default messaging app and take whatever parameter we want, such as the content of the text itself.
  1. Now, let's see how we can make the functionality happen. Let's suppose that we have a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required