Skip to content

Commit 37ddd1a

Browse files
feat: improve speed alert
1 parent fee3c45 commit 37ddd1a

File tree

6 files changed

+29
-10
lines changed

6 files changed

+29
-10
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.6.1] - 2025-09-12
9+
10+
### Improved
11+
- **Speed Alert Performance**: Optimized speed alert reading and processing
12+
- Enhanced SDK initialization timing to prevent configuration conflicts
13+
- Improved vehicle configuration with proper type mapping (VehicleType.fromValue for Android, VMVehicleType.fromValue for iOS)
14+
- Better error handling for uninitialized SDK states
15+
- Automatic retry mechanism for alert API configuration when SDK becomes available
16+
- **Documentation**: Updated README with step-by-step speed alert configuration guide
17+
- Clear instructions for configuring alert API credentials
18+
- Comprehensive vehicle configuration examples
19+
- Best practices for calling configuration methods in useEffect
20+
821
## [1.6.0] - 2025-09-09
922

1023
### Added

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ dependencies {
113113
implementation 'com.github.vietmap-company:vietmap-services-directions-models:1.0.1'
114114
implementation 'com.github.vietmap-company:vietmap-services-turf-android:1.0.2'
115115
implementation 'com.github.vietmap-company:vietmap-services-android:1.1.2'
116-
implementation 'com.github.vietmap-company:vietmap-tracking-sdk-android:1.0.7'
116+
implementation 'com.github.vietmap-company:vietmap-tracking-sdk-android:1.1.5'
117117
implementation 'com.squareup.picasso:picasso:2.8'
118118
implementation 'com.github.vietmap-company:vietmap-services-geojson-android:1.0.0'
119119
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.2.0'

example/ios/Podfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2068,11 +2068,11 @@ PODS:
20682068
- Yoga
20692069
- SocketRocket (0.7.1)
20702070
- VietMap (2.0.0)
2071-
- vietmap-react-native-navigation (1.6.0):
2071+
- vietmap-react-native-navigation (1.6.1):
20722072
- React-Core
20732073
- VietMapCoreNavigation (= 3.1.0)
20742074
- VietMapNavigation (= 3.1.3)
2075-
- VietmapTrackingSDK (= 1.0.6)
2075+
- VietmapTrackingSDK (= 1.1.5)
20762076
- VietMapCoreNavigation (3.1.0):
20772077
- VietMapDirections.swift (~> 2.0.1)
20782078
- VietMapTurf (~> 1.0.2)
@@ -2086,7 +2086,7 @@ PODS:
20862086
- VietMapPolyline (1.0.6)
20872087
- VietMapSolar (1.0.3)
20882088
- VietMapSpeech (2.0.1)
2089-
- VietmapTrackingSDK (1.0.6)
2089+
- VietmapTrackingSDK (1.1.5)
20902090
- VietMapTurf (1.0.2)
20912091
- Yoga (0.0.0)
20922092

@@ -2403,14 +2403,14 @@ SPEC CHECKSUMS:
24032403
RNGestureHandler: 6f443b059572ab9b5444df158c0de8bda98aec2c
24042404
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
24052405
VietMap: 1fc4a1e27896a19bc8b8a62e2227b1e0116a698d
2406-
vietmap-react-native-navigation: e5a20ae8a435368517d39bb6f18954137b07c2c6
2406+
vietmap-react-native-navigation: 65346eb0fe80707252b4acd3d6fa4def640c6c97
24072407
VietMapCoreNavigation: a5a6e2bed913c321abafca37286647b5b1dc52ed
24082408
VietMapDirections.swift: d622c98e381281b39f7dcac2b0445ee2f6e1690e
24092409
VietMapNavigation: 9b9322418f72d279c85640ef5353d20235cbbdc4
24102410
VietMapPolyline: e599c6d0a0a4b3672957881e2f666ba2141a4e83
24112411
VietMapSolar: ef412e72efb00b700f2223e701cae66b446bf17b
24122412
VietMapSpeech: fe5bd0c2ed2757aa7ac59337d74480e25e5a36ed
2413-
VietmapTrackingSDK: bc894e475d2b9334bccd0c49f2e047d7426a7928
2413+
VietmapTrackingSDK: 00006e41939955712e51a333c409cc6e504ca127
24142414
VietMapTurf: 323ba165ae0aeb0fb6622d427e5341c14f4afada
24152415
Yoga: daa1e4de4b971b977b23bc842aaa3e135324f1f3
24162416

example/ios/example2.xcodeproj/project.pbxproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,10 @@
586586
"-DFOLLY_CFG_NO_COROUTINES=1",
587587
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
588588
);
589-
OTHER_LDFLAGS = "$(inherited) ";
589+
OTHER_LDFLAGS = (
590+
"$(inherited)",
591+
" ",
592+
);
590593
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
591594
SDKROOT = iphoneos;
592595
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
@@ -655,7 +658,10 @@
655658
"-DFOLLY_CFG_NO_COROUTINES=1",
656659
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
657660
);
658-
OTHER_LDFLAGS = "$(inherited) ";
661+
OTHER_LDFLAGS = (
662+
"$(inherited)",
663+
" ",
664+
);
659665
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
660666
SDKROOT = iphoneos;
661667
USE_HERMES = false;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@vietmap/vietmap-react-native-navigation",
33
"title": "VietMap React Native turn by turn Navigation",
4-
"version": "1.6.0",
4+
"version": "1.6.1",
55
"description": "VietMap turn-by-turn navigation for React Native.",
66
"main": "dist/index.js",
77
"types": "dist/index.d.ts",

vietmap-react-native-navigation.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Pod::Spec.new do |s|
4848
s.dependency "React-Core"
4949
s.dependency 'VietMapNavigation', '3.1.3'
5050
s.dependency 'VietMapCoreNavigation', '3.1.0'
51-
s.dependency 'VietmapTrackingSDK', '1.0.5'
51+
s.dependency 'VietmapTrackingSDK', '1.1.5'
5252
s.platform = :ios, '12.0'
5353
s.swift_version = '5.0'
5454
end

0 commit comments

Comments
 (0)