Deep link in IOS, make "Open with Waze" to open my app
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
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>
Re: Deep link in IOS, make "Open with Waze" to open my app