Opening Uber app via deeplink (uber://) doesn't use the pick-up and drop-off location parameters

爷,独闯天下 提交于 2020-01-06 05:45:07

问题


We've got an iOS and Android app where we plan a trip, with the possibility to open the Uber app to request an Uber. As you already entered your pick-up and drop-off location, we use the "Standard Deep Links" functionality (see link (A) below). We pass the pick-up and drop-off location by the parameters described in the Uber documentation.

Since a while, the Uber app doesn't use the pick-up and drop-off location parameters anymore. For instance the following link just opens the Uber app and doesn't pre-select the trip.

uber://?action=setPickup&client_id=<CLIENT_ID_FROM_DEVELOPER_DASHBOARD>&pickup[latitude]=52.3876077&pickup[longitude]=4.626904&dropoff[latitude]=52.3880485&dropoff[longitude]=4.6387838

Can anyone from the Uber developer team look in to this? Why is this link not working anymore?

Thanks in advance!

(A) https://developer.uber.com/docs/riders/ride-requests/tutorials/deep-links/introduction#standard-deep-links


回答1:


You can use this website to generate a deeplink: https://developer.uber.com/products/ride-requests-deeplink

Afterwards just replace https://m.uber.com/ul/ with uber://



来源:https://stackoverflow.com/questions/57038944/opening-uber-app-via-deeplink-uber-doesnt-use-the-pick-up-and-drop-off-loc

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!