hampusohlsson / browser-deeplink

Redirect mobile website users to your native iOS and/or Android app
MIT License
493 stars 173 forks source link

storeUrl fallback problem #9

Open kyeo76 opened 9 years ago

kyeo76 commented 9 years ago

In my case we use http://distimo.com tracking service to count redirects. This service provides custom link that redirects to store like this: http://app.lk/BaW. So I override fallback redirect accordingly.

deeplink.setup({
    iOS: {
        storeUrl: "http://app.lk/BaW",
    }
});

And if an app is installed and user returns from the app to the browser timeout function fires. Thank you!