Skip to content

Settings.bundle/Root.plist doesn't get included in iOS bundle. Maui.Storage.Preferences has no methods to save "shared" settings into device settings. #9122

@belmonmi

Description

@belmonmi

Description

Settings.bundle/Root.plist in iOS and Xamarin Forms is used to have "shared" setting for an application that user can modify by going to iPhone/iPad device settings. .Net MAUI is ignoring that file under Platforms/iOS/ folder.

Steps to Reproduce

  1. Create new .Net MAUI application.
  2. Under Platforms/iOS folder create "Settings.bundle" folder
  3. Create new file "Root.plist" with some simple PSTitleValueSpecifier or PSGroupSpecifier, or any other valid iOS specifier with Title, Type, Key and Value.
  4. Build the solution.
  5. Run it on iOS simulator.
  6. Go to device settings - no settings from your "Root.plist" only "Debug" settings that MAUI put there.

Version with bug

6.0.408 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iPhone 12 Pro iOS 15.5

Did you find any workaround?

No

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions