Last active
September 29, 2017 12:08
-
-
Save jirawatee/cca2c48509954635152a338c382759af to your computer and use it in GitHub Desktop.
Firebase Invites - Send invitation via email
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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")) | |
.setCustomImage(Uri.parse("https://appjoy.org/wp-content/uploads/2016/06/firebase-invites-logo.png")) | |
.setCallToActionText("Install") | |
.build(); | |
startActivityForResult(intent, REQUEST_INVITE); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment