Search code examples
flutterdarturlnavigationwaze

how to use Waze in Flutter?


I want to show a location with already installed Waze app with my flutter code , i use url_luncher to open it but it doesnt work

this is url :

Uri.parse('the url')

so the print is :

 component name for waze://?q=Sector%201,%20Bucure%C8%99ti,%20Calea%20Rahovei,%20Nr%20276&navigate=yes is null

or using cordinates :

 component name for waze://?ll=37.774929,-122.419416&z=10 is null

none of them work , what is the correct url for using Waze app in the flutter app ?


Solution

  • it should be something like this :

    https://waze.com/ul?ll=37.7749,-122.4194&navigate=yes