File tree Expand file tree Collapse file tree 4 files changed +80
-0
lines changed
src/Bible.Alarm/Platforms/iOS Expand file tree Collapse file tree 4 files changed +80
-0
lines changed Original file line number Diff line number Diff line change 1+ /* CARPLAY MEDIA LISTING DISABLED - Requires Apple MFi approval
2+ * Commented out to avoid App Store rejection for CarPlay Audio entitlement.
3+ * This effect refreshes the CarPlay schedule list when schedules change.
4+ *
5+ * To re-enable after Apple approval, uncomment this file.
6+ */
7+
8+ /*
19#nullable enable
210using Bible.Alarm.Platforms.iOS.Services.CarPlay;
311using Bible.Alarm.Stores.Actions.Schedule;
@@ -86,3 +94,12 @@ private void RefreshCarPlayScheduleList(string triggerAction)
8694 }
8795 }
8896}
97+ */
98+
99+ // Placeholder class to prevent compilation errors
100+ namespace Bible . Alarm . Platforms . iOS . Effects ;
101+
102+ public class CarPlayScheduleListEffect
103+ {
104+ // Empty class - CarPlay listing disabled
105+ }
Original file line number Diff line number Diff line change 1+ /* CARPLAY MEDIA LISTING DISABLED - Requires Apple MFi approval
2+ * Commented out to avoid App Store rejection for CarPlay Audio entitlement.
3+ * This handler processes playback actions when schedule items are clicked from the CarPlay list.
4+ *
5+ * To re-enable after Apple approval, uncomment this file.
6+ */
7+
8+ /*
19#nullable enable
210using Bible.Alarm.Common;
311using Bible.Alarm.Services.Media.Interfaces;
@@ -53,3 +61,15 @@ private static void StartPlaybackAsync(int scheduleId)
5361 });
5462 }
5563}
64+ */
65+
66+ // Placeholder class to prevent compilation errors
67+ namespace Bible . Alarm . Platforms . iOS . Services . CarPlay ;
68+
69+ public sealed class CarPlayPlaybackHandler
70+ {
71+ public static void HandleScheduleItemClicked ( int scheduleId )
72+ {
73+ // CarPlay listing disabled - no action
74+ }
75+ }
Original file line number Diff line number Diff line change 1+ /* CARPLAY MEDIA LISTING DISABLED - Requires Apple MFi approval
2+ * Commented out to avoid App Store rejection for CarPlay Audio entitlement.
3+ * Now Playing (current playback display) remains active via iOSNowPlayingInfoManager.
4+ *
5+ * To re-enable after Apple approval:
6+ * 1. Uncomment this entire file
7+ * 2. Add com.apple.developer.carplay-audio entitlement in Entitlements.plist
8+ * 3. Uncomment CarPlayScheduleListEffect.cs
9+ * 4. Uncomment CarPlayScheduleHelper.cs
10+ * 5. Uncomment CarPlayPlaybackHandler.cs
11+ */
12+
13+ /*
114#nullable enable
215using CarPlay;
316using Foundation;
@@ -232,3 +245,14 @@ public void RefreshScheduleList()
232245 }
233246 }
234247}
248+ */
249+
250+ // Placeholder class to prevent compilation errors
251+ namespace Bible . Alarm . Platforms . iOS . Services . CarPlay ;
252+
253+ public class CarPlaySceneDelegate
254+ {
255+ public static bool IsCarPlayConnected { get ; private set ; } = false ;
256+ public static CarPlaySceneDelegate ? Current { get ; private set ; } = null ;
257+ public void RefreshScheduleList ( ) { }
258+ }
Original file line number Diff line number Diff line change 1+ /* CARPLAY MEDIA LISTING DISABLED - Requires Apple MFi approval
2+ * Commented out to avoid App Store rejection for CarPlay Audio entitlement.
3+ * This helper provides methods for loading schedules and formatting display information.
4+ *
5+ * To re-enable after Apple approval, uncomment this file.
6+ */
7+
8+ /*
19#nullable enable
210using Bible.Alarm.Common;
311using Bible.Alarm.Shared.Helpers;
@@ -155,3 +163,14 @@ public static string BuildScheduleSubtitle(ScheduleStateItem scheduleItem)
155163 return $"{statusText} • {timeText}";
156164 }
157165}
166+ */
167+
168+ // Placeholder class to prevent compilation errors
169+ namespace Bible . Alarm . Platforms . iOS . Services . CarPlay ;
170+
171+ public static class CarPlayScheduleHelper
172+ {
173+ public static List < object > LoadScheduleStateItemsFromState ( ) => new ( ) ;
174+ public static string BuildScheduleTitle ( object scheduleItem ) => string . Empty ;
175+ public static string BuildScheduleSubtitle ( object scheduleItem ) => string . Empty ;
176+ }
You can’t perform that action at this time.
0 commit comments