react-native-steerpath-smart-map 1.15.3 → 1.16.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 CHANGED
@@ -15,12 +15,27 @@ 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.15.3]
18
+ # [1.16.0] - 2022-06-01
19
+
20
+ - Update build.gradle to make the library compatible with apps using gradle version 7+
21
+ - Update example app's react native version to 0.68.1
22
+
23
+ # [1.15.5] - 2022-05-11
24
+ - Bump Web Smart SDK to 2.1.2
25
+
26
+ # [1.15.4] - 2022-05-11
27
+
28
+ - Bump Android Smart SDK to android-smart-1.14.4
29
+ - Update default gradle plugin version to 4.0.2
30
+
31
+ # [1.15.3] - 2022-04-01
19
32
 
20
33
  - Improved typings for SmartMapObject
21
34
 
22
- ## [1.15.0]
35
+ ## [1.15.0] - 2022-03-24
36
+
23
37
  - Bump Android Smart SDK to android-smart-1.14.3
38
+
24
39
  ## [1.14.2] - 2022-02-16
25
40
 
26
41
  - Bump iOS Smart SDK version to 1.15.11
@@ -3,26 +3,23 @@ buildscript {
3
3
  rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
4
4
  }
5
5
  repositories {
6
+ mavenCentral()
6
7
  google()
7
8
  jcenter()
8
9
  }
9
10
 
10
11
  dependencies {
11
- // Matches recent template from React Native (0.60)
12
- // https://github.com/facebook/react-native/blob/0.60-stable/template/android/build.gradle#L16
13
- classpath("com.android.tools.build:gradle:${safeExtGet('gradlePluginVersion', '3.4.1')}")
12
+ classpath("com.android.tools.build:gradle:${safeExtGet('gradlePluginVersion', '4.0.2')}")
14
13
  }
15
14
  }
16
15
 
17
16
  apply plugin: 'com.android.library'
18
- apply plugin: 'maven'
17
+ apply plugin: 'maven-publish'
19
18
 
20
- // Matches values in recent template from React Native (0.59)
21
- // https://github.com/facebook/react-native/blob/0.59-stable/template/android/build.gradle#L5-L9
22
- def DEFAULT_COMPILE_SDK_VERSION = 28
23
- def DEFAULT_BUILD_TOOLS_VERSION = "28.0.3"
19
+ def DEFAULT_COMPILE_SDK_VERSION = 30
20
+ def DEFAULT_BUILD_TOOLS_VERSION = "30.0.3"
24
21
  def DEFAULT_MIN_SDK_VERSION = 21
25
- def DEFAULT_TARGET_SDK_VERSION = 28
22
+ def DEFAULT_TARGET_SDK_VERSION = 30
26
23
 
27
24
  android {
28
25
  compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
@@ -46,9 +43,6 @@ android {
46
43
 
47
44
  repositories {
48
45
  maven {
49
- // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
50
- // MatcPes recent template from React Native (0.59)
51
- // https://github.com/facebook/react-native/blob/0.59-stable/template/android/build.gradle#L30
52
46
  url "$projectDir/../node_modules/react-native/android"
53
47
  }
54
48
  mavenCentral()
@@ -59,78 +53,7 @@ repositories {
59
53
 
60
54
  dependencies {
61
55
  implementation "com.facebook.react:react-native:${safeExtGet('reactnativeVersion', '+')}"
62
- implementation "com.steerpath:smart:android-smart-1.14.3"
56
+ implementation "com.steerpath:smart:android-smart-1.14.4"
63
57
  implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
64
58
  implementation "androidx.lifecycle:lifecycle-viewmodel:2.2.0"
65
59
  }
66
-
67
- def configureReactNativePom(def pom) {
68
- def packageJson = new groovy.json.JsonSlurper().parseText(file('../package.json').text)
69
-
70
- pom.project {
71
- name packageJson.title
72
- artifactId packageJson.name
73
- version = packageJson.version
74
- group = "com.steerpath.rnsmartmap"
75
- description packageJson.description
76
- url packageJson.repository.baseUrl
77
-
78
- licenses {
79
- license {
80
- name packageJson.license
81
- url packageJson.repository.baseUrl + '/blob/master/' + packageJson.licenseFilename
82
- distribution 'repo'
83
- }
84
- }
85
-
86
- developers {
87
- developer {
88
- id packageJson.author.username
89
- name packageJson.author.name
90
- }
91
- }
92
- }
93
- }
94
-
95
- afterEvaluate { project ->
96
-
97
- task androidJavadoc(type: Javadoc) {
98
- source = android.sourceSets.main.java.srcDirs
99
- classpath += files(android.bootClasspath)
100
- classpath += files(project.getConfigurations().getByName('compile').asList())
101
- include '**/*.java'
102
- }
103
-
104
- task androidJavadocJar(type: Jar, dependsOn: androidJavadoc) {
105
- classifier = 'javadoc'
106
- from androidJavadoc.destinationDir
107
- }
108
-
109
- task androidSourcesJar(type: Jar) {
110
- classifier = 'sources'
111
- from android.sourceSets.main.java.srcDirs
112
- include '**/*.java'
113
- }
114
-
115
- android.libraryVariants.all { variant ->
116
- def name = variant.name.capitalize()
117
- task "jar${name}"(type: Jar, dependsOn: variant.javaCompile) {
118
- from variant.javaCompile.destinationDir
119
- }
120
- }
121
-
122
- artifacts {
123
- archives androidSourcesJar
124
- archives androidJavadocJar
125
- }
126
-
127
- task installArchives(type: Upload) {
128
- configuration = configurations.archives
129
- repositories.mavenDeployer {
130
- // Deploy to react-native-event-bridge/maven, ready to publish to npm
131
- repository url: "file://${projectDir}/../android/maven"
132
-
133
- configureReactNativePom pom
134
- }
135
- }
136
- }
@@ -1,6 +1,6 @@
1
- #Fri Sep 20 14:28:30 EEST 2019
1
+ #Wed May 11 12:57:00 EEST 2022
2
2
  distributionBase=GRADLE_USER_HOME
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-bin.zip
3
4
  distributionPath=wrapper/dists
4
- zipStoreBase=GRADLE_USER_HOME
5
5
  zipStorePath=wrapper/dists
6
- distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
6
+ zipStoreBase=GRADLE_USER_HOME
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.15.3",
4
+ "version": "1.16.0",
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.0.2"
27
+ "steerpath-smart-sdk": "^2.1.2"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "react": "^16.5.0",