@iternio/react-native-auto-play 0.4.0 → 0.4.1

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.
@@ -66,10 +66,6 @@ class MapTemplate(
66
66
  navigationManager.setNavigationManagerCallback(navigationManagerCallback)
67
67
  }
68
68
  }
69
-
70
- config.defaultGuidanceBackgroundColor?.let { nitroColor ->
71
- MapTemplate.cardBackgroundColor = Parser.parseColor(nitroColor)
72
- }
73
69
  }
74
70
 
75
71
  override fun parse(): Template {
@@ -96,7 +96,10 @@ export type MapTemplateConfig = Omit<NitroMapTemplateConfig, 'mapButtons' | 'hea
96
96
  */
97
97
  onAutoDriveEnabled?: (template: MapTemplate) => void;
98
98
  /**
99
- * Initial navigation maneuver background color. Mainly useful, when in CarPlay the default loading maneuver does not have the right color.
99
+ * Use this to set the default maneuver background color on iOS.
100
+ * Only used when starting navigation and not providing any maneuvers yet,
101
+ * visible on the system provided loading maneuver then.
102
+ * @namespace iOS
100
103
  */
101
104
  defaultGuidanceBackgroundColor?: ThemedColor | string;
102
105
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iternio/react-native-auto-play",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Android Auto and Apple CarPlay for react-native",
5
5
  "main": "lib/index",
6
6
  "module": "lib/index",
@@ -159,7 +159,10 @@ export type MapTemplateConfig = Omit<
159
159
  onAutoDriveEnabled?: (template: MapTemplate) => void;
160
160
 
161
161
  /**
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
163
166
  */
164
167
  defaultGuidanceBackgroundColor?: ThemedColor | string;
165
168
  };