-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
Comments
Not 100% sure but this one looks very much like #8612 |
This is what I thought, but it is completely different. :) I already tried all possible variation of that but no luck. I still cannot populate shared iOS device settings. Using Preferences works to save and read the settings, but we need something similar to Xamarin Forms Settings.bundle/Root.plist functionality. |
Same issue
The Root.plist has pre-defined by MAUI content only (in bin/Debug/net6.0-ios/iossimulator-x64/APP/Settings.bundle). If change the
|
This works for me as a workaround:
|
Hi @bivant , Finally I was able to connect my VS to Mac and try the solution. It is working. I can see the app setting in iPhone system settings now. |
Hello, I tryed this workaround. It works and I can see the options in the config of the app but I lost the last part related to debug setting. This causes the app not connecting to debugger using local device on VS2022. Maybe I need to add the default debug setting on my custom Root.plist but I don't know the exact setup.
|
Hello @rebuscao |
@rxDietel workaround works. Thank you. |
Verified this issue with Visual Studio Enterprise 17.9.0 Preview 2. Can repro this issue. |
@rxDietel workaround works great, searched everywhere to find out why the settings would not deploy, was missing the Link= parameter. MS should really add this to their docs. |
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
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
The text was updated successfully, but these errors were encountered: