Blank Screen after adding carplay to maui app

rick ruhl 61 Reputation points
2024-01-17T03:53:32.3333333+00:00

If I add the following to info.plist I get the splash screen and then a dark mainpage, take it out and app works fine


<key>UIApplicationSceneManifest</key>
<dict>
	<key>UIApplicationSupportsMultipleScenes</key>
	<false/>
	<key>UISceneConfigurations</key>
	<dict>
		<key>UIWindowSceneSessionRoleApplication</key>
		<array>
			<dict>
				<key>UISceneClassName</key>
				<string>UIWindowScene</string>
				<key>UISceneConfigurationName</key>
				<string>__MAUI_DEFAULT_SCENE_CONFIGURATION__</string>
				<key>UISceneDelegateClassName</key>
				<string>DeviceSceneDelegate</string>
			</dict>
		</array>
		<key>CPTemplateApplicationSceneSessionRoleApplication</key>
		<array>
			<dict>
				<key>UISceneClassName</key>
				<string>CPTemplateApplicationScene</string>
				<key>UISceneConfigurationName</key>
				<string>X 95.7-Car</string>
				<key>UISceneDelegateClassName</key>
				<string>CarPlaySceneDelegate</string>
			</dict>
		</array>
	</dict>
</dict>

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,898 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.