Post Reply

Deep link in IOS, make "Open with Waze" to open my app

Post by ttzachii
Deep link in IOS, make "Open with Waze" to open my app

So we added a deep link on our iOS app , and it is working well and opens waze on the location we want

But now when I have address sent on whatsapp and I am selecting the option to open it with Waze it opens my app instead of waze
See screenshot:
https://www.dropbox.com/s/lxgjcu3pn6e0a ... 4.png?dl=0

Code: Select all

if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"waze://"]])
{
    NSString *urlStr = [NSString stringWithFormat:@"https://waze.com/ul?ll=%f,%f&navigate=yes", lat, lon];
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlStr]];
}
else
{
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://itunes.apple.com/us/app/id323229106"]];
}

Code: Select all

<key>CFBundleURLTypes</key>
<array>
    <dict>
        <key>CFBundleURLSchemes</key>
        <array>
            <string>waze</string>
        </array>
    </dict>
</array>
ttzachii
Posts: 3

POSTER_ID:17625225

1

Send a message

Post by MapSir
Hi,

You can check out our "Waze for developers" site, and contact support for more assistance!

https://developers.google.com/waze/
MapSir
Posts: 2096
Been thanked: 1448 times
Send a message
MapSir

Post by ttzachii
Just wanted to add that the map view I am showing in the dropbox link
Is a location that was sent to me on Whatsapp
ttzachii
Posts: 3
Send a message

Post by ttzachii
MapSir wrote:Hi,

You can check out our "Waze for developers" site, and contact support for more assistance!

https://developers.google.com/waze/

Sorry but I can't find the option to contact support only a link to this forum
Can you please guide me where to find it?
ttzachii
Posts: 3
Send a message