@jacques_gordon/expo-mapbox-navigation 2.2.12 → 2.2.14
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/app.plugin.js +2 -2
- package/package.json +1 -1
- package/plugin/src/index.js +2 -2
package/app.plugin.js
CHANGED
|
@@ -159,7 +159,7 @@ const withMapboxNavigation = (config, options = {}) => {
|
|
|
159
159
|
|
|
160
160
|
console.log(`[@jacques_gordon/expo-mapbox-navigation] Maps ${mapsVersion} (minor=${mapsMinor}) → Navigation ${navMin}..<3.${navMinor+1}.0`);
|
|
161
161
|
console.log(`[@jacques_gordon/expo-mapbox-navigation] Phase: ${mapsMinor <= 15 ? `1 (offset -3: ${mapsMinor}-3=${navMinor})` : `2 (aligned: ${navMinor})`}`);
|
|
162
|
-
|
|
162
|
+
const podsBuildDir = '$' + '{PODS_CONFIGURATION_BUILD_DIR}';
|
|
163
163
|
// The Ruby hook — identical pattern to @rnmapbox/maps _add_spm_to_target
|
|
164
164
|
const spmHook = `
|
|
165
165
|
# [ExpoMapboxNavigation] SPM hook — injected by @jacques_gordon/expo-mapbox-navigation
|
|
@@ -214,7 +214,7 @@ def _expo_mapbox_nav_add_spm(installer)
|
|
|
214
214
|
existing = config.build_settings['SWIFT_INCLUDE_PATHS'] || '$(inherited)'
|
|
215
215
|
unless existing.include?('PODS_CONFIGURATION_BUILD_DIR')
|
|
216
216
|
config.build_settings['SWIFT_INCLUDE_PATHS'] =
|
|
217
|
-
"#{existing}
|
|
217
|
+
"#{existing} \\"${podsBuildDir}\\""
|
|
218
218
|
puts "[ExpoMapboxNavigation] Added PODS_CONFIGURATION_BUILD_DIR to SWIFT_INCLUDE_PATHS (#{config.name})"
|
|
219
219
|
end
|
|
220
220
|
end
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jacques_gordon/expo-mapbox-navigation",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.14",
|
|
4
4
|
"description": "Expo module for Mapbox Navigation SDK with 16KB page size support, NDK27, and Mapbox Maps v11.11.0+",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
package/plugin/src/index.js
CHANGED
|
@@ -159,7 +159,7 @@ const withMapboxNavigation = (config, options = {}) => {
|
|
|
159
159
|
|
|
160
160
|
console.log(`[@jacques_gordon/expo-mapbox-navigation] Maps ${mapsVersion} (minor=${mapsMinor}) → Navigation ${navMin}..<3.${navMinor+1}.0`);
|
|
161
161
|
console.log(`[@jacques_gordon/expo-mapbox-navigation] Phase: ${mapsMinor <= 15 ? `1 (offset -3: ${mapsMinor}-3=${navMinor})` : `2 (aligned: ${navMinor})`}`);
|
|
162
|
-
|
|
162
|
+
const podsBuildDir = '$' + '{PODS_CONFIGURATION_BUILD_DIR}';
|
|
163
163
|
// The Ruby hook — identical pattern to @rnmapbox/maps _add_spm_to_target
|
|
164
164
|
const spmHook = `
|
|
165
165
|
# [ExpoMapboxNavigation] SPM hook — injected by @jacques_gordon/expo-mapbox-navigation
|
|
@@ -214,7 +214,7 @@ def _expo_mapbox_nav_add_spm(installer)
|
|
|
214
214
|
existing = config.build_settings['SWIFT_INCLUDE_PATHS'] || '$(inherited)'
|
|
215
215
|
unless existing.include?('PODS_CONFIGURATION_BUILD_DIR')
|
|
216
216
|
config.build_settings['SWIFT_INCLUDE_PATHS'] =
|
|
217
|
-
|
|
217
|
+
"#{existing} \\"${podsBuildDir}\\""
|
|
218
218
|
puts "[ExpoMapboxNavigation] Added PODS_CONFIGURATION_BUILD_DIR to SWIFT_INCLUDE_PATHS (#{config.name})"
|
|
219
219
|
end
|
|
220
220
|
end
|