Giter Club home page Giter Club logo

map_launcher's Introduction

Map Launcher

pub package likes popularity pub points GitHub stars GitHub forks

Map Launcher is a flutter plugin to find available maps installed on a device and launch them with a marker or show directions.

Marker Navigation
Marker Navigation

Currently supported maps:
Google Maps
Apple Maps (iOS only)
Google Maps GO (Android only)
Baidu Maps
Amap (Gaode Maps)
Waze
Yandex Maps
Yandex Navigator
Citymapper
Maps.me (iOS only)
OsmAnd
OsmAnd+ (Android only)
2GIS
Tencent (QQ Maps)
HERE WeGo
Petal Maps (Android only)
TomTom Go
TomTom Go Fleet
CoPilot
Flitsmeister (Android only)
Truckmeister (Android only)
Sygic Truck
Naver Map
KakaoMap
TMAP
Mapy.cz

Get started

Add dependency

dependencies:
  map_launcher: ^3.3.1
  flutter_svg: # only if you want to use icons as they are svgs

For iOS add url schemes in Info.plist file

<key>LSApplicationQueriesSchemes</key>
<array>
    <string>comgooglemaps</string>
    <string>baidumap</string>
    <string>iosamap</string>
    <string>waze</string>
    <string>yandexmaps</string>
    <string>yandexnavi</string>
    <string>citymapper</string>
    <string>mapswithme</string>
    <string>osmandmaps</string>
    <string>dgis</string>
    <string>qqmap</string>
    <string>here-location</string>
    <string>tomtomgo</string>
    <string>copilot</string>
    <string>com.sygic.aura</string>
    <string>nmap</string>
    <string>kakaomap</string>
    <string>tmap</string>
    <string>szn-mapy</string>
</array>

Usage

Get list of installed maps and launch first

import 'package:map_launcher/map_launcher.dart';

final availableMaps = await MapLauncher.installedMaps;
print(availableMaps); // [AvailableMap { mapName: Google Maps, mapType: google }, ...]

await availableMaps.first.showMarker(
  coords: Coords(37.759392, -122.5107336),
  title: "Ocean Beach",
);

Check if map is installed and launch it

import 'package:map_launcher/map_launcher.dart';

if (await MapLauncher.isMapAvailable(MapType.google)) {
  await MapLauncher.showMarker(
    mapType: MapType.google,
    coords: coords,
    title: title,
    description: description,
  );
}

API

Show Marker

option type required default
mapType MapType yes -
coords Coords(lat, long) yes -
title String no ''
description String no ''
zoom Int no 16
extraParams Map<String, String> no {}
Maps
mapType coords title description zoom extraParams
.google iOS only
see Known Issues section below
.apple
.googleGo
.amap Android only
.baidu
.waze
.yandexMaps
.yandexNavi
.citymapper
does not support marker
shows directions instead
.mapswithme
.osmand iOS only
.osmandplus iOS only
.doubleGis
android does not support marker
shows directions instead
.tencent
.here
.petalMaps
.tomtomgo
iOS does not support marker
shows directions instead
.copilot
.flitsmeister
does not support marker
shows directions instead
.truckmeister
does not support marker
shows directions instead
.sygicTruck
does not support marker
shows directions instead

Show Directions

option type required default
mapType MapType yes -
destination Coords(lat, long) yes -
destinationTitle String no 'Destination'
origin Coords(lat, long) no Current Location
originTitle String no 'Origin'
directionsMode DirectionsMode no .driving
waypoints List<Waypoint(lat, long, String?)> no null
extraParams Map<String, String> no {}
Maps
mapType destination destinationTitle origin originTitle directionsMode waypoints extraParams
.google ✓ (up to 8 on iOS and unlimited? on android)
.apple
.googleGo
.amap
.baidu
.waze always uses current location
.yandexMaps
.yandexNavi
.citymapper
.mapswithme only shows marker
.osmand iOS only always uses current location
.osmandplus iOS only always uses current location
.doubleGis
.tencent
.here
.petalMaps
.tomtomgo always uses current location
.copilot always uses current location
.flitsmeister always uses current location
.truckmeister always uses current location
.sygicTruck always uses current location

Extra Params

It's possible to pass some map specific query params like api keys etc using extraParams option

Here are known params for some maps:

mapType extraParams
.tencent { 'referer': '' }
.yandexNavi { 'client': '', 'signature': '' }

Example

Using with bottom sheet

import 'package:flutter/material.dart';
import 'package:map_launcher/map_launcher.dart';
import 'package:flutter_svg/flutter_svg.dart';

void main() => runApp(MapLauncherDemo());

class MapLauncherDemo extends StatelessWidget {
  openMapsSheet(context) async {
    try {
      final coords = Coords(37.759392, -122.5107336);
      final title = "Ocean Beach";
      final availableMaps = await MapLauncher.installedMaps;

      showModalBottomSheet(
        context: context,
        builder: (BuildContext context) {
          return SafeArea(
            child: SingleChildScrollView(
              child: Container(
                child: Wrap(
                  children: <Widget>[
                    for (var map in availableMaps)
                      ListTile(
                        onTap: () => map.showMarker(
                          coords: coords,
                          title: title,
                        ),
                        title: Text(map.mapName),
                        leading: SvgPicture.asset(
                          map.icon,
                          height: 30.0,
                          width: 30.0,
                        ),
                      ),
                  ],
                ),
              ),
            ),
          );
        },
      );
    } catch (e) {
      print(e);
    }
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Map Launcher Demo'),
        ),
        body: Center(child: Builder(
          builder: (context) {
            return MaterialButton(
              onPressed: () => openMapsSheet(context),
              child: Text('Show Maps'),
            );
          },
        )),
      ),
    );
  }
}

Known issues

  • Fixed in Google maps 11.12 Google Maps for Android have a bug that setting label for a marker doesn't work. See more on Google Issue Tracker

  • On iOS it's possible to "delete" Apple Maps which actually just removes it from homescreen and does not actually delete it. Because of that Apple Maps will always show up as available on iOS. You can read more about it here

Contributing

Pull requests are welcome.

map_launcher's People

Contributors

aleksandr-m avatar amrahmed242 avatar andoni97 avatar bitsydarel avatar bridystone avatar diegogarciar avatar grinder15 avatar gsi-yoan avatar ilya-sh-dev avatar kiruel avatar m-derakhshi avatar manafire avatar mattermoran avatar nguyenxdat avatar pavel-sulimau avatar robinbonnes avatar shinsenter avatar thehumr avatar tjeffree avatar trentcharlie avatar tuarrep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

map_launcher's Issues

MapLauncher.installedMaps returns empty list

MapLauncher.installedMaps returns an empty list. This occurs on my Pixel 2 that has google maps, and several other map_launcher supported maps. I have attempted running flutter clean, but the problem persists.

Additionally, I can get the desired behavior with the url_launcher launch function and constructing URL requests per here.

Any License ?

Hi, I'm very appreciated that you developed such a great package. But I'm so confused that you don't have any license in this repo. Could you please add a license?

Thanks!

Here Maps

How to add Here Maps to list of avaliable services?

Google maps Icon has been updated

Hi!

Google maps has updated their Icon, consider changing the asset. I attach the new icon in a PNG, however I don't know if you have some icons guidelines to follow.

Thanks in advance!

Maps_Pin_FullColor max-1000x1000

Not Launching Maps

I am using the following code and trying to launch it on iOS simulator. I made all the necessary changes in info.plist file. No errors are shown. It just does not open the map.

import 'package:map_launcher/map_launcher.dart' as ml;
Future<void> _openMaps(PlaceViewModel vm) async {
     if(await ml.MapLauncher.isMapAvailable(ml.MapType.google)) {
       await ml.MapLauncher.launchMap(
         mapType: ml.MapType.google, 
         coords: ml.Coords(vm.latitude,vm.longitude), 
         title: vm.name, 
         description: vm.name 
       );
     } else if(await ml.MapLauncher.isMapAvailable(ml.MapType.apple)) {
       await ml.MapLauncher.launchMap(
         mapType: ml.MapType.google, 
         coords: ml.Coords(vm.latitude,vm.longitude), 
         title: vm.name, 
         description: vm.name
       );
     }
  }```

The _openMaps is called based on the ListTitle selection of a placeList widget. 
This is the code for homePage.dart file which contains PlaceList widget. 

onPressed: () {
showModalBottomSheet(
context: context,
builder: (context) => PlaceList(places: vm.places,
onSelected: _openMaps,)
);
}

Package key missing

Launching lib\main.dart on SM G973F in debug mode...
Running Gradle task 'assembleDebug'...
C:\Users\naazi\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\map_launcher-1.1.3+1\android\src\main\AndroidManifest.xml:5:9-64 Error:
Missing 'package' key attribute on element package at AndroidManifest.xml:5:9-64
C:\Users\naazi\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\map_launcher-1.1.3+1\android\src\main\AndroidManifest.xml:6:9-68 Error:
Missing 'package' key attribute on element package at AndroidManifest.xml:6:9-68
C:\Users\naazi\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\map_launcher-1.1.3+1\android\src\main\AndroidManifest.xml:7:9-56 Error:
Missing 'package' key attribute on element package at AndroidManifest.xml:7:9-56
C:\Users\naazi\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\map_launcher-1.1.3+1\android\src\main\AndroidManifest.xml:8:9-54 Error:
Missing 'package' key attribute on element package at AndroidManifest.xml:8:9-54
C:\Users\naazi\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\map_launcher-1.1.3+1\android\src\main\AndroidManifest.xml:9:9-44 Error:
Missing 'package' key attribute on element package at AndroidManifest.xml:9:9-44
C:\Users\naazi\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\map_launcher-1.1.3+1\android\src\main\AndroidManifest.xml:10:9-56 Error:
Missing 'package' key attribute on element package at AndroidManifest.xml:10:9-56
C:\Users\naazi\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\map_launcher-1.1.3+1\android\src\main\AndroidManifest.xml:11:9-56 Error:
Missing 'package' key attribute on element package at AndroidManifest.xml:11:9-56
C:\Users\naazi\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\map_launcher-1.1.3+1\android\src\main\AndroidManifest.xml:12:9-62 Error:
Missing 'package' key attribute on element package at AndroidManifest.xml:12:9-62
C:\Users\naazi\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\map_launcher-1.1.3+1\android\src\main\AndroidManifest.xml:13:9-59 Error:
Missing 'package' key attribute on element package at AndroidManifest.xml:13:9-59
C:\Users\naazi\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\map_launcher-1.1.3+1\android\src\main\AndroidManifest.xml:14:9-46 Error:
Missing 'package' key attribute on element package at AndroidManifest.xml:14:9-46
C:\Users\naazi\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\map_launcher-1.1.3+1\android\src\main\AndroidManifest.xml:15:9-57 Error:
Missing 'package' key attribute on element package at AndroidManifest.xml:15:9-57
C:\Users\naazi\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\map_launcher-1.1.3+1\android\src\main\AndroidManifest.xml:16:9-51 Error:
Missing 'package' key attribute on element package at AndroidManifest.xml:16:9-51
C:\Users\naazi\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\map_launcher-1.1.3+1\android\src\main\AndroidManifest.xml Error:
Validation failed, exiting

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':map_launcher:processDebugManifest'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Manifest merger failed with multiple errors, see logs

MissingPluginException

I user workmanager plugin and everything is fine when execute some code in background, even calling other plugins, such Hive.
When I add map_launcher plugin in pubspec and I run again the same code I have a MissingPluginException every time that I try to call any other plugins inside the workmanager backround job.

Even only run the app without any use of workmanager and similar I get "Tried to automatically register plugins with FlutterEngine (io.flutter.embedding.engine.FlutterEngine@ed058f3) but could not find and invoke the GeneratedPluginRegistrant" on the debug console when I launch the app.

Can you help me, or solve this trouble? Your plugin is really amazing and I like to use it!

Add zoom level

It would be nice to optionally pass a zoom level to the maps app. As far as I know at least google supports it via query param "zoom".

Build failed after pub get map_launcher plugin

I copied map_launcher: ^1.1.3 into my pubsec.yaml, clicked pub get and my application (IOS and Android) throws errors. If I revert changes before I used map_launcher: ^1.1.3 my application works again. Has anyone had this issue before?

Android error

/Users/edgar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/map_launcher-1.1.3/android/src/main/AndroidManifest.xml:5:9-64 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:5:9-64
/Users/edgar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/map_launcher-1.1.3/android/src/main/AndroidManifest.xml:6:9-68 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:6:9-68
/Users/edgar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/map_launcher-1.1.3/android/src/main/AndroidManifest.xml:7:9-56 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:7:9-56
/Users/edgar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/map_launcher-1.1.3/android/src/main/AndroidManifest.xml:8:9-54 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:8:9-54
/Users/edgar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/map_launcher-1.1.3/android/src/main/AndroidManifest.xml:9:9-44 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:9:9-44
/Users/edgar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/map_launcher-1.1.3/android/src/main/AndroidManifest.xml:10:9-56 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:10:9-56
/Users/edgar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/map_launcher-1.1.3/android/src/main/AndroidManifest.xml:11:9-56 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:11:9-56
/Users/edgar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/map_launcher-1.1.3/android/src/main/AndroidManifest.xml:12:9-62 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:12:9-62
/Users/edgar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/map_launcher-1.1.3/android/src/main/AndroidManifest.xml:13:9-59 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:13:9-59
/Users/edgar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/map_launcher-1.1.3/android/src/main/AndroidManifest.xml:14:9-46 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:14:9-46
/Users/edgar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/map_launcher-1.1.3/android/src/main/AndroidManifest.xml:15:9-57 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:15:9-57
/Users/edgar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/map_launcher-1.1.3/android/src/main/AndroidManifest.xml:16:9-51 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:16:9-51
/Users/edgar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/map_launcher-1.1.3/android/src/main/AndroidManifest.xml Error:
	Validation failed, exiting

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':map_launcher:processDebugManifest'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Manifest merger failed with multiple errors, see logs

IOS Error
I have attached a file because its a long error but these are the first few lines.

 /Users/edgar/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/location-3.2.1/ios/Classes/LocationPlugin.m:86:43: warning: 'allowsBackgroundLocationUpdates' is only available on iOS 9.0 or newer [-Wunguarded-availability]
                result(self.clLocationManager.allowsBackgroundLocationUpdates ? @1 : @0);

IOS error.txt

Remove Kotlin gradle plugin version.

> Configure project :app
WARNING: The option setting 'android.enableR8=true' is deprecated.
It will be removed in version 5.0 of the Android Gradle plugin.
You will no longer be able to disable R8

The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build. 
This might happen in subprojects that apply the Kotlin plugins with the Gradle 'plugins { ... }' DSL if they specify explicit versions, even if the versions are equal.
Please add the Kotlin plugin to the common parent project or the root project, then remove the versions in the subprojects.
If the parent project does not need the plugin, add 'apply false' to the plugin line.
See: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl
The Kotlin plugin was loaded in the following projects: ':map_launcher', ':system_settings'

map_launcher 1.0.0 fails to build on Flutter 1.22.4 with several error messages

map_launcher 1.0.0 fails to build on Flutter 1.22.4 with several error messages

e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-0.4.5\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (14, 20): Redeclaration: MapType
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-0.4.5\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (16, 15): Redeclaration: MapModel
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-0.4.5\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (22, 7): Redeclaration: MapLauncherPlugin
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (14, 20): Redeclaration: MapType
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (16, 15): Redeclaration: MapModel
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (16, 37): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (18, 43): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (22, 7): Redeclaration: MapLauncherPlugin
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (35, 55): No value passed for parameter 'context'
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (35, 55): No value passed for parameter 'activity'
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (35, 55): No value passed for parameter 'pm'
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (36, 31): Unresolved reference: channel
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (37, 13): Val cannot be reassigned
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (37, 31): Cannot access 'context': it is private in 'MapLauncherPlugin'
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (38, 31): Unresolved reference: channel
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (43, 13): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (43, 22): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (43, 30): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (44, 13): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (44, 22): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (44, 30): Unresolved reference: googleGo
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (45, 13): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (45, 22): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (45, 30): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (46, 13): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (46, 22): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (46, 30): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (47, 13): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (47, 22): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (47, 30): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (48, 13): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (48, 22): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (48, 30): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (49, 13): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (49, 22): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (49, 30): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (50, 13): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (50, 22): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (50, 30): Unresolved reference: citymapper
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (51, 13): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (51, 22): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (51, 30): Unresolved reference: mapswithme
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (52, 13): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (52, 22): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (52, 30): Unresolved reference: osmand
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (53, 13): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (53, 22): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (53, 30): Unresolved reference: doubleGis
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (56, 42): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (58, 87): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (64, 47): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (64, 55): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (77, 36): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (81, 47): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (81, 51): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (81, 59): No method 'equals(Any?): Boolean' available
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (82, 17): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (82, 26): No method 'equals(Any?): Boolean' available
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (83, 44): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (95, 63): Cannot access 'MapModel': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (105, 31): Cannot access 'MapType': it is private in file
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.0.0\android\src\main\kotlin\com\alexmiller\map_launcher\MapLauncherPlugin.kt: (105, 39): Cannot access 'MapType': it is private in file

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':map_launcher:compileDebugKotlin'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 5s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                        68,3s
Exception: Gradle task assembleDebug failed with exit code 1

pubspec.yaml

name: riodasostrasapp
description: App Oficial da Prefeitura de Rio das Ostras
version: 1.0.2+3

environment:
  sdk: ">=2.8.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter

  cupertino_icons: ^0.1.2
  
  connectivity: ^2.0.2
  url_launcher: ^5.7.10
  share: ^0.6.5+4
  map_launcher: ^1.0.0
  device_id: ^0.2.0
  device_info: ^1.0.0
  location_permissions: ^3.0.0+1
  location: ^3.1.0
  flutter_inappwebview: ^4.0.0+4

  #firebase services
  firebase_messaging: ^6.0.16
  cloud_firestore: ^0.13.7
  firebase_auth: ^0.16.1
  firebase_analytics: ^5.0.16

  shared_preferences: ^0.5.12+4
  sqflite: ^1.3.2+1
  path_provider: ^1.6.24
  flutter_advanced_networkimage: ^0.7.0
 
  #webview_flutter: ^0.3.22+1
  webview_flutter: ^1.0.7
  flutter_map: ^0.10.1+1
  latlong: ^0.6.1
  queries: ^0.1.14
  #flutter_svg: ^0.17.4
  intl: ^0.16.1

  http: ^0.12.2
  dio: ^3.0.10
  universal_html: ^1.2.2
  essential_rest: ^1.1.22
  #wideget para infinit scroll
  incrementally_loading_listview: ^0.3.0
  
  #bloc state manager  
  flutter_bloc: ^4.0.0 #^3.2.0
  bloc: ^4.0.0
  #mobx state manager
  mobx: ^1.2.1+4
  flutter_mobx: ^1.1.0+2
  #redux state manager
  flutter_redux: ^0.6.0
  redux: ^4.0.0
  redux_thunk: ^0.3.0
  #provider state manager
  provider: ^4.1.2
  flutter_modular: ^2.0.1
  equatable: ^1.1.1

  carousel_slider: ^2.3.1
  #para armazenar o token  
  flutter_secure_storage: ^3.3.5
  #gerar codigo qr
  qr_flutter: ^3.2.0
  barcode_scan: ^3.0.1
  jaguar_jwt: ^2.1.6

  riodasostrasapp_core:
    hosted:
      name: riodasostrasapp_core
      url: http://pub.riodasostras.rj.gov.br:4000
    version: ^1.0.39

dependency_overrides:
  rxdart: ^0.24.1
  #flutter_svg: ^0.19.2+1
  flutter_svg: ^0.18.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  mockito: ^4.1.1
  build_runner: ^1.10.6
  mobx_codegen: ^1.1.2
  slidy: ^2.2.1

flutter:
  uses-material-design: true

  assets:
    - assets/images/

  fonts:
    - family: Poppins
      fonts:
        - asset: assets/fonts/Poppins/Poppins-Regular.ttf
        - asset: assets/fonts/Poppins/Poppins-Medium.ttf
          weight: 600
        - asset: assets/fonts/Poppins/Poppins-Bold.ttf
          weight: 700
    - family: Montserrat
      fonts:
        - asset: assets/fonts/Montserrat/Montserrat-Regular.ttf
        - asset: assets/fonts/Montserrat/Montserrat-Medium.ttf
          weight: 600
        - asset: assets/fonts/Montserrat/Montserrat-Bold.ttf
          weight: 700      
    - family: pmro_app
      fonts:
        - asset: assets/fonts/pmro.ttf         
     
   
scripts:
  mobx: flutter pub run build_runner watch --delete-conflicting-outputs
      

map_launcher-0.1.3/ios/Classes/SwiftMapLauncherPlugin.swift:49:22: 'MKCoordinateRegionMake' is unavailable in Swift

Hi,

When trying to build an app using this plugin I'm getting this error in Xcode:
/map_launcher-0.1.3/ios/Classes/SwiftMapLauncherPlugin.swift:49:22: 'MKCoordinateRegionMake' is unavailable in Swift

The same error is there for MKCoordinateSpanMake. The error comes from the launchMap function.

Flutter doctor:

[✓] Flutter (Channel master, v1.10.15-pre.330, on Mac OS X 10.15 19A583, locale en-GB)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.3)
[✓] VS Code (version 1.39.1)
 
[✓] Connected device (4 available)            

• No issues found!

Error on IOS

Hi, when I use the google map with waypoints, on IOS it starts the google maps app, but doesn't set the destination and I have to add it manually, does anybody knows how can I do for the app do it alone? The same code works perfectly on Android.

Thanks.

iOS Tencent config error

Map(mapName: "Tencent (QQ Maps)", mapType: MapType.tencent, urlPrefix: "qqmap://"),
Map(mapName: "2GIS", mapType: MapType.doubleGis, urlPrefix: "dgis://")

Why Google Maps is opened without title on Android?

Why map url on Android doesn't contain title?

case MapType.google:
      if (Platform.isIOS) {
        return 'comgooglemaps://?q=$title&center=${coords.latitude},${coords.longitude}';
      }
      return 'geo:${coords.latitude},${coords.longitude}?q=${coords.latitude},${coords.longitude}';

It causes differences in the map display.

iOS Android
IMG_0012 1 Screenshot_20200122-105726

Error on iOS

I'm having this error just after added this plugin to my Flutter app. On Android works fine.

```

Pods-Runner-bncczrmrsejmfkfybraiofizwvct
ld: warning: Could not find or use auto-linked library 'swiftObjectiveC'
ld: warning: Could not find or use auto-linked library 'swiftMapKit'
ld: warning: Could not find or use auto-linked library 'swiftCoreAudio'
ld: warning: Could not find or use auto-linked library 'swiftDispatch'
ld: warning: Could not find or use auto-linked library 'swiftCoreGraphics'
ld: warning: Could not find or use auto-linked library 'swiftUIKit'
ld: warning: Could not find or use auto-linked library 'swiftDarwin'
ld: warning: Could not find or use auto-linked library 'swiftCore'
ld: warning: Could not find or use auto-linked library 'swiftQuartzCore'
ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'
ld: warning: Could not find or use auto-linked library 'swiftCompatibility50'
ld: warning: Could not find or use auto-linked library 'swiftCompatibilityDynamicReplacements'
ld: warning: Could not find or use auto-linked library 'swiftCoreImage'
ld: warning: Could not find or use auto-linked library 'swiftFoundation'
ld: warning: Could not find or use auto-linked library 'swiftMetal'
ld: warning: Could not find or use auto-linked library 'swiftCoreLocation'
ld: warning: Could not find or use auto-linked library 'swiftCoreMedia'
ld: warning: Could not find or use auto-linked library 'swiftSwiftOnoneSupport'
Undefined symbols for architecture x86_64:
"protocol descriptor for Swift.Equatable", referenced from:
protocol conformance descriptor for map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.Equatable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"base conformance descriptor for Swift.Hashable: Swift.Equatable", referenced from:
protocol conformance descriptor for map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.Hashable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"method descriptor for Swift.Hashable.hash(into: inout Swift.Hasher) -> ()", referenced from:
protocol conformance descriptor for map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.Hashable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"method descriptor for Swift.Hashable._rawHashValue(seed: Swift.Int) -> Swift.Int", referenced from:
protocol conformance descriptor for map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.Hashable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"protocol descriptor for Swift.RawRepresentable", referenced from:
protocol conformance descriptor for map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.RawRepresentable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"associated type descriptor for Swift.RawRepresentable.RawValue", referenced from:
protocol conformance descriptor for map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.RawRepresentable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"method descriptor for Swift.RawRepresentable.init(rawValue: A.RawValue) -> A?", referenced from:
protocol conformance descriptor for map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.RawRepresentable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"method descriptor for Swift.RawRepresentable.rawValue.getter : A.RawValue", referenced from:
protocol conformance descriptor for map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.RawRepresentable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"OBJC_CLASS$__TtCs12_SwiftObject", referenced from:
type metadata for map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C) in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"value witness table for Builtin.NativeObject", referenced from:
full type metadata for map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C) in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"_swift_deallocObject", referenced from:
l_objectdestroy in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"method descriptor for Swift.Hashable.hashValue.getter : Swift.Int", referenced from:
protocol conformance descriptor for map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.Hashable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"protocol conformance descriptor for [A] : Swift.Collection in Swift", referenced from:
lazy protocol witness table accessor for type [map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C)] and conformance [A] : Swift.Collection in Swift in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"type metadata accessor for Swift.Array", referenced from:
type metadata accessor for [map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C)] in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"(extension in Swift):Swift.ArrayProtocol.filter((A.Element) throws -> Swift.Bool) throws -> [A.Element]", referenced from:
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"type metadata accessor for Swift.Optional", referenced from:
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(isMapAvailable in _F0DBE403B9398A2EE64FE6895944519C)(map: map_launcher.(Map in F0DBE403B9398A2EE64FE6895944519C)) -> Swift.Bool in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"(extension in Swift):Swift.Collection.map((A.Element) throws -> A1) throws -> [A1]", referenced from:
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"swift_dynamicCast", referenced from:
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"swift_retain", referenced from:
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"protocol witness table for Swift.String : Swift.Equatable in Swift", referenced from:
protocol witness for static Swift.Equatable.== infix(A, A) -> Swift.Bool in conformance map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.Equatable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(getDirectionsMode in F0DBE403B9398A2EE64FE6895944519C)(directionsMode: Swift.String?) -> Swift.String in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(isMapAvailable in F0DBE403B9398A2EE64FE6895944519C)(map: map_launcher.(Map in F0DBE403B9398A2EE64FE6895944519C)) -> Swift.Bool in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"type metadata for Swift.Bool", referenced from:
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"swift_release", referenced from:
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
swift_destroy_boxed_opaque_existential_0 in libmap_launcher.a(SwiftMapLauncherPlugin.o)
@objc map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"Swift.print(
: Any..., separator: Swift.String, terminator: Swift.String) -> ()", referenced from:
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
(maybe you meant: default argument 2 of Swift.print(
: Any..., separator: Swift.String, terminator: Swift.String) -> (), default argument 1 of Swift.print(
: Any..., separator: Swift.String, terminator: Swift.String) -> () )
"_swift_once", referenced from:
map_launcher.(maps in _F0DBE403B9398A2EE64FE6895944519C).unsafeMutableAddressor : [map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C)] in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"Swift._findStringSwitchCase(cases: [Swift.StaticString], string: Swift.String) -> Swift.Int", referenced from:
map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C).init(rawValue: Swift.String) -> map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C)? in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"Swift._stdlib_isOSVersionAtLeast(Builtin.Word, Builtin.Word, Builtin.Word) -> Builtin.Int1", referenced from:
map_launcher.(getDirectionsMode in _F0DBE403B9398A2EE64FE6895944519C)(directionsMode: Swift.String?) -> Swift.String in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"_swift_unknownObjectRetain", referenced from:
@objc static map_launcher.SwiftMapLauncherPlugin.register(with: __C.FlutterPluginRegistrar) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"_swift_getObjectType", referenced from:
static map_launcher.SwiftMapLauncherPlugin.register(with: __C.FlutterPluginRegistrar) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"value witness table for Builtin.UnknownObject", referenced from:
full type metadata for map_launcher.SwiftMapLauncherPlugin in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"swift_unknownObjectRelease", referenced from:
static map_launcher.SwiftMapLauncherPlugin.register(with: __C.FlutterPluginRegistrar) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
@nonobjc __C.FlutterMethodChannel.__allocating_init(name: Swift.String, binaryMessenger: __C.FlutterBinaryMessenger) -> __C.FlutterMethodChannel in libmap_launcher.a(SwiftMapLauncherPlugin.o)
@objc static map_launcher.SwiftMapLauncherPlugin.register(with: __C.FlutterPluginRegistrar) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
@nonobjc __C.FlutterError.__allocating_init(code: Swift.String, message: Swift.String?, details: Any?) -> __C.FlutterError in libmap_launcher.a(SwiftMapLauncherPlugin.o)
reabstraction thunk helper from @escaping @callee_unowned @convention(block) (@unowned Swift.AnyObject?) -> () to @escaping @callee_guaranteed (@in_guaranteed Any?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"_swift_getInitializedObjCClass", referenced from:
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
getter of originMapItem #1 : __C.MKMapItem in map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(isMapAvailable in _F0DBE403B9398A2EE64FE6895944519C)(map: map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C)) -> Swift.Bool in libmap_launcher.a(SwiftMapLauncherPlugin.o)
type metadata accessor for __C.FlutterMethodChannel in libmap_launcher.a(SwiftMapLauncherPlugin.o)
type metadata accessor for map_launcher.SwiftMapLauncherPlugin in libmap_launcher.a(SwiftMapLauncherPlugin.o)
type metadata accessor for __C.NSDictionary in libmap_launcher.a(SwiftMapLauncherPlugin.o)
...
"method descriptor for static Swift.Equatable.== infix(A, A) -> Swift.Bool", referenced from:
protocol conformance descriptor for map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.Equatable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"_swift_getTypeByMangledNameInContext", referenced from:
___swift_instantiateConcreteTypeFromMangledName in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"(extension in Foundation):Swift.Array._bridgeToObjectiveC() -> __C.NSArray", referenced from:
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"Swift.== infix<A where A: Swift.RawRepresentable, A.RawValue: Swift.Equatable>(A, A) -> Swift.Bool", referenced from:
protocol witness for static Swift.Equatable.== infix(A, A) -> Swift.Bool in conformance map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.Equatable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(isMapAvailable in _F0DBE403B9398A2EE64FE6895944519C)(map: map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C)) -> Swift.Bool in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"Swift._allocateUninitializedArray(Builtin.Word) -> ([A], Builtin.RawPointer)", referenced from:
map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C).init(rawValue: Swift.String) -> map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C)? in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C).toMap() -> [Swift.String : Swift.String] in libmap_launcher.a(SwiftMapLauncherPlugin.o)
_globalinit_33_F0DBE403B9398A2EE64FE6895944519C_func0 in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"Foundation.URL.init(string: __shared Swift.String) -> Foundation.URL?", referenced from:
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(isMapAvailable in _F0DBE403B9398A2EE64FE6895944519C)(map: map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C)) -> Swift.Bool in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"static (extension in Swift):Swift.Optional.== infix(A?, A?) -> Swift.Bool", referenced from:
map_launcher.(getDirectionsMode in _F0DBE403B9398A2EE64FE6895944519C)(directionsMode: Swift.String?) -> Swift.String in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"static (extension in Foundation):Swift.String._unconditionallyBridgeFromObjectiveC(__C.NSString?) -> Swift.String", referenced from:
map_launcher.(getDirectionsMode in _F0DBE403B9398A2EE64FE6895944519C)(directionsMode: Swift.String?) -> Swift.String in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"_swift_getObjCClassMetadata", referenced from:
type metadata accessor for __C.FlutterMethodChannel in libmap_launcher.a(SwiftMapLauncherPlugin.o)
@objc static map_launcher.SwiftMapLauncherPlugin.register(with: __C.FlutterPluginRegistrar) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
type metadata accessor for __C.NSDictionary in libmap_launcher.a(SwiftMapLauncherPlugin.o)
type metadata accessor for __C.FlutterError in libmap_launcher.a(SwiftMapLauncherPlugin.o)
type metadata accessor for __C.MKPlacemark in libmap_launcher.a(SwiftMapLauncherPlugin.o)
type metadata accessor for __C.MKMapItem in libmap_launcher.a(SwiftMapLauncherPlugin.o)
type metadata accessor for __C.NSValue in libmap_launcher.a(SwiftMapLauncherPlugin.o)
...
"protocol descriptor for Swift.Hashable", referenced from:
protocol conformance descriptor for map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.Hashable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"(extension in Foundation):Swift.String._bridgeToObjectiveC() -> __C.NSString", referenced from:
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
getter of originMapItem #1 : __C.MKMapItem in map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
@nonobjc __C.FlutterMethodChannel.__allocating_init(name: Swift.String, binaryMessenger: __C.FlutterBinaryMessenger) -> __C.FlutterMethodChannel in libmap_launcher.a(SwiftMapLauncherPlugin.o)
@nonobjc __C.FlutterError.__allocating_init(code: Swift.String, message: Swift.String?, details: Any?) -> __C.FlutterError in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"_swift_getObjCClassFromMetadata", referenced from:
__C.MKPlacemark.__allocating_init(coordinate: __C.CLLocationCoordinate2D, addressDictionary: [Swift.String : Any]?) -> __C.MKPlacemark in libmap_launcher.a(SwiftMapLauncherPlugin.o)
__C.MKMapItem.__allocating_init(placemark: __C.MKPlacemark) -> __C.MKMapItem in libmap_launcher.a(SwiftMapLauncherPlugin.o)
@nonobjc (extension in MapKit):__C.NSValue.init(mkCoordinate: __C.CLLocationCoordinate2D) -> __C.NSValue in libmap_launcher.a(SwiftMapLauncherPlugin.o)
@nonobjc (extension in MapKit):__C.NSValue.init(mkCoordinateSpan: __C.MKCoordinateSpan) -> __C.NSValue in libmap_launcher.a(SwiftMapLauncherPlugin.o)
@nonobjc __C.FlutterMethodChannel.__allocating_init(name: Swift.String, binaryMessenger: __C.FlutterBinaryMessenger) -> __C.FlutterMethodChannel in libmap_launcher.a(SwiftMapLauncherPlugin.o)
@nonobjc __C.FlutterError.__allocating_init(code: Swift.String, message: Swift.String?, details: Any?) -> __C.FlutterError in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"protocol conformance descriptor for [A] : Swift._ArrayProtocol in Swift", referenced from:
lazy protocol witness table accessor for type [map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C)] and conformance [A] : Swift._ArrayProtocol in Swift in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"Swift.bridgeAnyObjectToAny(Swift.AnyObject?) -> Any", referenced from:
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"type metadata for Swift.StaticString", referenced from:
map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C).init(rawValue: Swift.String) -> map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C)? in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"type metadata accessor for Foundation.URL", referenced from:
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(isMapAvailable in _F0DBE403B9398A2EE64FE6895944519C)(map: map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C)) -> Swift.Bool in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"Swift.Double.init(A) -> Swift.Double?", referenced from:
map_launcher.(getMapItem in _F0DBE403B9398A2EE64FE6895944519C)(latitude: Swift.String, longitude: Swift.String) -> __C.MKMapItem in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"static Swift.String.== infix(Swift.String, Swift.String) -> Swift.Bool", referenced from:
closure #1 (map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C)) -> Swift.Bool in map_launcher.(getMapByRawMapType in _F0DBE403B9398A2EE64FE6895944519C)(type: Swift.String) -> map_launcher.(Map in F0DBE403B9398A2EE64FE6895944519C) in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"(extension in Swift):Swift.Sequence.first(where: (A.Element) throws -> Swift.Bool) throws -> A.Element?", referenced from:
map_launcher.(getMapByRawMapType in _F0DBE403B9398A2EE64FE6895944519C)(type: Swift.String) -> map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C) in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"_swift_deallocClassInstance", referenced from:
map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C).__deallocating_deinit in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"(extension in Swift):Swift.RawRepresentable< where A: Swift.Hashable, A.Swift.RawRepresentable.RawValue: Swift.Hashable>.hash(into: inout Swift.Hasher) -> ()", referenced from:
protocol witness for Swift.Hashable.hash(into: inout Swift.Hasher) -> () in conformance map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.Hashable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"Swift.Dictionary.init(dictionaryLiteral: (A, B)...) -> [A : B]", referenced from:
map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C).toMap() -> [Swift.String : Swift.String] in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"OBJC_METACLASS$__TtCs12_SwiftObject", referenced from:
metaclass for map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C) in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"_swift_getWitnessTable", referenced from:
lazy protocol witness table accessor for type [map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C)] and conformance [A] : Swift._ArrayProtocol in Swift in libmap_launcher.a(SwiftMapLauncherPlugin.o)
lazy protocol witness table accessor for type [map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C)] and conformance [A] : Swift.Collection in Swift in libmap_launcher.a(SwiftMapLauncherPlugin.o)
lazy protocol witness table accessor for type map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) and conformance map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.Equatable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
lazy protocol witness table accessor for type map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) and conformance map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.RawRepresentable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
lazy protocol witness table accessor for type Swift.String and conformance Swift.String : Swift.StringProtocol in Swift in libmap_launcher.a(SwiftMapLauncherPlugin.o)
lazy protocol witness table accessor for type [map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C)] and conformance [A] : Swift.Sequence in Swift in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"(extension in Foundation):Swift.Dictionary._bridgeToObjectiveC() -> __C.NSDictionary", referenced from:
@nonobjc __C.MKPlacemark.init(coordinate: __C.CLLocationCoordinate2D, addressDictionary: [Swift.String : Any]?) -> __C.MKPlacemark in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"_swift_allocObject", referenced from:
map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C).__allocating_init(mapName: Swift.String, mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), urlPrefix: Swift.String?) -> map_launcher.(Map in F0DBE403B9398A2EE64FE6895944519C) in libmap_launcher.a(SwiftMapLauncherPlugin.o)
@objc map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"Swift._dictionaryUpCast<A, B, C, D where A: Swift.Hashable, C: Swift.Hashable>([A : B]) -> [C : D]", referenced from:
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"Foundation.URL._bridgeToObjectiveC() -> __C.NSURL", referenced from:
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(isMapAvailable in _F0DBE403B9398A2EE64FE6895944519C)(map: map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C)) -> Swift.Bool in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"(extension in Swift):Swift.RawRepresentable< where A: Swift.Hashable, A.Swift.RawRepresentable.RawValue: Swift.Hashable>._rawHashValue(seed: Swift.Int) -> Swift.Int", referenced from:
protocol witness for Swift.Hashable._rawHashValue(seed: Swift.Int) -> Swift.Int in conformance map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.Hashable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"protocol conformance descriptor for [A] : Swift.Sequence in Swift", referenced from:
lazy protocol witness table accessor for type [map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C)] and conformance [A] : Swift.Sequence in Swift in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"protocol witness table for Swift.String : Swift.Hashable in Swift", referenced from:
protocol witness for Swift.Hashable.hashValue.getter : Swift.Int in conformance map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.Hashable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
protocol witness for Swift.Hashable.hash(into: inout Swift.Hasher) -> () in conformance map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.Hashable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
protocol witness for Swift.Hashable._rawHashValue(seed: Swift.Int) -> Swift.Int in conformance map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.Hashable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C).toMap() -> [Swift.String : Swift.String] in libmap_launcher.a(SwiftMapLauncherPlugin.o)
@nonobjc __C.MKPlacemark.init(coordinate: __C.CLLocationCoordinate2D, addressDictionary: [Swift.String : Any]?) -> __C.MKPlacemark in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
...
"Swift.assertionFailure(: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never", referenced from:
map_launcher.(getMapByRawMapType in _F0DBE403B9398A2EE64FE6895944519C)(type: Swift.String) -> map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C) in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(getMapItem in _F0DBE403B9398A2EE64FE6895944519C)(latitude: Swift.String, longitude: Swift.String) -> __C.MKMapItem in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
getter of originMapItem #1 : __C.MKMapItem in map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(isMapAvailable in _F0DBE403B9398A2EE64FE6895944519C)(map: map_launcher.(Map in F0DBE403B9398A2EE64FE6895944519C)) -> Swift.Bool in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
...
"Swift.String.init(_builtinStringLiteral: Builtin.RawPointer, utf8CodeUnitCount: Builtin.Word, isASCII: Builtin.Int1) -> Swift.String", referenced from:
map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C).rawValue.getter : Swift.String in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C).toMap() -> [Swift.String : Swift.String] in libmap_launcher.a(SwiftMapLauncherPlugin.o)
_globalinit_33_F0DBE403B9398A2EE64FE6895944519C_func0 in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(getDirectionsMode in _F0DBE403B9398A2EE64FE6895944519C)(directionsMode: Swift.String?) -> Swift.String in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
getter of originMapItem #1 : __C.MKMapItem in map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
static map_launcher.SwiftMapLauncherPlugin.register(with: __C.FlutterPluginRegistrar) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
...
"_swift_FORCE_LOAD$_swiftCompatibilityDynamicReplacements", referenced from:
_swift_FORCE_LOAD$swiftCompatibilityDynamicReplacements$_map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
(maybe you meant: _swift_FORCE_LOAD$swiftCompatibilityDynamicReplacements$_map_launcher)
"_swift_FORCE_LOAD$_swiftCompatibility50", referenced from:
_swift_FORCE_LOAD$swiftCompatibility50$_map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
(maybe you meant: _swift_FORCE_LOAD$swiftCompatibility50$_map_launcher)
"_swift_bridgeObjectRetain", referenced from:
map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C).toMap() -> [Swift.String : Swift.String] in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(getMapByRawMapType in _F0DBE403B9398A2EE64FE6895944519C)(type: Swift.String) -> map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C) in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(getMapItem in _F0DBE403B9398A2EE64FE6895944519C)(latitude: Swift.String, longitude: Swift.String) -> __C.MKMapItem in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
outlined init with copy of Swift.String? in libmap_launcher.a(SwiftMapLauncherPlugin.o)
outlined copy of Swift.String? in libmap_launcher.a(SwiftMapLauncherPlugin.o)
...
"_swift_bridgeObjectRelease", referenced from:
map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C).init(rawValue: Swift.String) -> map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C)? in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(getMapByRawMapType in _F0DBE403B9398A2EE64FE6895944519C)(type: Swift.String) -> map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C) in libmap_launcher.a(SwiftMapLauncherPlugin.o)
closure #1 (map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C)) -> Swift.Bool in map_launcher.(getMapByRawMapType in _F0DBE403B9398A2EE64FE6895944519C)(type: Swift.String) -> map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C) in libmap_launcher.a(SwiftMapLauncherPlugin.o)
@nonobjc __C.MKPlacemark.init(coordinate: __C.CLLocationCoordinate2D, addressDictionary: [Swift.String : Any]?) -> __C.MKPlacemark in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
getter of originMapItem #1 : __C.MKMapItem in map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
...
"protocol conformance descriptor for Swift.String : Swift.StringProtocol in Swift", referenced from:
lazy protocol witness table accessor for type Swift.String and conformance Swift.String : Swift.StringProtocol in Swift in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"type metadata for Swift.String", referenced from:
map_launcher.(Map in _F0DBE403B9398A2EE64FE6895944519C).toMap() -> [Swift.String : Swift.String] in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(getMapItem in _F0DBE403B9398A2EE64FE6895944519C)(latitude: Swift.String, longitude: Swift.String) -> __C.MKMapItem in libmap_launcher.a(SwiftMapLauncherPlugin.o)
@nonobjc __C.MKPlacemark.init(coordinate: __C.CLLocationCoordinate2D, addressDictionary: [Swift.String : Any]?) -> __C.MKPlacemark in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(getDirectionsMode in _F0DBE403B9398A2EE64FE6895944519C)(directionsMode: Swift.String?) -> Swift.String in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
...
"(extension in Swift):Swift.RawRepresentable< where A: Swift.Hashable, A.Swift.RawRepresentable.RawValue: Swift.Hashable>.hashValue.getter : Swift.Int", referenced from:
protocol witness for Swift.Hashable.hashValue.getter : Swift.Int in conformance map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C) : Swift.Hashable in map_launcher in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"Swift.bridgeAnythingToObjectiveC(A) -> Swift.AnyObject", referenced from:
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
@nonobjc __C.FlutterError.__allocating_init(code: Swift.String, message: Swift.String?, details: Any?) -> __C.FlutterError in libmap_launcher.a(SwiftMapLauncherPlugin.o)
reabstraction thunk helper from @escaping @callee_unowned @convention(block) (@unowned Swift.AnyObject?) -> () to @escaping @callee_guaranteed (@in_guaranteed Any?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
"type metadata for Any", referenced from:
@nonobjc __C.MKPlacemark.init(coordinate: __C.CLLocationCoordinate2D, addressDictionary: [Swift.String : Any]?) -> __C.MKPlacemark in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showMarker in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in _F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, title: Swift.String, latitude: Swift.String, longitude: Swift.String) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.(showDirections in _F0DBE403B9398A2EE64FE6895944519C)(mapType: map_launcher.(MapType in F0DBE403B9398A2EE64FE6895944519C), url: Swift.String, destinationTitle: Swift.String?, destinationLatitude: Swift.String, destinationLongitude: Swift.String, originTitle: Swift.String?, originLatitude: Swift.String?, originLongitude: Swift.String?, directionsMode: Swift.String?) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
map_launcher.SwiftMapLauncherPlugin.handle(
: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in libmap_launcher.a(SwiftMapLauncherPlugin.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Pods-Runner-bncczrmrsejmfkfybraiofizwvct
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but the range of supported deployment target versions is 8.0 to 13.4.99. (in target 'Reachability' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported deployment target versions is 8.0 to 13.4.99. (in target 'Toast' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.4.99. (in target 'Protobuf' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported deployment target versions is 8.0 to 13.4.99. (in target 'nanopb' from project 'Pods')

Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.

My flutter doctor output:

[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.7 19H2, locale en-EC)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
[✓] Android Studio (version 3.4)
[✓] VS Code (version 1.51.0)
[✓] Connected device (1 available)

• No issues found!

Everything was working fine before adding map_launcher

Google Maps doesn't correctly consume waypoints on iOS

Problem
When passing two waypoints --> no waypoints are used in Google Maps on iOS
When passing more than two waypoints --> Google Maps doesn't offer any functionality, I cannot tap into waypoint or interact in any way with Google Maps on iOS

Version
map_launcher: ^1.1.3+1

[✓] Flutter (Channel stable, 1.22.6, on macOS 11.2.3 20D91 darwin-x64, locale de-DE)
    • Flutter version 1.22.6 at /[User]/sdks/flutter
    • Framework revision 9b2d32b605 (vor 7 Wochen), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at [User]/sdks/android
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = [User]/sdks/android
    • Java binary at: /Applications/Android Studio 4.0.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin installed
    • Dart plugin version 203.7759

[✓] VS Code (version 1.53.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.20.0

on iOS, I'm calling Google Maps with the following code:

    await map.showDirections(
      destination: Coords(
        destination.latitude,
        destination.longitude,
      ),
      destinationTitle: destination.title ?? '',
      origin: Coords(
        departure.latitude,
        departure.longitude,
      ),
      originTitle: departure.title ?? '',
      waypoints: (waypoints ?? <Coordinates>[])
          .map((e) => Coords(e.latitude, e.longitude))
          .toList(),
      directionsMode: rideType == RideType.passenger
          ? DirectionsMode.walking
          : DirectionsMode.driving,
    );

MissingPluginException (MissingPluginException(No implementation found for method getDatabasesPath on channel com.tekartik.sqflite))

After imported map_launcher: ^0.5.0 on pubspec.yaml got this error on creating db, on method getDatabasesPath()

return openDatabase(join(await getDatabasesPath(), DB_PATH), ... )

my pubspec
`name: a
description: a

environment:
sdk: ">=2.2.0 <3.0.0"

dependencies:
map_launcher: ^0.5.0
device_info: ^0.4.2+4
flutter_launcher_icons: ^0.7.4
font_awesome_flutter: ^8.7.0
android_alarm_manager: ^0.4.5+4
path_provider: ^1.6.1
open_file: ^3.0.1
camera: ^0.5.7+4
sqflite: ^1.3.0+1
background_location: ^0.0.9+3
painter: ^0.3.2
wakelock: ^0.1.3+4
url_launcher: ^5.4.2
google_map_polyline: ^0.2.0+1
location: ^2.5.1
flutter_polyline_points: ^0.1.0
google_maps_flutter: ^0.5.24+1
http: ^0.12.0+4
dio: ^3.0.9
bloc_pattern: ^2.5.1
intl: ^0.16.1
f_logs: ^1.3.0-alpha-02
flutter:
sdk: flutter

dev_dependencies:
mockito: ^4.1.1
flutter_test:
sdk: flutter

flutter:
uses-material-design: true
assets:
- assets/images/

flutter_icons:
android: true
ios: true
image_path: "assets/images/icon.png"`

flutter doctor -v

`[√] Flutter (Channel stable, v1.17.3, on Microsoft Windows [versão
10.0.19041.329], locale pt-BR)
• Flutter version 1.17.3 at C:\Users\igord\flutter
• Framework revision b041144f83 (12 days ago), 2020-06-04 09:26:11 -0700
• Engine revision ee76268252
• Dart version 2.8.4

[√] Android toolchain - develop for Android devices (Android SDK version
29.0.3)
• Android SDK at C:\Users\igord\AppData\Local\Android\sdk
• Platform android-R, build-tools 29.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b01)
• All Android licenses accepted.

[√] Android Studio (version 4.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 46.0.1
• Dart plugin version 192.8052
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b01)

[√] VS Code (version 1.46.0)
• VS Code at C:\Users\igord\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.11.0

[√] Connected device (1 available)
• sdk gphone x86 • emulator-5554 • android-x86 • Android R (API 29)
(emulator)

• No issues found!`

How to pass and retrieve data from firebase

I'd like to retrieve some value from firebase
say for example a "cafe shop" location
how do I pass the argument with this

    final dbRef = FirebaseDatabase.instance.reference().child("cafe");

    body: StreamBuilder(
    stream: dbRef.onValue,
    builder: (context, AsyncSnapshot<Event> snapshot) {
     if (snapshot.hasData) {
     lists.clear();
     DataSnapshot dataValues = snapshot.data.snapshot;
     Map<dynamic, dynamic> values = dataValues.value;
     values.forEach((key, values) {
        lists.add(values);
    });

android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context

Hello. Thank you for this plugin.
Have problem with Android.

android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
E/MethodChannel#map_launcher( 6917): at android.app.ContextImpl.startActivity(ContextImpl.java:994)
E/MethodChannel#map_launcher( 6917): at android.app.ContextImpl.startActivity(ContextImpl.java:970)
E/MethodChannel#map_launcher( 6917): at android.content.ContextWrapper.startActivity(ContextWrapper.java:389)
E/MethodChannel#map_launcher( 6917): at com.alexmiller.map_launcher.MapLauncherPlugin.launchGoogleMaps(MapLauncherPlugin.kt:73)

Looks like problem with android side.I will try fix in fork

installedMaps returning wrong list.

Upon using the package I ran into an issue, on iOS the Apple maps application is not installed or disabled but the output of installedMaps contain 'apple maps'.

App crashes when clicking on notifications

I have used firebase_messaging: ^7.0.0 alongside map_launcher: ^1.1.3. When the app runs normally (on iOS - when user tap on the app icon), everything is fine. But if user receive a notification (app is closed) and tap on the notification, app will crash. Here is the log:

Incident Identifier: ****************************************
CrashReporter Key:   ****************************************
Hardware Model:      iPad8,3
Process:             Runner [7724]
Path:                /private/var/containers/Bundle/Application/****************************************/Runner.app/Runner
Identifier:          **************
Version:             5 (1.0.4)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           ************** [697]


Date/Time:           2021-02-19 00:13:50.5298 +0330
Launch Time:         2021-02-19 00:13:49.8428 +0330
OS Version:          iPhone OS 14.4 (18D52)
Release Type:        User
Baseband Version:    3.02.02
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Region Info: 0 is not in any region.  Bytes before following region: 4371496960
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                   1048fc000-10500c000 [ 7232K] r-x/r-x SM=COW  ...er.app/Runner

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [7724]
Triggered by Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libswiftCore.dylib            	0x00000001a53b56e4 swift_getObjectType + 40
1   map_launcher                  	0x00000001079d010c 0x1079c8000 + 33036
2   map_launcher                  	0x00000001079d010c 0x1079c8000 + 33036
3   map_launcher                  	0x00000001079d0340 0x1079c8000 + 33600
4   map_launcher                  	0x00000001079ccdd8 0x1079c8000 + 19928
5   Runner                        	0x00000001049012d8 0x1048fc000 + 21208
6   Runner                        	0x0000000104901570 0x1048fc000 + 21872
7   Runner                        	0x0000000104901878 0x1048fc000 + 22648
8   UIKitCore                     	0x00000001a3db0228 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 360
9   UIKitCore                     	0x00000001a3db2290 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 5136
10  UIKitCore                     	0x00000001a3db7cec -[UIApplication _runWithMainScene:transitionContext:completion:] + 1244
11  UIKitCore                     	0x00000001a340dc74 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 152
12  UIKitCore                     	0x00000001a397bf9c _UIScenePerformActionsWithLifecycleActionMask + 112
13  UIKitCore                     	0x00000001a340e80c __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 224
14  UIKitCore                     	0x00000001a340e214 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 300
15  UIKitCore                     	0x00000001a340e61c -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 768
16  UIKitCore                     	0x00000001a340de58 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 340
17  UIKitCore                     	0x00000001a34163a4 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 196
18  UIKitCore                     	0x00000001a388860c +[BSAnimationSettings+ 6936076 (UIKit) tryAnimatingWithSettings:actions:completion:] + 892
19  UIKitCore                     	0x00000001a39946c4 _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 272
20  UIKitCore                     	0x00000001a341609c -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 384
21  UIKitCore                     	0x00000001a323d5a0 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 776
22  UIKitCore                     	0x00000001a323bf14 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 256
23  UIKitCore                     	0x00000001a323d1c8 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 248
24  UIKitCore                     	0x00000001a3db5e8c -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 572
25  UIKitCore                     	0x00000001a38b1e38 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 388
26  FrontBoardServices            	0x00000001b11693bc -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 432
27  FrontBoardServices            	0x00000001b1194d04 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke.200 + 128
28  FrontBoardServices            	0x00000001b11784a0 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240
29  FrontBoardServices            	0x00000001b11949c8 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke + 372
30  libdispatch.dylib             	0x00000001a0ff2db0 _dispatch_client_callout + 20
31  libdispatch.dylib             	0x00000001a0ff6738 _dispatch_block_invoke_direct + 268
32  FrontBoardServices            	0x00000001b11bd250 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48
33  FrontBoardServices            	0x00000001b11bcee0 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 448
34  FrontBoardServices            	0x00000001b11bd434 -[FBSSerialQueue _performNextFromRunLoopSource] + 32
35  CoreFoundation                	0x00000001a137a76c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
36  CoreFoundation                	0x00000001a137a668 __CFRunLoopDoSource0 + 208
37  CoreFoundation                	0x00000001a1379960 __CFRunLoopDoSources0 + 268
38  CoreFoundation                	0x00000001a1373a8c __CFRunLoopRun + 824
39  CoreFoundation                	0x00000001a137321c CFRunLoopRunSpecific + 600
40  GraphicsServices              	0x00000001b8f3f784 GSEventRunModal + 164
41  UIKitCore                     	0x00000001a3db3ee8 -[UIApplication _run] + 1072
42  UIKitCore                     	0x00000001a3db975c UIApplicationMain + 168
43  Runner                        	0x0000000104901a3c 0x1048fc000 + 23100
44  libdyld.dylib                 	0x00000001a10336b0 start + 4

Thread 1:
0   libsystem_pthread.dylib       	0x00000001ec178764 start_wqthread + 0

Thread 2 name:  Dispatch queue: APMExperimentWorkerQueue
Thread 2:
0   libsystem_kernel.dylib        	0x00000001cec3cac8 pread + 8
1   libsqlite3.dylib              	0x00000001bb63a37c 0x1bb584000 + 746364
2   libsqlite3.dylib              	0x00000001bb58be58 0x1bb584000 + 32344
3   libsqlite3.dylib              	0x00000001bb589a1c 0x1bb584000 + 23068
4   libsqlite3.dylib              	0x00000001bb585ff0 0x1bb584000 + 8176
5   Runner                        	0x00000001049c4ee4 0x1048fc000 + 823012
6   Runner                        	0x00000001049c0844 0x1048fc000 + 804932
7   Runner                        	0x0000000104974780 0x1048fc000 + 493440
8   Runner                        	0x0000000104974688 0x1048fc000 + 493192
9   Runner                        	0x000000010497d668 0x1048fc000 + 530024
10  Runner                        	0x000000010497d600 0x1048fc000 + 529920
11  Runner                        	0x000000010497ec44 0x1048fc000 + 535620
12  libdispatch.dylib             	0x00000001a0ff124c _dispatch_call_block_and_release + 32
13  libdispatch.dylib             	0x00000001a0ff2db0 _dispatch_client_callout + 20
14  libdispatch.dylib             	0x00000001a0ffa10c _dispatch_lane_serial_drain + 580
15  libdispatch.dylib             	0x00000001a0ffac5c _dispatch_lane_invoke + 408
16  libdispatch.dylib             	0x00000001a1004d78 _dispatch_workloop_worker_thread + 708
17  libsystem_pthread.dylib       	0x00000001ec171814 _pthread_wqthread + 276
18  libsystem_pthread.dylib       	0x00000001ec17876c start_wqthread + 8

Thread 3:
0   libsystem_pthread.dylib       	0x00000001ec178764 start_wqthread + 0

Thread 4 name:  Dispatch queue: com.google.fira.worker
Thread 4:
0   libsystem_kernel.dylib        	0x00000001cec162d0 mach_msg_trap + 8
1   libsystem_kernel.dylib        	0x00000001cec15660 mach_msg + 76
2   libdispatch.dylib             	0x00000001a100b888 _dispatch_mach_send_and_wait_for_reply + 528
3   libdispatch.dylib             	0x00000001a100bc24 dispatch_mach_send_with_result_and_wait_for_reply + 56
4   libxpc.dylib                  	0x00000001ec196e68 xpc_connection_send_message_with_reply_sync + 240
5   CoreFoundation                	0x00000001a141b5ec __104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke_2 + 40
6   CoreFoundation                	0x00000001a12e361c -[_CFXPreferences withConnectionForRole:performBlock:] + 52
7   CoreFoundation                	0x00000001a141b59c __104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke + 140
8   CoreFoundation                	0x00000001a141b3e0 CFPREFERENCES_IS_WAITING_FOR_SYSTEM_CFPREFSD + 100
9   CoreFoundation                	0x00000001a14196b4 -[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:] + 332
10  CoreFoundation                	0x00000001a12e7e90 -[CFPrefsSearchListSource alreadylocked_generationCountFromListOfSources:count:] + 232
11  CoreFoundation                	0x00000001a141a184 -[CFPrefsSearchListSource alreadylocked_getDictionary:] + 468
12  CoreFoundation                	0x00000001a12de5f4 -[CFPrefsSearchListSource alreadylocked_copyValueForKey:] + 176
13  CoreFoundation                	0x00000001a12de524 -[CFPrefsSource copyValueForKey:] + 60
14  CoreFoundation                	0x00000001a145ade0 __76-[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:]_block_invoke + 44
15  CoreFoundation                	0x00000001a141d178 __108-[_CFXPreferences+ 1327480 (SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 404
16  CoreFoundation                	0x00000001a141c720 normalizeQuintuplet + 356
17  CoreFoundation                	0x00000001a141cfbc -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 152
18  CoreFoundation                	0x00000001a12dd88c -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 168
19  CoreFoundation                	0x00000001a145d94c _CFPreferencesCopyAppValueWithContainerAndConfiguration + 128
20  Runner                        	0x00000001049e0b3c 0x1048fc000 + 936764
21  Runner                        	0x000000010499bb24 0x1048fc000 + 654116
22  Runner                        	0x000000010499ba70 0x1048fc000 + 653936
23  Runner                        	0x00000001049ae45c 0x1048fc000 + 730204
24  libdispatch.dylib             	0x00000001a0ff124c _dispatch_call_block_and_release + 32
25  libdispatch.dylib             	0x00000001a0ff2db0 _dispatch_client_callout + 20
26  libdispatch.dylib             	0x00000001a0ffa10c _dispatch_lane_serial_drain + 580
27  libdispatch.dylib             	0x00000001a0ffac5c _dispatch_lane_invoke + 408
28  libdispatch.dylib             	0x00000001a1004d78 _dispatch_workloop_worker_thread + 708
29  libsystem_pthread.dylib       	0x00000001ec171814 _pthread_wqthread + 276
30  libsystem_pthread.dylib       	0x00000001ec17876c start_wqthread + 8

Thread 5 name:  com.apple.uikit.eventfetch-thread
Thread 5:
0   libsystem_kernel.dylib        	0x00000001cec162d0 mach_msg_trap + 8
1   libsystem_kernel.dylib        	0x00000001cec15660 mach_msg + 76
2   CoreFoundation                	0x00000001a1379c30 __CFRunLoopServiceMachPort + 380
3   CoreFoundation                	0x00000001a1373c14 __CFRunLoopRun + 1216
4   CoreFoundation                	0x00000001a137321c CFRunLoopRunSpecific + 600
5   Foundation                    	0x00000001a2622df0 -[NSRunLoop+ 36336 (NSRunLoop) runMode:beforeDate:] + 232
6   Foundation                    	0x00000001a2622cbc -[NSRunLoop+ 36028 (NSRunLoop) runUntilDate:] + 92
7   UIKitCore                     	0x00000001a3e67c48 -[UIEventFetcher threadMain] + 516
8   Foundation                    	0x00000001a2794a34 __NSThread__start__ + 864
9   libsystem_pthread.dylib       	0x00000001ec16fcb0 _pthread_start + 320
10  libsystem_pthread.dylib       	0x00000001ec178778 thread_start + 8

Thread 6 name:  Dispatch queue: com.google.FIRCoreDiagnostics
Thread 6:
0   libsystem_kernel.dylib        	0x00000001cec3d308 stat + 8
1   Foundation                    	0x00000001a26422c0 -[NSFileManager fileExistsAtPath:isDirectory:] + 80
2   Foundation                    	0x00000001a26424e8 -[NSURL+ 165096 (NSURL) initFileURLWithPath:] + 212
3   Foundation                    	0x00000001a26423f8 +[NSURL+ 164856 (NSURL) fileURLWithPath:] + 40
4   GoogleUtilities               	0x000000010578e1e8 0x105784000 + 41448
5   GoogleUtilities               	0x000000010578e034 0x105784000 + 41012
6   GoogleUtilities               	0x000000010578e85c 0x105784000 + 43100
7   Runner                        	0x0000000104914788 0x1048fc000 + 100232
8   Runner                        	0x0000000104914504 0x1048fc000 + 99588
9   libdispatch.dylib             	0x00000001a0ff124c _dispatch_call_block_and_release + 32
10  libdispatch.dylib             	0x00000001a0ff2db0 _dispatch_client_callout + 20
11  libdispatch.dylib             	0x00000001a0ffa10c _dispatch_lane_serial_drain + 580
12  libdispatch.dylib             	0x00000001a0ffac5c _dispatch_lane_invoke + 408
13  libdispatch.dylib             	0x00000001a1004d78 _dispatch_workloop_worker_thread + 708
14  libsystem_pthread.dylib       	0x00000001ec171814 _pthread_wqthread + 276
15  libsystem_pthread.dylib       	0x00000001ec17876c start_wqthread + 8

Thread 7:
0   libsystem_pthread.dylib       	0x00000001ec178764 start_wqthread + 0

Thread 8:
0   libsystem_pthread.dylib       	0x00000001ec178764 start_wqthread + 0

Thread 9:
0   libsystem_pthread.dylib       	0x00000001ec178764 start_wqthread + 0

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0xec00000072656863   x2: 0x0000000072000000   x3: 0x0000000000000010
    x4: 0x0000000000000018   x5: 0x0000000000000000   x6: 0x0000000000002000   x7: 0x0000000000000c80
    x8: 0x0000000000000000   x9: 0x0c00000072656863  x10: 0x0000000000000004  x11: 0x0000000000000004
   x12: 0x0000000072656863  x13: 0x0000000072006800  x14: 0x0000000000000020  x15: 0x00000001079d5eed
   x16: 0x00000001a53b56bc  x17: 0x0000000000650000  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x00000001079d94d0  x21: 0x00000001f88ec000  x22: 0x0000000000000001  x23: 0x00000001eee599ff
   x24: 0x0000000000000000  x25: 0x00000001ef1812ff  x26: 0x000000002b870064  x27: 0x0000000000000010
   x28: 0x0000000000000001   fp: 0x000000016b501270   lr: 0xdf32d381079d010c
    sp: 0x000000016b501260   pc: 0x00000001a53b56e4 cpsr: 0x40000000
   esr: 0x92000006 (Data Abort) byte read Translation fault

It seems there is a problem in swift_getObjectType method.

Here is my Flutter version:

Flutter 1.22.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9b2d32b605 (4 weeks ago) • 2021-01-22 14:36:39 -0800
Engine • revision 2f0af37152
Tools • Dart 2.10.5

map_launcher and google_maps_flutter use same enum

i have an app that includes google map as widget, i would like to give the user the option to open a navigation app once they selected a pin from the map, so i have both map_launcher and google_maps_flutter being used in the same page.

i am getting the following error:
Compiler message:
lib/screens/two_widget/two_widget.dart:279:30: Error: 'MapType' is imported from both 'package:google_maps_flutter_platform_interface/src/types/ui.dart' and 'package:map_launcher/map_launcher.dart'.
mapType: MapType.normal,

is there a way to change the MapType enum in map_launcher to something like: MapLauncherType ?

Thanks much

zh_en

希望可以提供国际化支持

google maps issue (iOS)

Hi again,

I'm noticing some interesting things with regards to opening Google Maps on iOS.

In the example, title indicates the title of the pin. However, this call comgooglemaps://?q=$title&center=${coords.latitude},${coords.longitude} will actually search for whatever title is near the coordinates passed in. It is not really a title, it's a search query. For example, if I pass in "My House" as title and provide coordinates for my house, I get a "no results" message in Google Maps because it's actually searching for the term "My House" that is near the coordinates passed in.

All that said, it seems like a better option is to leave off center completely from the url. This will allow you to search for an address (see #14) or coordinates.

However, if you want to add a title to the pin, here's what I'm seeing:

It can be done when you're passing coordinates by using the following url: comgooglemaps://?q=$title($description) and it will automatically leave off the description in the query and only show it in the bottom card.

However, if you pass an address as the title for some reason, it does not remove the description so you end up with something like 111 Lala Lane (My Description) which will bring up a message to correct the query.

I know I just wrote a lot here, so let me know if it's clear!

Unable to start flutter app properly after pub get

I got this error after pub get. Error: "Missing 'package' key attribute on element package at AndroidManifest.xml".

I have tried flutter clean, restart IDE, etc.. nothing helps..

[√] Flutter (Channel stable, 1.22.6, on Microsoft Windows [Version 10.0.19042.746], locale en-MY)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[!] Android Studio (version 4.1.0)
    X Flutter plugin not installed; this adds Flutter specific functionality.   
    X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code (version 1.52.1)
[√] Connected device (1 available)

Error:

Launching lib\main.dart on Android SDK built for x86 in debug mode...
lib\main.dart:1
C:\SDK\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.1.3\android\src\main\AndroidManifest.xml:4:9-64 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:4:9-64
C:\SDK\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.1.3\android\src\main\AndroidManifest.xml:5:9-68 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:5:9-68
C:\SDK\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.1.3\android\src\main\AndroidManifest.xml:6:9-56 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:6:9-56

C:\SDK\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.1.3\android\src\main\AndroidManifest.xml:7:9-54 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:7:9-54
C:\SDK\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.1.3\android\src\main\AndroidManifest.xml:8:9-44 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:8:9-44

C:\SDK\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.1.3\android\src\main\AndroidManifest.xml:9:9-56 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:9:9-56

C:\SDK\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.1.3\android\src\main\AndroidManifest.xml:10:9-56 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:10:9-56
C:\SDK\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.1.3\android\src\main\AndroidManifest.xml:11:9-62 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:11:9-62
C:\SDK\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.1.3\android\src\main\AndroidManifest.xml:12:9-59 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:12:9-59
C:\SDK\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.1.3\android\src\main\AndroidManifest.xml:13:9-46 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:13:9-46
C:\SDK\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.1.3\android\src\main\AndroidManifest.xml:14:9-57 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:14:9-57
C:\SDK\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.1.3\android\src\main\AndroidManifest.xml:15:9-51 Error:
	Missing 'package' key attribute on element package at AndroidManifest.xml:15:9-51
C:\SDK\flutter\.pub-cache\hosted\pub.dartlang.org\map_launcher-1.1.3\android\src\main\AndroidManifest.xml Error:
	Validation failed, exiting

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':map_launcher:processDebugManifest'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Manifest merger failed with multiple errors, see logs

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 10s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

AndroidManifest.xml file which related with the error.

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.alexmiller.map_launcher">

    <queries>
        <package android:name="com.google.android.apps.maps" />
        <package android:name="com.google.android.apps.mapslite" />
        <package android:name="com.autonavi.minimap" />
        <package android:name="com.baidu.BaiduMap" />
        <package android:name="com.waze" />
        <package android:name="ru.yandex.yandexnavi" />
        <package android:name="ru.yandex.yandexmaps" />
        <package android:name="com.citymapper.app.release" />
        <package android:name="com.mapswithme.maps.pro" />
        <package android:name="net.osmand" />
        <package android:name="ru.dublgis.dgismobile" />
        <package android:name="com.tencent.map" />
    </queries>

</manifest>

Show Directions using Address query

Hello,

Is there a possibility to use the showDirections function using an address query ? If no, are you planning to do it?.

Thank you,
Benjamin

Unable to determine Swift version

When attempting to update run pod update, I get the following:

[!] Unable to determine Swift version for the following pods:

- `map_launcher` does not specify a Swift version and none of the targets (`Runner`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.

Can you add SWIFT_VERSION? Thanks!

Swift static library in Objective-C

Some advice ^^
In some project, it would be error when #import <map_launcher/map_launcher-Swift.h> in file "MapLauncherPlugin.m".
User as follow would be more compatibility:

#if __has_include(<map_launcher/map_launcher-Swift.h>)
#import <map_launcher/map_launcher-Swift.h>
#else
// Support project import fallback if the generated compatibility header
// is not copied when this plugin is created as a library.
// https://forums.swift.org/t/swift-static-libraries-dont-copy-generated-objective-c-header/19816
#import "map_launcher-Swift.h"
#endif

import error

Hi, when I import the library it gives the error below :
Compiler message:
../../../.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.18.1/lib/svg.dart:741:13: Error: No named parameter with the name 'clipBehavior'.
clipBehavior: widget.clipBehavior,
^^^^^^^^^^^^
../../../flutter/packages/flutter/lib/src/widgets/basic.dart:1410:9: Context: Found this candidate, but the arguments don't match.
const FittedBox({

Google Maps zoom level not set by default on iOS

Currently, the zoom has to be set manually for GMaps to function correctly on an iOS device.
If zoom is not set (which should default to 16 according to docs), the world map is displayed on GMaps instead of zooming in on the desired location.

The easy fix for this is just to set the zoom level but this should be enabled by default I assume.

map_launcher error

When I try to give the command flutter run, this problem happens.

  • map_launcher does not specify a Swift version and none of the targets ( Runner) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set
         the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.

my configs.
cezar@MacBook-Pro-de-Cezar app-convenios-frota % flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.1 19B88, locale pt-BR)
• Flutter version 1.12.13+hotfix.8 at /Users/cezar/Desenvolvimento/flutter
• Framework revision 0b8abb4724 (3 weeks ago), 2020-02-11 11:44:36 -0800
• Engine revision e1e6ced81d
• Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/cezar/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.2.1, Build version 11B500
• CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 40.2.2
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] Connected device (1 available)
• iPhone 11 Pro • EF52A92B-6AAC-4EF6-A9B7-C9AF906A5F76 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-2 (simulator)

Can not open on Nokia 1

Hi,
I can't open map on Nokia 1( Maps GO), when I try to use print(availableMaps), I got this message on terminal: I/flutter (16191): []
Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.