Skip to content

Commit 3263a51

Browse files
Merge pull request #77 from Iternio-Planning-AB/bugfix/aa-maneuver-color
fix: AA maneuver background color not applied
2 parents 64b580c + f24de99 commit 3263a51

3 files changed

Lines changed: 4 additions & 13 deletions

File tree

apps/example/ios/example.xcodeproj/project.pbxproj

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -222,14 +222,10 @@
222222
inputFileListPaths = (
223223
"${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-resources-${CONFIGURATION}-input-files.xcfilelist",
224224
);
225-
inputPaths = (
226-
);
227225
name = "[CP] Copy Pods Resources";
228226
outputFileListPaths = (
229227
"${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-resources-${CONFIGURATION}-output-files.xcfilelist",
230228
);
231-
outputPaths = (
232-
);
233229
runOnlyForDeploymentPostprocessing = 0;
234230
shellPath = /bin/sh;
235231
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-resources.sh\"\n";
@@ -243,14 +239,10 @@
243239
inputFileListPaths = (
244240
"${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-frameworks-${CONFIGURATION}-input-files.xcfilelist",
245241
);
246-
inputPaths = (
247-
);
248242
name = "[CP] Embed Pods Frameworks";
249243
outputFileListPaths = (
250244
"${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-frameworks-${CONFIGURATION}-output-files.xcfilelist",
251245
);
252-
outputPaths = (
253-
);
254246
runOnlyForDeploymentPostprocessing = 0;
255247
shellPath = /bin/sh;
256248
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-frameworks.sh\"\n";

packages/react-native-autoplay/android/src/main/java/com/margelo/nitro/swe/iternio/reactnativeautoplay/template/MapTemplate.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ class MapTemplate(
6666
navigationManager.setNavigationManagerCallback(navigationManagerCallback)
6767
}
6868
}
69-
70-
config.defaultGuidanceBackgroundColor?.let { nitroColor ->
71-
MapTemplate.cardBackgroundColor = Parser.parseColor(nitroColor)
72-
}
7369
}
7470

7571
override fun parse(): Template {

packages/react-native-autoplay/src/templates/MapTemplate.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,10 @@ export type MapTemplateConfig = Omit<
159159
onAutoDriveEnabled?: (template: MapTemplate) => void;
160160

161161
/**
162-
* Initial navigation maneuver background color. Mainly useful, when in CarPlay the default loading maneuver does not have the right color.
162+
* Use this to set the default maneuver background color on iOS.
163+
* Only used when starting navigation and not providing any maneuvers yet,
164+
* visible on the system provided loading maneuver then.
165+
* @namespace iOS
163166
*/
164167
defaultGuidanceBackgroundColor?: ThemedColor | string;
165168
};

0 commit comments

Comments
 (0)