Skip to content

Instantly share code, notes, and snippets.

@jirawatee
Created September 29, 2017 07:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jirawatee/55d1e9a7bf3c3112fcb5cdbe538012a5 to your computer and use it in GitHub Desktop.
Save jirawatee/55d1e9a7bf3c3112fcb5cdbe538012a5 to your computer and use it in GitHub Desktop.
Firebase Invites - Send invitation via SMS and Email
Intent intent = new AppInviteInvitation.IntentBuilder("Send App Invitation")
.setMessage("Special season for this app is starting now, try it and get 100 baht")
.setDeepLink(Uri.parse("http://example.com/offer/100_baht"))
.build();
startActivityForResult(intent, REQUEST_INVITE);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment