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:
Joshua Gross
2019-02-11 16:36:27 -08:00
committed by Facebook Github Bot
parent 864a30185d
commit a15e723476
7 changed files with 102 additions and 9 deletions
@@ -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);
}