Repository navigation
Change Environment.GetFolderPath to be compatible with tvOS #34007
Copy link
Copy link
Closed
Description
Activity
- addeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on Mar 24, 2020 /cc @EgorBo
- changed the title
[-]Change Environment.GetFolderPath to be compatible with iOS/tvOS[/-][+]Change Environment.GetFolderPath to be compatible with tvOS[/+]on Nov 25, 2020 We still have an important TODO that needs to be fixed for tvOS:
runtime/src/mono/netcore/System.Private.CoreLib/src/System/Environment.iOS.cs
Lines 39 to 41 in f48c8d5
// TODO: fix for tvOS (https://github.com/dotnet/runtime/issues/34007) // The "normal" NSDocumentDirectory is a read-only directory on tvOS // and that breaks a lot of assumptions in the runtime and the BCL Reopening to track that.
- removeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on Nov 25, 2020 @steveisok please assign
It looks like NSCachesDirectory is the preferred alternative for tvOS.
Ref: firebase/firebase-ios-sdk#2777
Ref: https://developer.apple.com/forums/thread/19002Reacted by Alexander Köplinger@directhex on the mono/mono version we've been using a subdirectory in
NSLibraryDirectory: https://github.com/mono/mono/blob/main/mcs/class/corlib/System/Environment.iOS.cs#L21-L30- ghost addedin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
on Aug 16, 2021 - ghost removedin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
on Aug 24, 2021 - ghost addedin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
on Aug 24, 2021 - ghost removedin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
on Aug 27, 2021 - ghost addedin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
on Aug 27, 2021 - ghost removedin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
on Aug 30, 2021 - ghost locked as resolved and limited conversation to collaborators
on Sep 29, 2021
As part of the mobile workloads migration, we need to ensure the apps are behaving consistently when calling into
Environment.GetFolderPath. There is already some implementation for iOS but it looks like it's not fully compatible with existing Mono codeThe second part is to ensure there is full code coverage for all
SpecialFoldervalues.