Giter VIP home page Giter VIP logo

apple_maps_flutter's Introduction

apple_maps_flutter

codecov

A Flutter plugin that provides an Apple Maps widget.

The plugin relies on Flutter's mechanism for embedding Android and iOS views. As that mechanism is currently in a developers preview, this plugin should also be considered a developers preview.

This plugin was based on the google_maps_flutter plugin. Instead of reinventing the wheel it also uses the Flutter implementation of the google_maps_flutter plugin. This was also done to simplify the process of combining the google_maps_flutter plugin with apple_maps_flutter to create a cross platform implementation for Android/iOS called flutter_platform_maps.

Screenshots

Example 1 Example 2
Example 1 Example 2

iOS

To use this plugin on iOS you need to opt-in for the embedded views preview by adding a boolean property to the app's Info.plist file, with the key io.flutter.embedded_views_preview and the value YES. You will also have to add the key Privacy - Location When In Use Usage Description with the value of your usage description.

Android

There is no Android implementation, but there is a package combining apple_maps_flutter and the google_maps_flutter plugin to have the typical map implementations for Android/iOS called platform_maps_flutter.

Sample Usage

class AppleMapsExample extends StatelessWidget {
  AppleMapController mapController;

  void _onMapCreated(AppleMapController controller) {
    mapController = controller;
  }

  @override
  Widget build(BuildContext context) {
    return Column(
      mainAxisAlignment: MainAxisAlignment.spaceEvenly,
      crossAxisAlignment: CrossAxisAlignment.stretch,
      children: <Widget>[
        Expanded(
          child: Container(
            child: AppleMap(
              onMapCreated: _onMapCreated,
              initialCameraPosition: const CameraPosition(
                target: LatLng(0.0, 0.0),
              ),
            ),
          ),
        ),
        Row(
          mainAxisAlignment: MainAxisAlignment.spaceEvenly,
          children: <Widget>[
            Column(
              children: <Widget>[
                FlatButton(
                  onPressed: () {
                    mapController.moveCamera(
                      CameraUpdate.newCameraPosition(
                        const CameraPosition(
                          heading: 270.0,
                          target: LatLng(51.5160895, -0.1294527),
                          pitch: 30.0,
                          zoom: 17,
                        ),
                      ),
                    );
                  },
                  child: const Text('newCameraPosition'),
                ),
                FlatButton(
                  onPressed: () {
                    mapController.moveCamera(
                      CameraUpdate.newLatLngZoom(
                        const LatLng(37.4231613, -122.087159),
                        11.0,
                      ),
                    );
                  },
                  child: const Text('newLatLngZoom'),
                ),
              ],
            ),
            Column(
              children: <Widget>[
                FlatButton(
                  onPressed: () {
                    mapController.moveCamera(
                      CameraUpdate.zoomIn(),
                    );
                  },
                  child: const Text('zoomIn'),
                ),
                FlatButton(
                  onPressed: () {
                    mapController.moveCamera(
                      CameraUpdate.zoomOut(),
                    );
                  },
                  child: const Text('zoomOut'),
                ),
                FlatButton(
                  onPressed: () {
                    mapController.moveCamera(
                      CameraUpdate.zoomTo(16.0),
                    );
                  },
                  child: const Text('zoomTo'),
                ),
              ],
            ),
          ],
        )
      ],
    );
  }
}

Suggestions and PR's to make this plugin better are always welcome.

apple_maps_flutter's People

Contributors

ateich avatar irundaia avatar joachimvalente avatar jonbhanson avatar luisthein avatar nghiashiyi avatar shivansal avatar zbarbuto avatar zgosalvez avatar zhengzeqin007 avatar zuvola 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

Watchers

 avatar  avatar  avatar  avatar

apple_maps_flutter's Issues

request to add CameraUpdate.newLatLngBounds

Hi there, thanks for your awesome library.
I have just added a suggestion about adding new CameraUpdate.newLatLngBounds to animate camera to a bounds list but I can't push to create a Pull Request.
What should I now. Thank you.

How to take screenshot

I am using screenshot plugin for taking screenshot in flutter, but problem is when i am taking screenshot, is showing blank white screen and after that i not getting anything.This happen every time.I am performing this task using below pseudo.
Implementing the native snapshot() function call.

Unable to change the color of a marker

Describe the bug
Hi there,
I have a problem with the class:BitmapDescriptor.markerAnnotationWithColor
Indeed by passing it as argument the colors defined by AnnotationColor, the color always remains the same (red)

Screenshots
Capture d’écran 2022-07-12 à 11 03 52
Capture d’écran 2022-07-12 à 11 04 56

Smartphone (please complete the following information):
Simulator of IPhone on Mac Pro

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, 3.1.0, on macOS 12.4 21F79 darwin-arm, locale fr-FR)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Community Edition (version 2022.1.3)
[✓] VS Code (version 1.67.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

! Doctor found issues in 1 category.

Thank you very much if you find the solution to the problem..

onDragEnd callback is not called

Describe the bug
The annotation is dragging but the onDragEnd callback is not called

To Reproduce
Steps to reproduce the behavior:

  1. Go to map
  2. Press on annotation
  3. Drag the annotation
  4. No logs on onDragEnd

Expected behavior
onDragEnd should be called

Smartphone

  • Device: iPhone11
  • Version 17.2.1

Source Code

AppleMap(
  onMapCreated: (controller) => appleMapController = controller,
  rotateGesturesEnabled: false,
  initialCameraPosition: CameraPosition(target:  LatLng(lat,lng)), zoom: 5),
  gestureRecognizers: <Factory<OneSequenceGestureRecognizer>>{Factory<OneSequenceGestureRecognizer>(() => EagerGestureRecognizer())},
  annotations: {
   Annotation(
      annotationId: AnnotationId("1"),
      position: LatLng(lat,lng),
      visible: true,
      draggable: true,
      onDragEnd: (position) {
        print(position);
      },
    ),
  },
)

flutter doctor

[✓] Flutter (Channel stable, 3.16.4, on macOS 13.5.2 22G91 darwin-x64, locale en-GB)
• Flutter version 3.16.4 on channel stable at /Users/cargr/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2e9cb0aa71 (5 weeks ago), 2023-12-11 14:35:13 -0700
• Engine revision 54a7145303
• Dart version 3.2.3
• DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc4)
• Android SDK at /Users/cargr/Library/Android/sdk
• Platform android-34, build-tools 34.0.0-rc4
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15A240d
• CocoaPods version 1.14.3

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

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

[✓] Connected device (3 available)
• iPhone 11 (mobile) • 00008030-000E44AC1EEB802E • ios • iOS 17.2.1 21C66
• macOS (desktop) • macos • darwin-x64 • macOS 13.5.2 22G91 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.216

[✓] Network resources
• All expected network resources are available.

• No issues found!

circle updates not working

In my map, I have something like this:

  pm.Circle _circle = pm.Circle(
    circleId: pm.CircleId('geoAvailabilityRadius'),
    fillColor: Colors.blue.withOpacity(0.3),
    center: pm.LatLng(35, -80),
    radius: 1000,
    strokeColor: Colors.blue,
    strokeWidth: 2,
  );
  Widget _map() {
    return pm.PlatformMap(
      initialCameraPosition: pm.CameraPosition(
        target: pm.LatLng(35, -80),
        zoom: 14.0,
      ),
      myLocationEnabled: true,
      myLocationButtonEnabled: true,
      zoomControlsEnabled: true,
      onMapCreated: (pm.PlatformMapController controller) {
        _mapController = controller;
      },
      onCameraMove: (pm.CameraPosition cameraPosition) {
        setState(() {
          _circle = _circle.copyWith(
            centerParam: LatLng(cameraPosition.target.latitude, cameraPosition.target.longitude),
          );
        });
      },
      circles: <pm.Circle>{
        _circle,
      },
    );
  }

This logic is supposed to move the circle when the map moves. The logic works for markers, but it doesn't seem to update the circle. This works on the google version of platform_maps_flutter, but not the apple one.

Am I missing something simple?

Marker rotation and flat.

Is your feature request related to a problem? Please describe.
We can't rotate and make the marker. With google_maps_flutter Marker as two attributes: heading and flat

Describe the solution you'd like
The icon of marker can rotate and if the camera rotate the marker can keep the desire rotation.

Describe alternatives you've considered
For now I'll keep the google_maps_flutter.

Additional context
Nothing to show

Marker only registers one tap

Thanks for the great module!

When I tap a marker once, it registers correctly. However, it does not seem to register any subsequent taps.

Support for MacOS

Is Desktop on the roadmap?

Macos is now on the master channel and it would be awesome to have this option on desktop.

Also you could consider switching to a federated plugin system where others could add the support for the platforms you do not want to do.

Thanks for the awesome plugin!

Tapping marker also takes tap on map

Hello,

I have added a feature to add pins on tap of map. Pin also displays info window when tap is performed on pin. When I tap on pin to open info window, map also adds new pin because map takes tap event. I could not find anything to fix it and looks like a defect.

Odd movement of the Apple logo

Describe the bug
When scrolling MapView in ScrollView to the bottom edge, the Apple logo and legal label move oddly.

To Reproduce
Steps to reproduce the behavior:

  1. Set the bottom of SafeArea to false in example's scrolling_map.dart.
  2. Run and go to 'Scrolling map'
  3. Scroll downwards

Expected behavior
Apple logo and legal label should not move.

Screenshots
map

Smartphone (please complete the following information):

  • Device: [Simulator]
  • Version [iOS 15.5]

flutter doctor

flutter doctor

[✓] Flutter (Channel stable, 3.0.5, on macOS 12.5.1 21G83 darwin-arm, locale ja-JP)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.70.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

ScrollBy functionality

Hi,
Is it possible to add scrollBy(x,y) functionality to the map's controller moveCamera, animateCamera methods?

Same like google_maps_flutter has.

Thanks

2nd Marker Tap Issue

When you tap on a marker then tap on another marker the map will freeze. Not sure what is causing it but i can reproduce it every time

Build ios-framework fails, swift version attribute required

build ios-framework fails with the error:

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

- `apple_maps_flutter` 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.

/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/xcode/target_validator.rb:125:in `verify_swift_pods_swift_version'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/xcode/target_validator.rb:39:in `validate!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:590:in `validate_targets'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:158:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

"

Marker properties not present

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Add ability to filter Points of Interest

Describe the solution you'd like
MapKit allows you to filter Points of Interest, eg. restaurants, airports etc. It would be nice to expose this functionality in the API.

Describe alternatives you've considered
Google Maps allows you to set a map style which allows reducing the number of points of interest.

Additional context
See the official MapKit docs about Points of Interest Filtering:
https://developer.apple.com/documentation/mapkit/mkpointofinterestfilter

Crash on iOS 15

Describe the bug
I'm getting the following error when launching an app on iOS 15:

dyld[56231]: Symbol not found: _$sSo8NSNumberC10FoundationE14integerLiteralABSi_tcfC
  Referenced from: /Users/john/Library/Developer/CoreSimulator/Devices/14FEDD04-2C5F-4F3F-88F4-4BFE3F0381A9/data/Containers/Bundle/Application/997DEBE5-8431-44EE-B7CD-2E0431DCDDBF/Runner.app/Frameworks/apple_maps_flutter.framework/apple_maps_flutter
  Expected in: /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 15.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation

It's causing the app to crash at load. iOS 15 is the most recent iOS version iPhone 7 users can upgrade to.

Getting same behavior with versions 1.0.1, 1.2.0 and 1.3.0

support for apple indoor maps (IMDF)?

Hi, I've been learning about mapkit indoor map feature. Was wondering if this is possible in flutter using this package? If not, any plans for it? Thanks!

`apple_maps_flutter` does not specify a Swift version and none of the targets (`Runner`) integrating it have the `SWIFT_VERSION` attribute set.

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

  • apple_maps_flutter 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.

[!] Automatically assigning platform iOS with version 10.0 on target Runner because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.

Presence of android/ directory breaks Android builds on Flutter 2.10

Describe the bug
See flutter/flutter#97729

To Reproduce
Steps to reproduce the behavior:

  1. Make a new Flutter application project with 2.10
  2. Add apple_maps_flutter to it
  3. Try to build the app for Android

Expected behavior
Successful build.

While this is a bug in Flutter, and will be fixed there, you can fix this in the plugin simply by removing the unused android/ folder; see flutter/flutter#97729 (comment).

You should set its minimum Flutter version to 1.17 as part of that change.

Please add getLatLng method like google_maps_flutter

Hello :)
First off thanks for using your time to build this package!! I really appreciate it.

Is your feature request related to a problem? Please describe.
I'm working on a project that has a requirement to allow users to draw an area on a map.
By following this example I was able to get it to work with the google maps package. What makes this possible is the getLatLng function of the controller. It takes screen coordinate and turns them into lat/long, but the apple_maps_flutter package does not.

Describe the solution you'd like
It'd be great if the apple_maps_flutter package had the same getLatLng function so I could allow users to draw on the map.

MapKit features like SearchResults and PlaceDetails

Love the package.
so I was looking around and found out that MapKit has a lot more potential than whats currently being placed.
There's an API out there awaiting to be used for SearchResults and PlaceDetails from apple;

I was wondering if it's even possible to start integrating something like this
https://developer.apple.com/documentation/applemapsserverapi/common_objects
https://developer.apple.com/documentation/applemapsserverapi/searchresponse
https://developer.apple.com/documentation/applemapsserverapi/placeresults

mapController.moveCamera should not be animated

Describe the bug
mapController.moveCamera should move the map without animating the transition to match the API of google_maps_flutter.

If an animated transition is required, mapController.animateCamera should be used instead.


From the GoogleMap API documentation:

GoogleMap API - moveCamera
public final void moveCamera (CameraUpdate update)

Repositions the camera according to the instructions defined in the update. The move is instantaneous, and a subsequent getCameraPosition() will reflect the new position. See CameraUpdateFactory for a set of updates.

GoogleMap API - animateCamera
public final void animateCamera (CameraUpdate update)

Animates the movement of the camera from the current position to the position defined in the update. During the animation, a call to getCameraPosition() returns an intermediate location of the camera.


To Reproduce
Steps to reproduce the behavior:

  1. In the example project, open Camera control
  2. Tap on any of the buttons
  3. Observe the map camera animating to the new position

Expected behavior
The map should instantly transition to the new position, rather than animating the transition.

Screenshots
Not applicable.

Smartphone (please complete the following information):

  • Device: iPhone XS
  • Version iOS 15.0.2

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-arm, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] Connected device (3 available)
    ! Error: iPhone is busy: Making the device ready for development. Xcode will continue when iPhone is finished. (code -10)

• No issues found!

Root Cause
Lines 232 and 235 of apple_maps_flutter/ios/Classes/MapView/AppleMapController.swift show animated: true

https://github.com/LuisThein/apple_maps_flutter/blob/d302d013d38315ac0e2b9742220df1fe6eeb17bf/ios/Classes/MapView/AppleMapController.swift#L228-L237

Concerns
While fixing this bug will make the API match what is expected from the Google Maps API (and google_maps_flutter), it is a breaking change for any users that have come to expect mapController.moveCamera to animate.

While users can update their code to use mapController.animateCamera if they want the camera to animate, it should be very clear to anyone updating that this update will change existing behavior.

Pull Request
I'll submit a pull request changing mapController.moveCamera to no longer animate, if this sounds good to you.

Given that this change breaks previous behavior, do you think it would warrant a major version bump?

Not able to see where the user is looking.

Basically you know how we have in apple maps that light blue ray that shows up with user's location dot. I need to know if there's a way to enable that right now. Or is it something that is currently not available in the current latest version.
I have marked it with red in the below image.

2abfab32-eceb-4c14-b661-57022172f5e0

Map Freeze after doing pinch and scroll when something is open above map into the stack.

After loading the pins on the map if the user clicks on the pin we display the bottom sheet of pin information and if the user pinchs and closes the bottom sheet and again if the user scrolls into the map then the map freezes. We have to reload the map again to work properly.

Expected behavior
A map should run smooth scrolling.

Smartphone (please complete the following information):

  • IOS > 16

  • Flutter version 3.19.5

Multiple Maps not working?

Describe the bug
When trying to use multiple maps on one screen, they seem to be somehow connected.

To Reproduce
Steps to reproduce the behavior:

  1. Use multiple maps on one screen

Expected behavior
The maps should not be connected

Screenshots
Screenshot 2023-06-10 at 12 55 10

In this screen, each element should have a custom zoom level (which is set via initialCameraPosition) and they all also should be rounded.

Smartphone (please complete the following information):

  • Device: iPhone 14 Pro (Simulator)

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.1, on macOS 13.3.1 22E261 darwin-arm64, locale en-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.71.0)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

Map takes tap event when tap is performed on marker

Hello,

I have added a feature to add pins on tap of map. Pin also displays info window when tap is performed on pin. When I tap on pin to open info window, map also adds new pin because map takes tap event. I could not find anything to fix it and looks like a defect.

Memory leak while using in list view

Hi,

Thanks for making this plugin, it works great as a drop in replacement for google maps and apple maps are more performant on my old test iPhone.

I had a memory leak while displaying a bunch of maps in a list view. While scrolling, memory keeps growing until iOS kills it at 1.3GB+. Looks like old map widgets are never disposed.

Turns out this change applied to apple_maps_flutter fixes the issue:
Unact/yandex_mapkit@5ba2585#diff-81b47307a81ee1170b367b6920b91830c3371d0012f8a54a737c8e7bf828d08bR30-R34

I have a fix in my repo but I don't know enough Swift to do it properly :D

How to set map style ?

Thanks for the package.
On google map we can set a map style through controller like this :

onMapCreated: (GoogleMapController controller) {
        _googleController = controller;
        _googleController.setMapStyle(_mapStyle);
      },

Where map style is a decoded Json.

How can we set a new map style with this package ?

Apple map crashed on iOS 17

Describe the bug
The apple map crashed

To Reproduce
I have no idea how to reproduce it since it happens to one of my client in release mode

Expected behavior
The app should not crash

Smartphone (please complete the following information):

  • Device: iPhone 12
  • Version: iOS 17

flutter doctor
Please add the flutter doctor output.

Logs

Here is the trace :


Crashlytics - Stack trace
Application: com.myapp.ios
Platform: apple
Version: 2.3.0 (23)
Issue: c1f6d36aeb7c105a32015504776adff5
Session: 623ab27bb0754a9c92ebab58cd7de75f_DNE_8_v2
Date: Sat Sep 23 2023 07:41:06 GMT+0200 (UTC+02:00)

Crashed: com.apple.main-thread
0  libsystem_kernel.dylib         0xa01c __pthread_kill + 8
1  libsystem_pthread.dylib        0x5680 pthread_kill + 268
2  libsystem_c.dylib              0x75bb0 abort + 180
3  libswiftCore.dylib             0x3a24d8 swift::fatalError(unsigned int, char const*, ...) + 126
4  libswiftCore.dylib             0x3a24f8 swift::warningv(unsigned int, char const*, char*) + 30
5  libswiftCore.dylib             0x3a26b4 swift::swift_abortRetainUnowned(void const*) + 32
6  libswiftCore.dylib             0x3ff018 swift_unknownObjectUnownedTakeStrong + 74
7  apple_maps_flutter             0xa964 $s18apple_maps_flutter18AppleMapControllerC21setMethodCallHandlers33_1889BD240467D01F3C1A3D3FB73D4A95LLyyFySo07FlutterhI0C_yypSgctcfU_ + 3588
8  apple_maps_flutter             0xb050 $sSo17FlutterMethodCallCypSgIegn_Ieggg_AByXlSgIeyBy_IeyByy_TR + 108
9  Flutter                        0x5d6050 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
10 Flutter                        0x435a4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
11 libdispatch.dylib              0x26a8 _dispatch_call_block_and_release + 32
12 libdispatch.dylib              0x4300 _dispatch_client_callout + 20
13 libdispatch.dylib              0x12998 _dispatch_main_queue_drain + 984
14 libdispatch.dylib              0x125b0 _dispatch_main_queue_callback_4CF + 44
15 CoreFoundation                 0x379bc __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
16 CoreFoundation                 0x346c8 __CFRunLoopRun + 1996
17 CoreFoundation                 0x33e18 CFRunLoopRunSpecific + 608
18 GraphicsServices               0x35ec GSEventRunModal + 164
19 UIKitCore                      0x22f350 -[UIApplication _run] + 888
20 UIKitCore                      0x22e98c UIApplicationMain + 340
21 Runner                         0x8ca4 main + 5 (AppDelegate.swift:5)
22 ???                            0x1abccfd44 (Missing)

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x11d8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf70 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe88 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xcc8 mach_msg + 24
4  CoreFoundation                 0x364bc __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x343b4 __CFRunLoopRun + 1208
6  CoreFoundation                 0x33e18 CFRunLoopRunSpecific + 608
7  Foundation                     0x2d4cc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0x5c234 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9  UIKitCore                      0x19120c -[UIEventFetcher threadMain] + 420
10 Foundation                     0xb3154 __NSThread__start__ + 732
11 libsystem_pthread.dylib        0x24d4 _pthread_start + 136
12 libsystem_pthread.dylib        0x1a10 thread_start + 8

io.flutter.1.ui
0  libsystem_kernel.dylib         0x11d8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf70 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe88 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xcc8 mach_msg + 24
4  CoreFoundation                 0x364bc __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x343b4 __CFRunLoopRun + 1208
6  CoreFoundation                 0x33e18 CFRunLoopRunSpecific + 608
7  Flutter                        0x2e1d78 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
8  Flutter                        0x2e13ec (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
9  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
10 libsystem_pthread.dylib        0x1a10 thread_start + 8

io.flutter.1.raster
0  libsystem_kernel.dylib         0x11d8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf70 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe88 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xcc8 mach_msg + 24
4  CoreFoundation                 0x364bc __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x343b4 __CFRunLoopRun + 1208
6  CoreFoundation                 0x33e18 CFRunLoopRunSpecific + 608
7  Flutter                        0x2e1d78 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
8  Flutter                        0x2e13ec (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
9  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
10 libsystem_pthread.dylib        0x1a10 thread_start + 8

io.flutter.1.io
0  libsystem_kernel.dylib         0x11d8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf70 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe88 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xcc8 mach_msg + 24
4  CoreFoundation                 0x364bc __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x343b4 __CFRunLoopRun + 1208
6  CoreFoundation                 0x33e18 CFRunLoopRunSpecific + 608
7  Flutter                        0x2e1d78 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
8  Flutter                        0x2e13ec (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
9  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
10 libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.1
0  libsystem_kernel.dylib         0x1b7c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.2
0  libsystem_kernel.dylib         0x1b7c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.3
0  libsystem_kernel.dylib         0x1b7c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.4
0  libsystem_kernel.dylib         0x1b7c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.5
0  libsystem_kernel.dylib         0x1b7c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.6
0  libsystem_kernel.dylib         0x1b7c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

dart:io EventHandler
0  libsystem_kernel.dylib         0xef6c kevent + 8
1  Flutter                        0x597760 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
2  Flutter                        0x5c56bc (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
4  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.1
0  libsystem_kernel.dylib         0x1b7c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.2
0  libsystem_kernel.dylib         0x1b7c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.3
0  libsystem_kernel.dylib         0x1b7c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.4
0  libsystem_kernel.dylib         0x1b7c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 _pthread_cond_wait + 1228
2  Flutter                        0x557b4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x2db0e4 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

com.google.firebase.crashlytics.MachExceptionServer
0  libsystem_kernel.dylib         0x11d8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf70 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe88 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xcc8 mach_msg + 24
4  FirebaseCrashlytics            0x1af94 FIRCLSMachExceptionServer + 104
5  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
6  libsystem_pthread.dylib        0x1a10 thread_start + 8

com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0x11d8 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf70 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe88 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xcc8 mach_msg + 24
4  CoreFoundation                 0x364bc __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x343b4 __CFRunLoopRun + 1208
6  CoreFoundation                 0x33e18 CFRunLoopRunSpecific + 608
7  CFNetwork                      0x258798 _CFURLStorageSessionCopyIdentifier + 69132
8  Foundation                     0xb3154 __NSThread__start__ + 732
9  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
10 libsystem_pthread.dylib        0x1a10 thread_start + 8

Thread
0  libsystem_pthread.dylib        0x19fc start_wqthread + 438

Thread
0  libsystem_kernel.dylib         0x9730 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x9730 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x9730 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x9730 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

DartWorker
0  libsystem_kernel.dylib         0x1b7c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1000 _pthread_cond_wait + 1272
2  Flutter                        0x689f80 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x6c3df0 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  Flutter                        0x68994c (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
5  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
6  libsystem_pthread.dylib        0x1a10 thread_start + 8

DartWorker
0  libsystem_kernel.dylib         0x1b7c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1000 _pthread_cond_wait + 1272
2  Flutter                        0x689f80 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x6c3df0 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  Flutter                        0x68994c (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
5  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
6  libsystem_pthread.dylib        0x1a10 thread_start + 8

DartWorker
0  libsystem_kernel.dylib         0x1b7c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1000 _pthread_cond_wait + 1272
2  Flutter                        0x689f80 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x6c3df0 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  Flutter                        0x68994c (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
5  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
6  libsystem_pthread.dylib        0x1a10 thread_start + 8

DartWorker
0  libsystem_kernel.dylib         0x1b7c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1000 _pthread_cond_wait + 1272
2  Flutter                        0x689f80 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
3  Flutter                        0x6c3df0 (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
4  Flutter                        0x68994c (Missing UUID 4c4c449c55553144a1909abb36b88cdf)
5  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
6  libsystem_pthread.dylib        0x1a10 thread_start + 8

Thread
0  libsystem_pthread.dylib        0x19fc start_wqthread + 438

Thread
0  libsystem_kernel.dylib         0x9730 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x9730 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Thread
0  libsystem_pthread.dylib        0x19fc start_wqthread + 438

Thread
0  libsystem_pthread.dylib        0x19fc start_wqthread + 438

Thread
0  libsystem_pthread.dylib        0x19fc start_wqthread + 438

Thread
0  libsystem_kernel.dylib         0x9730 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

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.