Skip to content

Commit 902d0c8

Browse files
authored
Prepare v0.6.0 release (#510)
* bump deps version to v10.17.0 (iOS & Android) * bump Maps Flutter to v0.6.0 * Fix StyleColor -> Int conversion
1 parent 3f5f734 commit 902d0c8

File tree

9 files changed

+43
-30
lines changed

9 files changed

+43
-30
lines changed

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
### 0.5.1
1+
## 0.6.0
2+
3+
> [!NOTE]
4+
> This release contains fixes to the Privacy Manifest on iOS. Upgrade to avoid issues in the App Store app submission starting from May 1st.
5+
6+
### Android
7+
* Fix map being pixelated on some devices when ContextMode.SHARED is used (e.g. in AndroidAuto extension).
8+
* Fix incorrect widget position and scale when resizing the drawing surface.
9+
* Fix a crash in MapView.snapshot happening on specific devices.
10+
11+
### iOS
12+
* Fix the issue with invalid privacy manifest
13+
14+
## 0.5.1
215
### Android
316

417
* Fix registry token lookup failing with an unrelated error in certain circumstances.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Mapbox Maps SDK Flutter Plugin
22

3-
The Mapbox Maps SDK Flutter Plugin is an officially developed solution from Mapbox that enables use of our latest Maps SDK product (v10.13.0). It is currently in beta, but can be used in production. The plugin allows developers to embed highly customized maps using a Flutter widget on Android and iOS.
3+
The Mapbox Maps SDK Flutter Plugin is an officially developed solution from Mapbox that enables use of our latest Maps SDK product (v10.17.0). It is currently in beta, but can be used in production. The plugin allows developers to embed highly customized maps using a Flutter widget on Android and iOS.
44

55
Web and desktop are not supported.
66

@@ -112,7 +112,7 @@ To use the Maps Flutter Plugin add the git dependency to the pubspec.yaml:
112112

113113
```
114114
dependencies:
115-
mapbox_maps_flutter: ^0.5.1
115+
mapbox_maps_flutter: ^0.6.0
116116
```
117117

118118
### Configure permissions

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ if (file("$rootDir/gradle/ktlint.gradle").exists() && file("$rootDir/gradle/lint
6464

6565
dependencies {
6666
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
67-
implementation ("com.mapbox.maps:android:10.13.0") {
67+
implementation ("com.mapbox.maps:android:10.17.0") {
6868
exclude group: 'com.mapbox.plugin', module: 'maps-lifecycle'
6969
}
7070

example/ios/Podfile.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ PODS:
22
- Flutter (1.0.0)
33
- integration_test (0.0.1):
44
- Flutter
5-
- mapbox_maps_flutter (0.5.0):
5+
- mapbox_maps_flutter (0.6.0):
66
- Flutter
7-
- MapboxMaps (~> 10.13.1)
8-
- MapboxCommon (23.5.0)
9-
- MapboxCoreMaps (10.13.1):
10-
- MapboxCommon (~> 23.5)
11-
- MapboxMaps (10.13.1):
12-
- MapboxCommon (= 23.5.0)
13-
- MapboxCoreMaps (= 10.13.1)
7+
- MapboxMaps (~> 10.17.0)
8+
- MapboxCommon (23.9.2)
9+
- MapboxCoreMaps (10.17.0):
10+
- MapboxCommon (~> 23.9)
11+
- MapboxMaps (10.17.0):
12+
- MapboxCommon (= 23.9.2)
13+
- MapboxCoreMaps (= 10.17.0)
1414
- MapboxMobileEvents (= 1.0.10)
15-
- Turf (~> 2.0)
15+
- Turf (= 2.7.0)
1616
- MapboxMobileEvents (1.0.10)
1717
- permission_handler_apple (9.0.4):
1818
- Flutter
19-
- Turf (2.6.1)
19+
- Turf (2.7.0)
2020

2121
DEPENDENCIES:
2222
- Flutter (from `Flutter`)
@@ -45,14 +45,14 @@ EXTERNAL SOURCES:
4545
SPEC CHECKSUMS:
4646
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
4747
integration_test: 13825b8a9334a850581300559b8839134b124670
48-
mapbox_maps_flutter: bad1576756da36dce455f94bd8a9a3e2afd0ff76
49-
MapboxCommon: fdf7fd31c90b7b607cd9c63e37797f023c01d860
50-
MapboxCoreMaps: 24270c7c6b8cb71819fc2f3c549db9620ee4d019
51-
MapboxMaps: cb76511b98d3b95c74b0771ed105bc69f30ace6b
48+
mapbox_maps_flutter: 1b0f2c21a17107d39e0d3e7d956590af6983bd1b
49+
MapboxCommon: 768660d6fca8193529ecf82eb6f5f9ae7a5acdf9
50+
MapboxCoreMaps: be412ff97b16aa7820922c818115a9a0d8211caa
51+
MapboxMaps: 87ef0003e6db46e45e7a16939f29ae87e38e7ce2
5252
MapboxMobileEvents: de50b3a4de180dd129c326e09cd12c8adaaa46d6
5353
permission_handler_apple: 44366e37eaf29454a1e7b1b7d736c2cceaeb17ce
54-
Turf: 469ce2c3d22e5e8e4818d5a3b254699a5c89efa4
54+
Turf: 13d1a92d969ca0311bbc26e8356cca178ce95da2
5555

5656
PODFILE CHECKSUM: 04c8a50f0eb98e8e64bc4237a0712e89ba6c14b8
5757

58-
COCOAPODS: 1.14.2
58+
COCOAPODS: 1.15.2

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ packages:
144144
path: ".."
145145
relative: true
146146
source: path
147-
version: "0.5.0"
147+
version: "0.6.0"
148148
matcher:
149149
dependency: transitive
150150
description:

ios/Classes/Extensions.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -377,10 +377,10 @@ func toRgb(alpha: Int, red: Int, green: Int, blue: Int) -> Int {
377377
extension StyleColor {
378378
func rgb() -> Int {
379379
return toRgb(
380-
alpha: Int(self.alpha * 255),
381-
red: Int(self.red),
382-
green: Int(self.green),
383-
blue: Int(self.blue)
380+
alpha: Int(alpha.rounded() * 255),
381+
red: Int(self.red.rounded()),
382+
green: Int(self.green.rounded()),
383+
blue: Int(self.blue.rounded())
384384
)
385385
}
386386
}

ios/mapbox_maps_flutter.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'mapbox_maps_flutter'
7-
s.version = '0.5.1'
7+
s.version = '0.6.0'
88

99
s.summary = 'Mapbox Maps SDK Flutter Plugin.'
1010
s.description = 'An officially developed solution from Mapbox that enables use of our latest Maps SDK product.'
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
s.source_files = 'Classes/**/*'
1717
s.dependency 'Flutter'
1818
s.platform = :ios, '11.0'
19-
s.dependency 'MapboxMaps', '~> 10.13.1'
19+
s.dependency 'MapboxMaps', '~> 10.17.0'
2020

2121
# Flutter.framework does not contain a i386 slice.
2222
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }

lib/src/map_widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class _MapWidgetState extends State<MapWidget> {
188188
'textureView': widget.textureView,
189189
'styleUri': widget.styleUri,
190190
'eventTypes': widget._eventTypes,
191-
'mapboxPluginVersion': '0.5.1'
191+
'mapboxPluginVersion': '0.6.0'
192192
};
193193

194194
return _mapboxMapsPlatform.buildView(

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: mapbox_maps_flutter
22
description: A Flutter plugin for integrating Mapbox Maps SDK v10 in Android/iOS application.
3-
version: 0.5.1
3+
version: 0.6.0
44
homepage: https://github.com/mapbox/mapbox-maps-flutter
55

66
environment:
@@ -26,7 +26,7 @@ dev_dependencies:
2626
pigeon:
2727
git:
2828
url: https://github.com/evil159/packages.git
29-
ref: 53718b121f385905a7baa1531f771d24bbb25a1d
29+
ref: cc713e558de9bbfd037620c83b001e10a8af2119
3030
path: packages/pigeon
3131

3232

0 commit comments

Comments
 (0)