Firebase Invites integration is similar to the process we followed for other Firebase tools. Connect your application to Firebase and add the tools dependency, that's all it takes to integrate them. Before you integrate the invite, please make sure you have enabled the dynamic links and you enable it from Firebase console too. At the time of writing, Firebase's latest release was 15.0.1, the dependency is shown as follows:
implementation 'com.google.firebase:firebase-invites:15.0.1'
Add this to your build.gradle app-level dependency and download the repository by clicking on Sync now.
Sending invitations usually starts from an intent with the AppInviteInvitation.IntentBuilder class. ...