mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
79a7828b91
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/25583 We now use CocoaPods for better maintainability. Reviewed By: hramos Differential Revision: D16193719 fbshipit-source-id: 26382f2da4eaba14a71771540b587fdc80b41108
41 lines
986 B
JavaScript
41 lines
986 B
JavaScript
/**
|
|
* 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.
|
|
*
|
|
* @format
|
|
*/
|
|
'use strict';
|
|
|
|
const ios = require('@react-native-community/cli-platform-ios');
|
|
const android = require('@react-native-community/cli-platform-android');
|
|
|
|
module.exports = {
|
|
commands: [...ios.commands, ...android.commands],
|
|
platforms: {
|
|
ios: {
|
|
linkConfig: ios.linkConfig,
|
|
projectConfig: ios.projectConfig,
|
|
dependencyConfig: ios.dependencyConfig,
|
|
},
|
|
android: {
|
|
linkConfig: android.linkConfig,
|
|
projectConfig: android.projectConfig,
|
|
dependencyConfig: android.dependencyConfig,
|
|
},
|
|
},
|
|
/**
|
|
* Used when running RNTester (with React Native from source)
|
|
*/
|
|
reactNativePath: '.',
|
|
project: {
|
|
ios: {
|
|
project: './RNTester/RNTesterPods.xcworkspace',
|
|
},
|
|
android: {
|
|
sourceDir: './RNTester',
|
|
},
|
|
},
|
|
};
|