Uber and Waze deep link not working on iOS 13

I work with multple PDF files that have buttons linked with Uber and Waze deep link. This is how this used to work: the user receives the PDF and clicks the button he wants and than the app opens. This always worked and we didn't have any problem regarding the "app opens" event. The thing is that after Apple released iOS 13, all these links stopped working. Now, the user cliks the button and or Apple Store is opened or the Uber/Waze opens without the route we set at the deep link.


We already tried taking this off the PDF file so we created a webpage for the user to click on the deep link, we tried to shorten the url, take off all the special/ascii characters, but none worked.


All of our clients that have iOS 13 are facing theses issues and we don't know what else to do. However, Android keeps working fine.


Here are two URL's that aren't working

https://m.uber.com/ul/?action=setPickup&client_id=VfT6TEtRSbZTcCUcNnf3zTdlN6VUtsxFsBEtrXUI&pickup=my_location&dropoff[formatted_address]=Avenida%20Castelo%20Branco%2C%201221%20-%20Cachoeirinha%2C%20Manaus%20-%20AM%2C%20Brasil&dropo


https://www.waze.com/ul?ll=-3.12618710%2C-60.00749720&navigate=yes

Replies

Hello lufizi!, hope you're doing right... I'm using deep links on iOS 13.5 and works great. This is how I made requests to Uber Rides and Waze too...


OPENING WAZE:


Code Block
       if UIApplication.shared.canOpenURL(URL(string: "waze://")!) {
            let urlStr = "waze://?ll=\(latitude),\(longitude)&navigate=yes"
            UIApplication.shared.open(URL(string: urlStr)!)
        } else {
            UIApplication.shared.open(URL(string: "https://apps.apple.com/us/app/wazeAppID")!)
        }


OPENING UBER

Code Block
 if UIApplication.shared.canOpenURL(URL(string: "uber://")!) {
                    let urlStr = "uber://?client_id=INSERT-YOUR-CLIENT-ID-KEY-HERE&action=setPickup&pickup[latitude]=\(pickUpLatitude)&pickup[longitude]=\(pickUpLongitude)&pickup[nickname]=\(currentLocationDescription)&dropoff[latitude]=\(dropOffLatitude)&dropoff[longitude]=\(dropOffLongitude)&dropoff[nickname]=\(destinationPlaceDescription)".replacingOccurrences(of: " ", with: "%20")
                    UIApplication.shared.open(URL(string: urlStr)!)
                } else {
                    UIApplication.shared.open(URL(string: "https://apps.apple.com/us/app/uberAppID)!)
                }



Let me know if it was helpful for you... Have a nice day :)