@jadamsbit/react-native-mapbox-navigation 1.0.10 → 1.0.11

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.
@@ -55,8 +55,8 @@ android {
55
55
  }
56
56
 
57
57
  compileOptions {
58
- sourceCompatibility JavaVersion.VERSION_17
59
- targetCompatibility JavaVersion.VERSION_17
58
+ sourceCompatibility JavaVersion.VERSION_1_8
59
+ targetCompatibility JavaVersion.VERSION_1_8
60
60
  }
61
61
 
62
62
  // Add the block below if you're using Kotlin
@@ -470,7 +470,7 @@ class MapboxNavigationView(private val context: ThemedReactContext, private val
470
470
  this.locationPuck = LocationPuck2D(
471
471
  bearingImage = ContextCompat.getDrawable(
472
472
  context,
473
- R.drawable.mapbox_navigation_puck_icon
473
+ com.mapbox.navigation.ui.maps.R.drawable.mapbox_navigation_puck_icon
474
474
  )
475
475
  )
476
476
  setLocationProvider(navigationLocationProvider)
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.10",
4
+ "version": "1.0.11",
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",