I am unable to get SMS to work for Firebase invites. Currently, when I use the invite function, it opens my contact list in my phone, I can select a user email address, alter my message if I want and then send. This works.
If I select a phone number however, it just closes my contact list and returns to the app sending nothing. I'm at a loss. I get no error code and the success is returned with no id's included.
public Task<Firebase.Invites.SendInviteResult> SendInviteAsync()
{
Firebase.Invites.Invite invite = new Firebase.Invites.Invite()
{
TitleText = "Test title",
MessageText = "Simple test body",
CallToActionText = "Why you no work?",
DeepLinkUrl = new System.Uri("http://my.app"),
};
return Firebase.Invites.FirebaseInvites.SendInviteAsync(
invite).ContinueWith<Firebase.Invites.SendInviteResult>
(HandleSentInvite);
}
Firebase.Invites.SendInviteResult
HandleSentInvite(Task<Firebase.Invites.SendInviteResult> sendTask)
{
if (sendTask.IsCanceled)
{
Debug.Log("Invitation canceled.");
}
else if (sendTask.IsFaulted)
{
Debug.Log("Invitation encountered an error:");
Debug.Log(sendTask.Exception.ToString());
}
else if (sendTask.IsCompleted)
{
foreach (string id in sendTask.Result.InvitationIds)
{
popMNG.CreatePop("invite info: ", sendTask.Result.ToString() + "
and the id is: " + id, "close", null);
}
}
return sendTask.Result;
}
public void SendInvites() {
SendInviteAsync();
}
What I've tried:
- Verified no special characters
- Verified not going over character limits
- I have my SHA keys all all other features work in the app. (functions, messaging, storage, database, auth and analytics)
- I've tried logging all output but nothing is returned.