Upgrade example app to 0.62.0-rc.3

Summary:
^

1. Remove entire `react-native/ReactNativeExampleFlipper` folder
2. Run `npx react-native init --version 0.62.0-rc.3 ReactNativeExampleFlipper`
4. restore the `package.json` and `TicTacToe` file and import
5. removed `.eslintrc`, `_BUCK` and `build_defz.bzl`, `.watchmenconfig`

Added comments below to highlight the non-generated changes

Reviewed By: passy

Differential Revision: D20221558

fbshipit-source-id: da1c895a2b0e7ce48092e64cdb5ffdb9e4a1a10b
This commit is contained in:
Michel Weststrate
2020-03-04 18:57:25 -08:00
committed by Facebook Github Bot
parent 1351496c2c
commit f3fd8646e3
19 changed files with 2503 additions and 977 deletions

View File

@@ -84,10 +84,7 @@ dependencies {
implementation 'com.facebook.soloader:soloader:0.8.2'
implementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
exclude group:'com.facebook.yoga'
exclude group:'com.facebook.flipper', module: 'fbjni'
exclude group:'com.facebook.litho', module: 'litho-annotations'
exclude group:'com.squareup.okhttp3'
exclude group:'com.facebook.fbjni'
}
}

View File

@@ -156,7 +156,7 @@ function printNoFlipperWarning() {
// $FlowFixMe
if (typeof __DEV__ !== 'undefined' && __DEV__) {
console.warn(
'The native module for Flipper seems unavailable. Make sure `initializeFlipper(this, getReactNativeHost().getReactInstanceManager()` is called in MainApplication.java:onCreate, and that `react-native-flipper` is installed as yarn dependency',
'The native module for Flipper seems unavailable. Please verify that `react-native-flipper` is installed as yarn dependency to your project and, for iOS, that `pod install` is run in the `ios` directory.',
);
}
}

View File

@@ -25,7 +25,7 @@
"readmeFilename": "README.md",
"peerDependencies": {
"react": "^16.8.1",
"react-native": ">=0.59.0-rc.0 <1.0.x"
"react-native": "^0.62.0"
},
"devDependencies": {
"react": "^16.8.3",

View File

@@ -15,12 +15,12 @@ Pod::Spec.new do |s|
s.description = <<-DESC
react-native-flipper
DESC
s.homepage = "https://github.com/github_account/react-native-flipper"
s.homepage = "https://fbflipper.com/"
s.license = "MIT"
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
s.authors = { "Your Name" => "yourname@email.com" }
s.platforms = { :ios => "9.0" }
s.source = { :git => "https://github.com/github_account/react-native-flipper.git", :tag => "#{s.version}" }
s.license = { :type => "MIT", :file => "LICENSE" }
s.authors = { "Michel Weststrate" => "mweststrate@fb.com" }
s.platforms = { :ios => "10.0" }
s.source = { :git => "https://github.com/facebook/flipper.git", :tag => "#{s.version}" }
s.source_files = "ios/**/*.{h,m,swift}"
s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"${PODS_ROOT}/Headers/Public/FlipperKit\"" }

View File

@@ -0,0 +1,20 @@
/**
* 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
*/
module.exports = {
dependency: {
platforms: {
ios: {
// This file should not be needed at all, but without it.
// cli 4.2.2 will search for an xcode project
project: '.',
},
},
},
};