Skip to content

Instantly share code, notes, and snippets.

@hitherejoe hitherejoe/invite.java Secret
Created Jan 13, 2017

Embed
What would you like to do?
AppInvite.AppInviteApi.getInvitation(googleApiClient, this, autoLaunchDeepLink)
.setResultCallback(
new ResultCallback<AppInviteInvitationResult>() {
@Override
public void onResult(@NonNull AppInviteInvitationResult result) {
if (result.getStatus().isSuccess()) {
Intent intent = result.getInvitationIntent();
String deepLink = AppInviteReferral.getDeepLink(intent);
// Handloe the deep link
} else {
Log.d(TAG, "Oops, looks like there was no deep link found!");
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.