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 ...

Get Firebase Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.