1 /* 2 * Copyright (c) Meta Platforms, Inc. and affiliates. 3 * 4 * This source code is licensed under the MIT license found in the 5 * LICENSE file in the root directory of this source tree. 6 */ 7 8 #include "ABI48_0_0ReactNativeConfig.h" 9 10 namespace ABI48_0_0facebook { 11 namespace ABI48_0_0React { 12 13 /** 14 * ABI48_0_0ReactNative configuration as provided by the hosting app. 15 * Provide a sub-class implementation to allow app specific customization. 16 */ ABI48_0_0ReactNativeConfig()17ABI48_0_0ReactNativeConfig::ABI48_0_0ReactNativeConfig() {} 18 ~ABI48_0_0ReactNativeConfig()19ABI48_0_0ReactNativeConfig::~ABI48_0_0ReactNativeConfig() {} 20 EmptyABI48_0_0ReactNativeConfig()21EmptyABI48_0_0ReactNativeConfig::EmptyABI48_0_0ReactNativeConfig() {} 22 getBool(const std::string & param) const23bool EmptyABI48_0_0ReactNativeConfig::getBool(const std::string ¶m) const { 24 return false; 25 } 26 getString(const std::string & param) const27std::string EmptyABI48_0_0ReactNativeConfig::getString(const std::string ¶m) const { 28 return ""; 29 } 30 getInt64(const std::string & param) const31int64_t EmptyABI48_0_0ReactNativeConfig::getInt64(const std::string ¶m) const { 32 return 0; 33 } 34 getDouble(const std::string & param) const35double EmptyABI48_0_0ReactNativeConfig::getDouble(const std::string ¶m) const { 36 return 0.0; 37 } 38 39 } // namespace ABI48_0_0React 40 } // namespace ABI48_0_0facebook 41