While creating short dynamic link in my React Native app i am facing error "Your project has not configured Dynamic Links" but when i create normal/long dynamic link it is working fine.Below is my code for creating short dynamic links and yes i have already setup Dynamic Links domain on firebase console.
var getDynamicLink = firebase.dynamicLinks().buildShortLink(
{
domainUriPrefix: 'https://app.page.link',
link:`https://www.app.referrals?invitedBy=${SENDER_UID}`,
android: {
packageName: "com.abc.xyz",
},
ios: {
appStoreId: '123456789',
bundleId: "com.abc.xyz",
},
},
dynamicLinks.ShortLinkType.UNGUESSABLE,
);