refactor(native): several significant improvements around preferences#546
Merged
Conversation
https://developer.apple.com/documentation/fileprovider#2918905 https://developer.apple.com/documentation/bundleresources/information_property_list/uifilesharingenabled https://developer.apple.com/documentation/bundleresources/information_property_list/lssupportsopeningdocumentsinplace https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW20 https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html#//apple_ref/doc/uid/TP40009250-SW13
The entitlement is no longer included in Apple’s latest documentation. Seems to be contained by `com.apple.security.files.user-selected.read-write` https://developer.apple.com/documentation/security/app_sandbox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There are some significant improvements due to the newly written preferences wrapper:
Adding and using various preferences is easier and they are shared between the app and ext.
The same preference list and calls are shared between iOS and macOS versions, with differences smoothed out by wrappers.
With a new preference item, the logger is now disabled by default, and a toggle has been added in iOS and macOS.
Userscriptssub pane of the systemSettingsappDEBUGmenu in the menu bar ofUserscriptsappThe old save location will be smoothly and imperceptibly imported into the new preferences.
In iOS, enable the feature of displaying the app's document directory to the system
Filesapp.iTunesorFinder.[macOS-Menus-toggle]
[iOS-Settings-toggle]
[iOS-Files-document]