#abhilash-reactnative-returlurl

1 messages · Page 1 of 1 (latest)

green laurelBOT
cinder cedar
#

iOS requires a valid return URL so that after completing the payment, the user can be redirected to the app

The docs link you shared above is exactly what you'd need to set

hoary steppe
#

let me double check

green laurelBOT
hoary steppe
#

Do you have any idea how can I check if something wrong with the linking of url?

sly scaffold
#

HI 👋

I'm stepping in as my colleague needed to go. What do you mean by something being wrong with the linking of the URL?

hoary steppe
sly scaffold
#

Can you logging the initial URL that you are passing?

hoary steppe
#

await Linking.getInitialURL();coming as null

sly scaffold
#

And you are saying this doesn't work in Android but it works in iOS?

hoary steppe
#

it is working fine on Android, android doesn't need this setup

sly scaffold
#

So your handleDeepLink function is falling back to the else condition, correct?

#

What is being returned there?

#

And are you using Expo?

hoary steppe
#

I am using expo

sly scaffold
#

And have you configured your URL scheme in app.json?

#

If you’re using Expo, set your scheme in the app.json file.

hoary steppe
#

I was also thinking the same, something wrong with the linking...Let me take a look...