Android: Getting Started with Settings Screens.
Apple: Implementing an iOS Settings Bundle.Follow the platform documentation and samples to integrate with the platform: Preferences are stored natively, which allows you to integrate your settings into the native system settings. The following data types are supported in Preferences: Please read the platform implementation specifics below. One use case is when your application needs to share preferences across extensions or to a watch application. This parameter is used to create additional containers for preferences which are helpful in some use cases. The above methods take in an optional string parameter called sharedName.