I have firebase invites in my app. I send invites through mail and messages for both ios and android plateforms. When i send it through messages, it works fine in both the devices, it opens app in play store in android and app in app store in iphone. But when i send the invitations through mail, on clicking on the install link, it gives 404 error.
This is the link i get when i open it in android or iphone.
This is the code i am using to invite.
// Invite friends
id<FIRInviteBuilder> inviteDialog = [FIRInvites inviteDialog];
[inviteDialog setInviteDelegate:self];
FIRInvitesTargetApplication *targetApplication = [[FIRInvitesTargetApplication alloc] init];
targetApplication.androidClientID = @"android_client_id";
[inviteDialog setOtherPlatformsTargetApplication:targetApplication];
NSString *message = [NSString stringWithFormat:SHARE_MESSAGE];
[inviteDialog setMessage:message];
[inviteDialog setTitle:@"Invite Friends"];
[inviteDialog open];
Please help me with this issue. Any help would be appreciated. Thanks