Skip to content

Commit d76a944

Browse files
authored
Merge branch 'main' into support-vector
2 parents b81e4dd + 022bbe0 commit d76a944

File tree

5 files changed

+402
-382
lines changed

5 files changed

+402
-382
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,18 @@ Many thanks to my sponsors, no matter how much or how little they donated. Spons
1818

1919
# Changelog
2020

21-
## [11.0.0-dev.1] - 2025/03/09
21+
## [11.0.0-dev.2] - 2025/03/09
2222

2323
* Change `FMTCTileProvider.provideTile` arguments
2424
Require a tile's URL & optional coordinates; instead of required coordinates and required `TileLayer`
2525
* Fixed overly-aggressive Flutter-side tile image caching which prevented changes to `TileLayer.urlTemplate` from updating the displayed tiles
2626

27+
## [10.1.1] - 2025/03/09
28+
29+
* Fixed bug where import operation fatally crashed on some iOS devices
30+
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.
31+
* Improved performance of import operation
32+
2733
## [10.1.0] - 2025/02/02
2834

2935
* Added support for flutter_map v8

example/lib/src/screens/import/stages/progress.dart

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,9 @@ class _ImportProgressStageState extends State<ImportProgressStage> {
6262
style: Theme.of(context).textTheme.titleLarge,
6363
textAlign: TextAlign.center,
6464
),
65-
const SizedBox(height: 16),
65+
const SizedBox(height: 8),
6666
const Text(
67-
'This could take a while.\n'
68-
"We don't recommend leaving this screen. The import will "
69-
'continue, but performance could be affected.\n'
70-
'Closing the app will stop the import operation in an '
71-
'indeterminate (but stable) state.',
67+
"This could take a while. Don't leave this screen.",
7268
textAlign: TextAlign.center,
7369
),
7470
],

lib/src/backend/impls/objectbox/backend/backend.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ import 'dart:isolate';
99
import 'dart:math';
1010

1111
import 'package:collection/collection.dart';
12-
import 'package:flutter/material.dart';
12+
import 'package:flutter/foundation.dart';
1313
import 'package:flutter/services.dart';
14-
import 'package:meta/meta.dart';
1514
import 'package:path/path.dart' as path;
1615
import 'package:path_provider/path_provider.dart';
1716

0 commit comments

Comments
 (0)