1) Firebase App invite provides only two way to invite friends (SMS
and Email). But I also want to share with WhatsApp, FB etc.
yes, it's possible to share via whatsApp, fb etc, Actually once you generate the link you can create your own share intent and share that link, you can create the links manually also refer this
2) If above case not possible then if I am using deep-linking with the
custom parameter with App play store link then how to get those
parameters on the app first launch after installing from play store?
use pendingDynamicLinkData that you get in your callback to get the those custom parameters you set.
FirebaseDynamicLinks.getInstance()
.getDynamicLink(getIntent())
.addOnSuccessListener(this, new OnSuccessListener<PendingDynamicLinkData>() {
@Override
public void onSuccess(PendingDynamicLinkData pendingDynamicLinkData) {
// Get deep link from result (may be null if no link is found)
Uri deepLink = null;
if (pendingDynamicLinkData != null) {
deepLink = pendingDynamicLinkData.getLink();
//get your properties here
}
}
})
.addOnFailureListener(this, new OnFailureListener() {
@Override
public void onFailure(@NonNull Exception e) {
Log.w(TAG, "getDynamicLink:onFailure", e);
}
});
you can query it even after a while too as a second option. https://firebase.google.com/docs/reference/dynamic-links/analytics