Skip to content

Commit 3b8ee5b

Browse files
authored
Merge pull request pikaju#37 from FlutterPackages/master
Fix map launcher for waze
2 parents 366501d + 1fae1ab commit 3b8ee5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/maps_launcher.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class MapsLauncher {
1515
uri = Uri.https(
1616
'www.google.com', '/maps/search/', {'api': '1', 'query': query});
1717
} else if (Platform.isAndroid) {
18-
uri = Uri(scheme: 'geo', host: '0,0', queryParameters: {'q': query});
18+
uri = Uri(scheme: 'geo', host: 'ul', queryParameters: {'q': query});
1919
} else if (Platform.isIOS) {
2020
uri = Uri.https('maps.apple.com', '/', {'q': query});
2121
} else {
@@ -40,7 +40,7 @@ class MapsLauncher {
4040

4141
if (label != null) query += '($label)';
4242

43-
uri = Uri(scheme: 'geo', host: '0,0', queryParameters: {'q': query});
43+
uri = Uri(scheme: 'geo', host: 'ul', queryParameters: {'q': query});
4444
} else if (Platform.isIOS) {
4545
var params = {
4646
'll': '$latitude,$longitude',

0 commit comments

Comments
 (0)