ushu / branch_io

Client for branch.io public API
MIT License
16 stars 7 forks source link

Custom deeplink #1

Closed TosinRoger closed 7 years ago

TosinRoger commented 7 years ago

Hi, @ushu I have a question about this gem. I am developing an application that I have to create a deeplink for a product dynamically, to be opened in the browser on the pc or in the app (Android or iOS), but I could not use the date field to direct the urls to the mobiles, always the web page Is directed to the home the same happens in the mobile. But deeplinks work when I create on dashboard branch.io or when I create it dynamically on the mobile. I would like to know if this functionality is implemented or if I am doing it wrong?

I used:

...

res = client.link( feature: "test", date: { $desktop_url => "mywebsite.com/product/id",     $android_url => "myapp: // product / id",     $ios_url => "myapp: // product / d"   } )