Skip to content

Commit 38cf4bd

Browse files
Update default cache path docs for MAUI (#5519)
1 parent 297ae88 commit 38cf4bd

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/platforms/common/configuration/options.mdx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,9 +560,15 @@ The default value is `Application.persistentDataPath`. You can disable offline c
560560

561561
</PlatformSection>
562562

563-
<PlatformSection supported={["dotnet.xamarin", "dotnet.maui"]}>
563+
<PlatformSection supported={["dotnet.xamarin"]}>
564564

565-
The default value is `Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData));`
565+
The default value is `Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)`.
566+
567+
</PlatformSection>
568+
569+
<PlatformSection supported={["dotnet.maui"]}>
570+
571+
The default value is `Path.Combine(FileSystem.CacheDirectory, "sentry")`. See the [Microsoft docs](https://docs.microsoft.com/dotnet/maui/platform-integration/storage/file-system-helpers#platform-differences) for how `FileSystem.CacheDirectory` differs on each supported platform.
566572

567573
</PlatformSection>
568574

0 commit comments

Comments
 (0)