Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ Many thanks to my sponsors, no matter how much or how little they donated. Spons

# Changelog

## [10.1.1] - 2025/02/03

* Fixed bug where import operation fatally crashed on some iOS devices
This appears to be an [ObjectBox issue](https://github.com/objectbox/objectbox-dart/issues/654) where streaming the results of a database query caused the crash. Instead, FMTC now uses a custom chunking system to avoid streaming and also avoid loading potentially many tiles into memory.
* Improved performance of import operation

## [10.1.0] - 2025/02/02

* Added support for flutter_map v8
Expand Down
8 changes: 2 additions & 6 deletions example/lib/src/screens/import/stages/progress.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,9 @@ class _ImportProgressStageState extends State<ImportProgressStage> {
style: Theme.of(context).textTheme.titleLarge,
textAlign: TextAlign.center,
),
const SizedBox(height: 16),
const SizedBox(height: 8),
const Text(
'This could take a while.\n'
"We don't recommend leaving this screen. The import will "
'continue, but performance could be affected.\n'
'Closing the app will stop the import operation in an '
'indeterminate (but stable) state.',
"This could take a while. Don't leave this screen.",
textAlign: TextAlign.center,
),
],
Expand Down
26 changes: 12 additions & 14 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,39 +1,37 @@
name: fmtc_demo
description: The demo app for 'flutter_map_tile_caching', showcasing its functionality and use-cases.
publish_to: "none"
version: 10.1.0
version: 10.1.1

environment:
sdk: ">=3.6.0 <4.0.0"
flutter: ">=3.27.0"

dependencies:
async: ^2.12.0
async: ^2.13.0
auto_size_text: ^3.0.0
badges: ^3.1.2
collection: ^1.18.0
file_picker: 8.1.4 # Compatible with 3.27!
collection: ^1.19.1
file_picker: ^9.0.2
flutter:
sdk: flutter
flutter_map:
flutter_map_animations: ^0.8.0
flutter_map: ^8.1.1
flutter_map_animations: ^0.9.0
flutter_map_tile_caching:
flutter_slidable: ^3.1.2
flutter_slidable: ^4.0.0
google_fonts: ^6.2.1
gpx: ^2.3.0
http: ^1.2.2
intl: ^0.19.0
http: ^1.3.0
intl: ^0.20.2
latlong2: ^0.9.1
path: ^1.9.1
path_provider: ^2.1.5
provider: ^6.1.2
share_plus: ^10.1.3
shared_preferences: ^2.3.3
stream_transform: ^2.1.0
share_plus: ^10.1.4
shared_preferences: ^2.5.2
stream_transform: ^2.1.1

dependency_overrides:
flutter_map:
git: https://github.com/fleaflet/flutter_map.git
flutter_map_tile_caching:
path: ../

Expand Down
3 changes: 1 addition & 2 deletions lib/src/backend/impls/objectbox/backend/backend.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ import 'dart:isolate';
import 'dart:math';

import 'package:collection/collection.dart';
import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:meta/meta.dart';
import 'package:path/path.dart' as path;
import 'package:path_provider/path_provider.dart';

Expand Down
Loading