Skip to content

Commit

Permalink
Bump SDK version to 2.4.0-rc.1 (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
evil159 authored Oct 31, 2024
1 parent 4f661d7 commit 8eebddb
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 12 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### main
### 2.4.0-rc.1

* Updated the minimum required Flutter SDK to version 3.22.3 and Dart to version 3.4.4. With the fix for Virtual Display hosting mode on Android in Flutter 3.22, we’ve changed the default map view hosting mode to Virtual Display composition. This update should eliminate the brief visibility of the map after it has been dismissed.
* Introduce experimental property `MapboxMap.styleGlyphURL`. Use this property to apply custom fonts to the map at runtime, without modifying the base style.
* Update Maps SDK to 11.8.0-rc.1.

# 2.4.0-beta.1
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Mapbox Maps SDK Flutter SDK

The Mapbox Maps SDK Flutter SDK is an officially developed solution from Mapbox that enables use of our latest Maps SDK product (v11.8.0-beta.1). The SDK allows developers to embed highly-customized maps using a Flutter widget on Android and iOS.
The Mapbox Maps SDK Flutter SDK is an officially developed solution from Mapbox that enables use of our latest Maps SDK product (v11.8.0-rc.1). The SDK allows developers to embed highly-customized maps using a Flutter widget on Android and iOS.

Web and desktop are not supported.

Expand Down Expand Up @@ -48,12 +48,12 @@ The Maps Flutter SDK is compatible with applications:

- Deployed on iOS 12 or higher
- Built using the Android SDK 21 or higher
- Built using the Dart SDK 3.0.0 or higher
- Built using the Flutter SDK 3.22.3/Dart SDK 3.4.4 or higher

## Installation

### Configure credentials
To run the Maps Flutter SDK you will need to configure the Mapbox Access Tokens.
To run the Maps Flutter SDK you will need to configure the Mapbox Access Token.
Read more about access tokens in the platform [Android](https://docs.mapbox.com/android/maps/guides/install/#configure-credentials) or [iOS](https://docs.mapbox.com/ios/maps/guides/install/#step-4-configure-your-public-token) docs.

#### Access token
Expand All @@ -62,7 +62,7 @@ You can set the access token for Mapbox Maps Flutter SDK(as well as for every Ma
MapboxOptions.setAccessToken(ACCESS_TOKEN);
```

It's a good practice to retrieve access tokens from some external source.
It's a good practice to retrieve the access token from some external source.

You can pass access token via the command line arguments when either building :

Expand Down Expand Up @@ -98,7 +98,7 @@ To use the Maps Flutter SDK add the git dependency to the pubspec.yaml:

```
dependencies:
mapbox_maps_flutter: ^2.4.0-beta.1
mapbox_maps_flutter: ^2.4.0-rc.1
```

### Configure permissions
Expand Down
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PODS:
- Flutter (1.0.0)
- integration_test (0.0.1):
- Flutter
- mapbox_maps_flutter (2.4.0-beta.1):
- mapbox_maps_flutter (2.4.0-rc.1):
- Flutter
- MapboxMaps (~> 11.8.0-rc.1)
- Turf (= 3.0.0)
Expand Down Expand Up @@ -49,7 +49,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
mapbox_maps_flutter: 947bb03d19af9a6f66cc3c0ed41c66c59b457672
mapbox_maps_flutter: 1c340c60961f24932b7ce9a160e06f0a3d765317
MapboxCommon: 5dde392fb632f1db082c7d0d3edbf0ef771076f0
MapboxCoreMaps: 4334be5542f95c44b1d4b7176faab197ae777b29
MapboxMaps: f993b950655e77eaaa1b6b23a306d89d4d0a52b3
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.4.0-beta.1"
version: "2.4.0-rc.1"
matcher:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion ios/mapbox_maps_flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'mapbox_maps_flutter'
s.version = '2.4.0-beta.1'
s.version = '2.4.0-rc.1'

s.summary = 'Mapbox Maps SDK Flutter Plugin.'
s.description = 'An officially developed solution from Mapbox that enables use of our latest Maps SDK product.'
Expand Down
2 changes: 1 addition & 1 deletion lib/src/map_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class _MapWidgetState extends State<MapWidget> {
'textureView': widget.textureView,
'styleUri': widget.styleUri,
'channelSuffix': _mapboxMapsPlatform.channelSuffix,
'mapboxPluginVersion': '2.4.0-beta.1',
'mapboxPluginVersion': '2.4.0-rc.1',
'eventTypes': _events.eventTypes.map((e) => e.index).toList(),
};

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mapbox_maps_flutter
description: Interactive, thoroughly customizable maps powered by Mapbox Maps mobile SDKs.
version: 2.4.0-beta.1
version: 2.4.0-rc.1
homepage: https://github.com/mapbox/mapbox-maps-flutter

environment:
Expand Down

0 comments on commit 8eebddb

Please sign in to comment.