Last active
September 29, 2017 14:03
-
-
Save jirawatee/66373b462d108b61bddb4f3755d39c2c to your computer and use it in GitHub Desktop.
Firebase Invites - Send invitation via email with HTML
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")) | |
.setEmailHtmlContent("<a href='%%APPINVITE_LINK_PLACEHOLDER%%'><h1>Check it out here!</h1><img src='https://appjoy.org/wp-content/uploads/2016/06/firebase-invites-logo.png'></a>") | |
.setEmailSubject("Firebase Invites want to give you 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