Package
vector_map_tiles_pmtiles
Bug Description
This issue is about the package: vector_map_tiles_pmtiles
When building a FlutterFlow project locally for iOS, the build fails due to an incompatibility between protobuf 6.0.0 and the current vector tile dependency chain.
The error originates from vector_tile (2.0.1), which is not compatible with protobuf 6.x and still uses deprecated PbList constructors.
Since vector_map_tiles_pmtiles depends on this chain, it currently blocks using PMTiles in environments where protobuf 6.x is enforced.
Additional context:
- FlutterFlow enforces protobuf 6.0.0
- vector_tile 2.0.1 is not compatible with protobuf 6.x
- Newer versions of vector_tile and vector_tile_renderer already exist
Would it be possible to update vector_map_tiles_pmtiles to support the newer dependency chain?
Happy to help test a fix if needed.
Steps to Reproduce
-
Create a FlutterFlow project using:
- flutter_map
- vector_map_tiles
- vector_map_tiles_pmtiles
-
Build the project locally for iOS using FlutterFlow
-
Ensure protobuf 6.0.0 is used (FlutterFlow enforces this)
-
Build fails with protobuf-related errors in vector_tile.pb.dart
Expected Results
The project should build successfully with protobuf 6.0.0.
vector_map_tiles_pmtiles should be compatible with the latest vector_map_tiles / vector_tile_renderer / vector_tile dependency chain.
Actual Results
Build fails with the following error:
Error: Couldn't find constructor 'PbList'
This occurs in vector_tile.pb.dart and is caused by vector_tile 2.0.1 being incompatible with protobuf 6.0.0.
Code Sample
FlutterMap(
children: [
VectorTileLayer(
tileProviders: TileProviders({
'protomaps': PmTilesVectorTileProvider(
url: 'https://your-domain/tiles.pmtiles',
),
}),
),
],
)
Platforms
iOS
Package
vector_map_tiles_pmtiles
Bug Description
This issue is about the package: vector_map_tiles_pmtiles
When building a FlutterFlow project locally for iOS, the build fails due to an incompatibility between protobuf 6.0.0 and the current vector tile dependency chain.
The error originates from vector_tile (2.0.1), which is not compatible with protobuf 6.x and still uses deprecated PbList constructors.
Since vector_map_tiles_pmtiles depends on this chain, it currently blocks using PMTiles in environments where protobuf 6.x is enforced.
Additional context:
Would it be possible to update vector_map_tiles_pmtiles to support the newer dependency chain?
Happy to help test a fix if needed.
Steps to Reproduce
Create a FlutterFlow project using:
Build the project locally for iOS using FlutterFlow
Ensure protobuf 6.0.0 is used (FlutterFlow enforces this)
Build fails with protobuf-related errors in vector_tile.pb.dart
Expected Results
The project should build successfully with protobuf 6.0.0.
vector_map_tiles_pmtiles should be compatible with the latest vector_map_tiles / vector_tile_renderer / vector_tile dependency chain.
Actual Results
Build fails with the following error:
Error: Couldn't find constructor 'PbList'
This occurs in vector_tile.pb.dart and is caused by vector_tile 2.0.1 being incompatible with protobuf 6.0.0.
Code Sample
Platforms
iOS