mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Support MobileConfig in Fabric Core C++ in FB4A and Catalyst
Summary: MobileConfig should be wrapped and presented as a ReactNativeConfig object so that core Fabric C++ code can use it. This is just a noop plumbing diff. Real support will be added in follow-on diff. Reviewed By: fkgozali Differential Revision: D13985466 fbshipit-source-id: a2ac2175688e855eda3b89aa69faf07749c6bd31
This commit is contained in:
committed by
Facebook Github Bot
parent
864a30185d
commit
a15e723476
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
package com.facebook.react.fabric;
|
||||
|
||||
// This is a wrapper for the ReactNativeConfig object in C++
|
||||
public interface ReactNativeConfig {
|
||||
boolean getBool(String param);
|
||||
int getInt64(String param);
|
||||
String getString(String param);
|
||||
double getDouble(String param);
|
||||
}
|
||||
Reference in New Issue
Block a user