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

Moderator: Unholy

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

Postby ttzachii » Wed Jan 09, 2019 8:21 am

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
Joined: Wed Jan 09, 2019 7:57 am
Has thanked: 0 time
Been thanked: 0 time

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

Postby ttzachii » Thu Jan 10, 2019 9:46 am

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
Joined: Wed Jan 09, 2019 7:57 am
Has thanked: 0 time
Been thanked: 0 time

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

Postby MapSir » Thu Jan 10, 2019 9:49 am

Hi,

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

https://developers.google.com/waze/
MapSir
MapSir
Waze Team
Waze Team
 
Posts: 2068
Joined: Wed Jan 11, 2012 7:20 am
Has thanked: 0 time
Been thanked: 7875 times

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

Postby ttzachii » Thu Jan 10, 2019 10:20 am

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
Joined: Wed Jan 09, 2019 7:57 am
Has thanked: 0 time
Been thanked: 0 time


Return to Waze Developers Community

Who is online

Users browsing this forum: No registered users

cron