Closed drazik closed 6 years ago
This adds a redirectFn so we can pass a custom redirection function when we call cozy.client.intents.redirect.
redirectFn
cozy.client.intents.redirect
This enables us to use an inapp browser and redirect the user using intents redirect on mobile apps, for example.
Thanks @drazik 👍
I'm a bit late, but I'm not sure to see the value of adding a redirectFn paramater to redirect vs calling getRedirectionURL and doing whatever you want with the returned URL.
redirect
getRedirectionURL
This adds a
redirectFn
so we can pass a custom redirection function when we callcozy.client.intents.redirect
.This enables us to use an inapp browser and redirect the user using intents redirect on mobile apps, for example.