react-native-steerpath-smart-map 1.15.4 → 1.16.1
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 +12 -0
- package/android/build.gradle +4 -82
- package/dist/SmartMapViewProps.d.ts +4 -4
- package/package.json +2 -2
- package/src/SmartMapViewProps.ts +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,18 @@ 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.16.1] - 2022-06-08
|
|
19
|
+
|
|
20
|
+
- Fixed typoes in localized description properties in SmartMapObjectProperties interface. These props are optional.
|
|
21
|
+
|
|
22
|
+
# [1.16.0] - 2022-06-01
|
|
23
|
+
|
|
24
|
+
- Update build.gradle to make the library compatible with apps using gradle version 7+
|
|
25
|
+
- Update example app's react native version to 0.68.1
|
|
26
|
+
|
|
27
|
+
# [1.15.5] - 2022-05-11
|
|
28
|
+
- Bump Web Smart SDK to 2.1.2
|
|
29
|
+
|
|
18
30
|
# [1.15.4] - 2022-05-11
|
|
19
31
|
|
|
20
32
|
- Bump Android Smart SDK to android-smart-1.14.4
|
package/android/build.gradle
CHANGED
|
@@ -9,21 +9,17 @@ buildscript {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
dependencies {
|
|
12
|
-
// Matches recent template from React Native (0.60)
|
|
13
|
-
// https://github.com/facebook/react-native/blob/0.60-stable/template/android/build.gradle#L16
|
|
14
12
|
classpath("com.android.tools.build:gradle:${safeExtGet('gradlePluginVersion', '4.0.2')}")
|
|
15
13
|
}
|
|
16
14
|
}
|
|
17
15
|
|
|
18
16
|
apply plugin: 'com.android.library'
|
|
19
|
-
apply plugin: 'maven'
|
|
17
|
+
apply plugin: 'maven-publish'
|
|
20
18
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
def DEFAULT_COMPILE_SDK_VERSION = 28
|
|
24
|
-
def DEFAULT_BUILD_TOOLS_VERSION = "28.0.3"
|
|
19
|
+
def DEFAULT_COMPILE_SDK_VERSION = 30
|
|
20
|
+
def DEFAULT_BUILD_TOOLS_VERSION = "30.0.3"
|
|
25
21
|
def DEFAULT_MIN_SDK_VERSION = 21
|
|
26
|
-
def DEFAULT_TARGET_SDK_VERSION =
|
|
22
|
+
def DEFAULT_TARGET_SDK_VERSION = 30
|
|
27
23
|
|
|
28
24
|
android {
|
|
29
25
|
compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
|
|
@@ -47,9 +43,6 @@ android {
|
|
|
47
43
|
|
|
48
44
|
repositories {
|
|
49
45
|
maven {
|
|
50
|
-
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
51
|
-
// MatcPes recent template from React Native (0.59)
|
|
52
|
-
// https://github.com/facebook/react-native/blob/0.59-stable/template/android/build.gradle#L30
|
|
53
46
|
url "$projectDir/../node_modules/react-native/android"
|
|
54
47
|
}
|
|
55
48
|
mavenCentral()
|
|
@@ -64,74 +57,3 @@ dependencies {
|
|
|
64
57
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
65
58
|
implementation "androidx.lifecycle:lifecycle-viewmodel:2.2.0"
|
|
66
59
|
}
|
|
67
|
-
|
|
68
|
-
def configureReactNativePom(def pom) {
|
|
69
|
-
def packageJson = new groovy.json.JsonSlurper().parseText(file('../package.json').text)
|
|
70
|
-
|
|
71
|
-
pom.project {
|
|
72
|
-
name packageJson.title
|
|
73
|
-
artifactId packageJson.name
|
|
74
|
-
version = packageJson.version
|
|
75
|
-
group = "com.steerpath.rnsmartmap"
|
|
76
|
-
description packageJson.description
|
|
77
|
-
url packageJson.repository.baseUrl
|
|
78
|
-
|
|
79
|
-
licenses {
|
|
80
|
-
license {
|
|
81
|
-
name packageJson.license
|
|
82
|
-
url packageJson.repository.baseUrl + '/blob/master/' + packageJson.licenseFilename
|
|
83
|
-
distribution 'repo'
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
developers {
|
|
88
|
-
developer {
|
|
89
|
-
id packageJson.author.username
|
|
90
|
-
name packageJson.author.name
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
afterEvaluate { project ->
|
|
97
|
-
|
|
98
|
-
task androidJavadoc(type: Javadoc) {
|
|
99
|
-
source = android.sourceSets.main.java.srcDirs
|
|
100
|
-
classpath += files(android.bootClasspath)
|
|
101
|
-
classpath += files(project.getConfigurations().getByName('compile').asList())
|
|
102
|
-
include '**/*.java'
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
task androidJavadocJar(type: Jar, dependsOn: androidJavadoc) {
|
|
106
|
-
classifier = 'javadoc'
|
|
107
|
-
from androidJavadoc.destinationDir
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
task androidSourcesJar(type: Jar) {
|
|
111
|
-
classifier = 'sources'
|
|
112
|
-
from android.sourceSets.main.java.srcDirs
|
|
113
|
-
include '**/*.java'
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
android.libraryVariants.all { variant ->
|
|
117
|
-
def name = variant.name.capitalize()
|
|
118
|
-
task "jar${name}"(type: Jar, dependsOn: variant.javaCompile) {
|
|
119
|
-
from variant.javaCompile.destinationDir
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
artifacts {
|
|
124
|
-
archives androidSourcesJar
|
|
125
|
-
archives androidJavadocJar
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
task installArchives(type: Upload) {
|
|
129
|
-
configuration = configurations.archives
|
|
130
|
-
repositories.mavenDeployer {
|
|
131
|
-
// Deploy to react-native-event-bridge/maven, ready to publish to npm
|
|
132
|
-
repository url: "file://${projectDir}/../android/maven"
|
|
133
|
-
|
|
134
|
-
configureReactNativePom pom
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
@@ -132,10 +132,10 @@ export interface SmartMapObjectProperties {
|
|
|
132
132
|
cateringEmail?: string;
|
|
133
133
|
css_class: string;
|
|
134
134
|
description?: string;
|
|
135
|
-
'description:fi
|
|
136
|
-
'description:nb
|
|
137
|
-
'description:sv
|
|
138
|
-
'description:en
|
|
135
|
+
'description:fi'?: string;
|
|
136
|
+
'description:nb'?: string;
|
|
137
|
+
'description:sv'?: string;
|
|
138
|
+
'description:en'?: string;
|
|
139
139
|
images?: ImageProperty[];
|
|
140
140
|
'images:fi'?: ImageProperty[];
|
|
141
141
|
'images:sv'?: ImageProperty[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-steerpath-smart-map",
|
|
3
3
|
"title": "React Native Steerpath Smart Map",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.16.1",
|
|
5
5
|
"description": "Steerpath SmartMapView for React Native",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"scripts": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"licenseFilename": "LICENSE",
|
|
25
25
|
"readmeFilename": "README.md",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"steerpath-smart-sdk": "^2.
|
|
27
|
+
"steerpath-smart-sdk": "^2.1.2"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"react": "^16.5.0",
|
package/src/SmartMapViewProps.ts
CHANGED
|
@@ -198,10 +198,10 @@ export interface SmartMapObjectProperties {
|
|
|
198
198
|
cateringEmail?: string;
|
|
199
199
|
css_class: string;
|
|
200
200
|
description?: string;
|
|
201
|
-
'description:fi
|
|
202
|
-
'description:nb
|
|
203
|
-
'description:sv
|
|
204
|
-
'description:en
|
|
201
|
+
'description:fi'?: string;
|
|
202
|
+
'description:nb'?: string;
|
|
203
|
+
'description:sv'?: string;
|
|
204
|
+
'description:en'?: string;
|
|
205
205
|
images?: ImageProperty[];
|
|
206
206
|
'images:fi'?: ImageProperty[];
|
|
207
207
|
'images:sv'?: ImageProperty[];
|