ios redirect link error

Hi there, We’ve integrated the alpaca into our react-native app. On successful oauth user is being redirected to our app via deeplinking(react-navigation v5). This functionality is working just fine on android but on iOS we get “Safari cannot open the page because the address is invalid” error popup. Can somebody please guide me regarding this issue?