using ReactNative.Bridge; using System; using System.Collections.Generic; using Windows.ApplicationModel.Core; using Windows.UI.Core; namespace Config.Reader.RNConfigReader { /// /// A module that allows JS to share data. /// class RNConfigReaderModule : NativeModuleBase { /// /// Instantiates the . /// internal RNConfigReaderModule() { } /// /// The name of the native module. /// public override string Name { get { return "RNConfigReader"; } } [Obsolete] public override IReadOnlyDictionary Constants { get { var constants = new Dictionary { { "BuildConfigs", Package.Current.localSettings } }; return constants; } } } }