In my nativescript-angular app, I am using the nativescript-plugin-firebase to implement firebase invites. I have setup both the SHA 1 and SHA 256 in the firebase console I have used the boilerplate code shared in READ.ME to test the invites (see below).
firebase.invites.sendInvitation({
title: "Invite title here",
message: "Invite message here"
}).then(
function (result) { // SendInvitationResult
console.log(result.count + "invitations sent, ID's: " + JSON.stringify(result.invitationIds));
},
function (error) {
console.log("sendInvitation error: " + error);
}
);
I find that while on IOS the send invite function works as expected. On android I face 2 issues:
Email invitation is sent to the invitee but an error
Resultcode: 0
is returned and I do not get back the invitation IDSMS invite is not sent to the invitee.
A similar issue has been reported here - but there are no suggestions on what can be done to fix the error. Would appreciate any suggestions.