Skip to content

[BUG] Flutter_Map_Cash Crashes on Android with Impeller enabled #73

@rlueders

Description

@rlueders

Package

flutter_map_cache

Bug Description

The app will lockup and typically crash to the home screen after panning around and zooming in and out for a bit. The problem goes away if Impeller is disabled, or if using the Flutter_Map example direclty without the Flutter_Map_Cash plugin. I am not able to recreate the problem on an emulator, but it does happen consistently on my physical pixel 7.

Steps to Reproduce

  1. Build the example from this repo app with Impeller enabled on Flutter 3.27.1.
  2. Install and open the example app on an android device (have yet to test on IOS).
  3. Select the flutter_map_cache from the app's main screen.
  4. Select the Drift or Hive CacheStore type options (I have not tested other, and so they may have the same problem)
  5. Pan/zoom around for a bit. Typically within the first 30 seconds of panning/zooming, the app will hang for a few seconds then crash to the device home screen.

Expected Results

Continued panning/zooming with no crashing.

Actual Results

Crashing.

Code Sample

use the example app from this repo

Platforms

android

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions