@jadamsbit/react-native-mapbox-navigation 1.0.13 → 1.0.15

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.
@@ -88,7 +88,7 @@ dependencies {
88
88
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
89
89
 
90
90
  // mapbox dependencies
91
- implementation "com.mapbox.navigation:android:2.18.1"
91
+ implementation "com.mapbox.navigation:android:2.17.0"
92
92
  implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
93
93
  implementation 'androidx.cardview:cardview:1.0.0'
94
94
  implementation 'androidx.core:core:1.12.0'
@@ -2,5 +2,5 @@ MapboxNavigation_kotlinVersion=1.9.23
2
2
  MapboxNavigation_minSdkVersion=21
3
3
  MapboxNavigation_targetSdkVersion=34
4
4
  MapboxNavigation_compileSdkVersion=34
5
- MapboxNavigation_ndkversion=21.4.7075529
5
+ MapboxNavigation_ndkversion=25.1.8937393
6
6
  android.useAndroidX=true
package/dist/typings.d.ts CHANGED
@@ -33,6 +33,5 @@ export interface IMapboxNavigationProps {
33
33
  showsEndOfRouteFeedback?: boolean;
34
34
  hideStatusView?: boolean;
35
35
  mute?: boolean;
36
- waypoints?: Coordinate[];
37
36
  }
38
37
  export {};
@@ -4,7 +4,7 @@ buildscript {
4
4
  minSdkVersion = 21
5
5
  compileSdkVersion = 34
6
6
  targetSdkVersion = 34
7
- ndkVersion = "21.4.7075529"
7
+ ndkVersion = "25.1.8937393"
8
8
  kotlinVersion = "1.8.0"
9
9
  }
10
10
  repositories {
@@ -10,7 +10,7 @@
10
10
  # Specifies the JVM arguments used for the daemon process.
11
11
  # The setting is particularly useful for tweaking memory settings.
12
12
  # Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
13
- org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
13
+ org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=4096m
14
14
 
15
15
  # When configured, Gradle will run in incubating parallel mode.
16
16
  # This option should only be used with decoupled projects. More details, visit
package/lefthook.yml ADDED
@@ -0,0 +1,35 @@
1
+ # EXAMPLE USAGE:
2
+ #
3
+ # Refer for explanation to following link:
4
+ # https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md
5
+ #
6
+ # pre-push:
7
+ # commands:
8
+ # packages-audit:
9
+ # tags: frontend security
10
+ # run: yarn audit
11
+ # gems-audit:
12
+ # tags: backend security
13
+ # run: bundle audit
14
+ #
15
+ # pre-commit:
16
+ # parallel: true
17
+ # commands:
18
+ # eslint:
19
+ # glob: "*.{js,ts,jsx,tsx}"
20
+ # run: yarn eslint {staged_files}
21
+ # rubocop:
22
+ # tags: backend style
23
+ # glob: "*.rb"
24
+ # exclude: '(^|/)(application|routes)\.rb$'
25
+ # run: bundle exec rubocop --force-exclusion {all_files}
26
+ # govet:
27
+ # tags: backend style
28
+ # files: git ls-files -m
29
+ # glob: "*.go"
30
+ # run: go vet {files}
31
+ # scripts:
32
+ # "hello.js":
33
+ # runner: node
34
+ # "any.go":
35
+ # runner: go run
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jadamsbit/react-native-mapbox-navigation",
3
3
  "title": "React Native Mapbox Navigation",
4
- "version": "1.0.13",
4
+ "version": "1.0.15",
5
5
  "description": "Smart Mapbox turn-by-turn routing based on real-time traffic for React Native.",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
package/src/typings.ts CHANGED
@@ -37,4 +37,5 @@ export interface IMapboxNavigationProps {
37
37
  showsEndOfRouteFeedback?: boolean;
38
38
  hideStatusView?: boolean;
39
39
  mute?: boolean;
40
+ waypoints?: Coordinate[];
40
41
  }