Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set target mail address in Firebase Invites

I am planning to use Firebase invites in order for my app users to reach out (and invite to my app) persons that he/she has added to his administration within the app.

I already have the mail addresses of these targeted persons, so I would like to be able to use this information in setting up the app invite. At this moment this does not seem possible. My current code:

Intent intent = new AppInviteInvitation.IntentBuilder( "Please join me to manage " + event ).build();
startActivityForResult(intent, RC_INVITE_MANAGER);

What I'm looking for is something like this:

Intent intent = new AppInviteInvitation.IntentBuilder( "Please join me to manage " + event )
.setMailto( "[email protected]" ).build();
startActivityForResult(intent, RC_INVITE_MANAGER);

Or:

intent.putExtra( "EMAIL_TO", "[email protected]");

At this moment, the user will have to manually select the user from his contacts (even though the target mail is already known from the context where the user clicks the "invite" action).

Will this be possible in the future?

like image 772
Peter Avatar asked Jul 24 '16 15:07

Peter


1 Answers

This is not something that's currently available in Firebase Invites. That said, I'll submit a feature request to the team and will update this bug in the future should this ability ever become available.

Thanks for the suggestion!

like image 118
Todd Kerpelman Avatar answered Sep 29 '22 10:09

Todd Kerpelman