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.
link description here
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
I got that 404 too and found that I had to specify a deep link. It doesn't seem to matter what the link is, though I'm using my website. Without the deep link this seems to fall back to appinvite, the older SDK. With it it uses the Firebase Invite SDK.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With