react-native-steerpath-smart-map 1.27.0 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/android/build.gradle +19 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,14 @@ This package is built on top of Steerpath's Smart SDK, and most of releases are
|
|
|
15
15
|
- [iOS](https://s3-eu-west-1.amazonaws.com/steerpath/ios/releases/smart-sdk-changelog/index.html)
|
|
16
16
|
- [Web](https://s3-eu-west-1.amazonaws.com/steerpath-web-sdk/documentation/smart/latest/index.html)
|
|
17
17
|
|
|
18
|
+
## [1.29.0] - 2024-07-29
|
|
19
|
+
|
|
20
|
+
- Bump Android Smart SDK version to android-smart-1.23.0. This SDK version includes new foreground service type and permission to support Android 14.
|
|
21
|
+
|
|
22
|
+
## [1.28.0] - 2024-07-23
|
|
23
|
+
|
|
24
|
+
- Set namespace to project level build.gradle file to support Gradle Plugin 8
|
|
25
|
+
|
|
18
26
|
## [1.27.0] - 2024-03-26
|
|
19
27
|
|
|
20
28
|
- **BREAKING** Added accuracyM value to onLocationChanged callback
|
package/android/build.gradle
CHANGED
|
@@ -21,10 +21,28 @@ def DEFAULT_BUILD_TOOLS_VERSION = "30.0.3"
|
|
|
21
21
|
def DEFAULT_MIN_SDK_VERSION = 21
|
|
22
22
|
def DEFAULT_TARGET_SDK_VERSION = 30
|
|
23
23
|
|
|
24
|
+
def supportsNamespace() {
|
|
25
|
+
def parsed = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')
|
|
26
|
+
def major = parsed[0].toInteger()
|
|
27
|
+
def minor = parsed[1].toInteger()
|
|
28
|
+
|
|
29
|
+
// Namespace support was added in 7.3.0
|
|
30
|
+
if (major == 7 && minor >= 3) {
|
|
31
|
+
return true
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return major >= 8
|
|
35
|
+
}
|
|
36
|
+
|
|
24
37
|
android {
|
|
25
38
|
compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
|
|
26
39
|
buildToolsVersion safeExtGet('buildToolsVersion', DEFAULT_BUILD_TOOLS_VERSION)
|
|
27
40
|
|
|
41
|
+
if (supportsNamespace()) {
|
|
42
|
+
namespace "com.steerpath.rnsmartmap"
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
28
46
|
defaultConfig {
|
|
29
47
|
minSdkVersion safeExtGet('minSdkVersion', DEFAULT_MIN_SDK_VERSION)
|
|
30
48
|
targetSdkVersion safeExtGet('targetSdkVersion', DEFAULT_TARGET_SDK_VERSION)
|
|
@@ -53,7 +71,7 @@ repositories {
|
|
|
53
71
|
|
|
54
72
|
dependencies {
|
|
55
73
|
implementation "com.facebook.react:react-native:${safeExtGet('reactnativeVersion', '+')}"
|
|
56
|
-
implementation "com.steerpath:smart:android-smart-1.
|
|
74
|
+
implementation "com.steerpath:smart:android-smart-1.23.0"
|
|
57
75
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
58
76
|
implementation "androidx.lifecycle:lifecycle-viewmodel:2.2.0"
|
|
59
77
|
}
|
package/package.json
CHANGED