0

I launch Waze from App with this code with button click:

   void launchWaze(String lat, String lng) async {
    Uri url = Uri.parse(
        'https://waze.com/ul?ll=$lat,$lng&navigate=yes'); 

    Uri fallbackUrl =
        Uri.parse('https://waze.com/ul?ll=$lat,$lng&navigate=yes');

    try {
      bool launched = await launchUrl(
        url,
        mode: LaunchMode.externalApplication,  // or externalNonBrowserApplication,

      );
    } catch (e) {
      await launchUrl(fallbackUrl);
    }
  } 

Waze launched from app, on Android Auto starts and route is fine, but the focus not in my app anymore so I can not use the app to start other location, only a text you use Waze on Android Auto. Back button not working...

Is there any solution to navigate on Android Auto and use the app on phone the same time?

komaromil
  • 31
  • 7

0 Answers0