Summary: Bumps [react-native](https://github.com/facebook/react-native) from 0.67.4 to 0.68.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/react-native/releases">react-native's releases</a>.</em></p> <blockquote> <h2>0.68.1</h2> <h3>Changed</h3> <h4>Android specific</h4> <ul> <li>Bump React Native Gradle plugin to 0.0.6 (<a href="9573d7b84d">9573d7b84d</a> by <a href="https://github.com/cortinico"><code>@cortinico</code></a>)</li> <li>Don't require yarn for codegen tasks (<a href="d5da70e17e">d5da70e17e</a> by <a href="https://github.com/danilobuerger"><code>@danilobuerger</code></a>)</li> </ul> <h3>Fixed</h3> <ul> <li>Fix dynamic_cast (RTTI) by adding key function to ShadowNodeWrapper and related classes (<a href="58a2eb7f37">58a2eb7f37</a> by <a href="https://github.com/kmagiera"><code>@kmagiera</code></a>)</li> <li>Pin use-subscription to < 1.6.0 (<a href="5534634892">5534634892</a> by <a href="https://github.com/danilobuerger"><code>@danilobuerger</code></a>)</li> </ul> <h4>Android specific</h4> <ul> <li>Use NDK 23 only for Windows users. (<a href="e48a580080">e48a580080</a> by <a href="https://github.com/cortinico"><code>@cortinico</code></a>)</li> <li>Improve support for Android users on M1 machine (<a href="4befd2a29c">4befd2a29c</a> by <a href="https://github.com/cortinico"><code>@cortinico</code></a>)</li> <li>Template: Specify abiFilters if enableSeparateBuildPerCPUArchitecture is not set. (<a href="5dff920177">5dff920177</a> by <a href="https://github.com/cortinico"><code>@cortinico</code></a>)</li> <li>Fix for building new architecture sources on Windows (<a href="5a8033df98">5a8033df98</a> by <a href="https://github.com/mganandraj"><code>@mganandraj</code></a>)</li> </ul> <hr /> <p>You can participate in the conversation on the status of this release at this <a href="https://github.com/reactwg/react-native-releases/discussions/20">discussion</a></p> <hr /> <p>To help you upgrade to this version, you can use the <a href="https://react-native-community.github.io/upgrade-helper/">upgrade helper</a> ⚛️</p> <hr /> <p>You can find the whole changelog history in the <a href="https://github.com/facebook/react-native/blob/main/CHANGELOG.md">changelog.md file</a>.</p> <h2>0.68.0</h2> <p>0.68 stable is out!</p> <p>This release includes <strong>614 commits</strong> by <strong>68 contributors</strong>! Thank you to all our contributors new and old! You can find the <a href="https://github.com/facebook/react-native/blob/main/CHANGELOG.md#v0680">full changelog here</a>.</p> <ul> <li>See the highlights of the release in our <a href="https://reactnative.dev/blog/2022/03/30/version-068">release blog post</a>.</li> <li>You can participate in the conversation on the status of this release at <a href="https://github.com/reactwg/react-native-releases/discussions/19">this issue</a>.</li> <li>You can upgrade to this version using the <a href="https://react-native-community.github.io/upgrade-helper/">upgrade helper webtool</a> ⚛️</li> </ul> <h2>0.68.0-rc.4</h2> <p>Includes fixes to Flipper setup on iOS.</p> <hr /> <p>To test it, run:</p> <pre><code>npx react-native init RN068RC4 --version 0.68.0-rc.4 </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/react-native/blob/main/CHANGELOG.md">react-native's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2>v0.68.1</h2> <h3>Changed</h3> <h4>Android specific</h4> <ul> <li>Bump React Native Gradle plugin to 0.0.6 (<a href="9573d7b84d">9573d7b84d</a> by <a href="https://github.com/cortinico"><code>@cortinico</code></a>)</li> <li>Don't require yarn for codegen tasks (<a href="d5da70e17e">d5da70e17e</a> by <a href="https://github.com/danilobuerger"><code>@danilobuerger</code></a>)</li> </ul> <h3>Fixed</h3> <ul> <li>Fix dynamic_cast (RTTI) by adding key function to ShadowNodeWrapper and related classes (<a href="58a2eb7f37">58a2eb7f37</a> by <a href="https://github.com/kmagiera"><code>@kmagiera</code></a>)</li> <li>Pin use-subscription to < 1.6.0 (<a href="5534634892">5534634892</a> by <a href="https://github.com/danilobuerger"><code>@danilobuerger</code></a>)</li> </ul> <h4>Android specific</h4> <ul> <li>Use NDK 23 only for Windows users. (<a href="e48a580080">e48a580080</a> by <a href="https://github.com/cortinico"><code>@cortinico</code></a>)</li> <li>Improve support for Android users on M1 machine (<a href="4befd2a29c">4befd2a29c</a> by <a href="https://github.com/cortinico"><code>@cortinico</code></a>)</li> <li>Template: Specify abiFilters if enableSeparateBuildPerCPUArchitecture is not set. (<a href="5dff920177">5dff920177</a> by <a href="https://github.com/cortinico"><code>@cortinico</code></a>)</li> <li>Fix for building new architecture sources on Windows (<a href="5a8033df98">5a8033df98</a> by <a href="https://github.com/mganandraj"><code>@mganandraj</code></a>)</li> </ul> <h2>v0.68.0</h2> <h3>Breaking Changes</h3> <ul> <li>CI moved to Node 16. (<a href="f1488db109">f1488db109</a> by <a href="https://github.com/kelset"><code>@kelset</code></a>). This change enforces Node >= 14 for React Native builds.</li> <li>Bump Android Gradle Plugin to 7.0.1. (<a href="272cfe5d13">272cfe5d13</a> by <a href="https://github.com/dulmandakh"><code>@dulmandakh</code></a>) This version of Android Gradle plugin enforces JDK 11 for Android builds. Do not upgrade to AGP 7.1 as it is not supported by this version of react-native.</li> <li>Removed <code>fallbackResource</code> from <code>RCTBundleURLProvider</code> API (<a href="0912ee179c">0912ee179c</a>) by <a href="https://github.com/philIip"><code>@philIip</code></a></li> </ul> <h3>New Architecture</h3> <p><em>If you are interested in enabling the new architecture, please refer to <a href="https://reactnative.dev/docs/next/new-architecture-intro">the dedicated documentation</a>.</em></p> <ul> <li>Do not include Facebook license on users codegen'd code (<a href="450967938a">450967938a</a> by <a href="https://github.com/cortinico"><code>@cortinico</code></a>)</li> </ul> <h4>Android specific</h4> <ul> <li>Setup a <code>newArchEnabled</code> property to Opt-in the New Architecture in the template (<a href="8d652fba4c">8d652fba4c</a> by <a href="https://github.com/cortinico"><code>@cortinico</code></a>)</li> </ul> <h4>iOS specific</h4> <ul> <li>Add fabric option to the default app template. (<a href="2e9a376c84">2e9a376c84</a> by <a href="https://github.com/sota000"><code>@sota000</code></a>)</li> <li>Add turbo module support in the default app template. (<a href="8ec0e6919c">8ec0e6919c</a> by <a href="https://github.com/sota000"><code>@sota000</code></a>)</li> <li>Rename the new architecture flag to RCT_NEW_ARCH_ENABLED. (<a href="c0c5439959">c0c5439959e</a> by <a href="https://github.com/sota000"><code>@sota000</code></a>)</li> </ul> <h3>Added</h3> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="72e1eda073"><code>72e1eda</code></a> [0.68.2] Bump version numbers</li> <li><a href="dfda480a98"><code>dfda480</code></a> Bump used version of react-native-codegen to 0.0.17</li> <li><a href="a5ddc2e165"><code>a5ddc2e</code></a> Bump react-native-codegen to 0.0.17</li> <li><a href="62ef6f5fa1"><code>62ef6f5</code></a> [Main][Windows] Working around Long paths limitation on Windows (<a href="https://github-redirect.dependabot.com/facebook/react-native/issues/33707">#33707</a>)</li> <li><a href="b5f1b26a8f"><code>b5f1b26</code></a> [0.68.1] Bump version numbers</li> <li><a href="48113b5635"><code>48113b5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/facebook/react-native/issues/33628">#33628</a> from fortmarek/fix/yarn-lock-gradle-plugin</li> <li><a href="faaf2560cd"><code>faaf256</code></a> Update yarn.lock with the new react-native-gradle-plugin version</li> <li><a href="387ee70e72"><code>387ee70</code></a> Use NDK 23 only for Windows users. (<a href="https://github-redirect.dependabot.com/facebook/react-native/issues/33611">#33611</a>)</li> <li><a href="3fd3fe04da"><code>3fd3fe0</code></a> react-native-gradle-plugin should not depend on react-native-codegen NPM package</li> <li><a href="fdd7848454"><code>fdd7848</code></a> Replaced windowsAwareYarn with windowsAwareCommandLine for node calls (<a href="https://github-redirect.dependabot.com/facebook/react-native/issues/33530">#33530</a>)</li> <li>Additional commits viewable in <a href="https://github.com/facebook/react-native/compare/v0.67.4...v0.68.2">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/3700 Reviewed By: timur-valiev Differential Revision: D36371151 Pulled By: mweststrate fbshipit-source-id: 2f359af8c5a693e8a2244fe0c22d31bb6f889724
Flipper
Flipper (formerly Sonar) is a platform for debugging mobile apps on iOS and Android and, recently, even JS apps in your browser or in Node.js. Visualize, inspect, and control your apps from a simple desktop interface. Use Flipper as is or extend it using the plugin API.
Table of Contents
Mobile development
Flipper aims to be your number one companion for mobile app development on iOS and Android. Therefore, we provide a bunch of useful tools, including a log viewer, interactive layout inspector, and network inspector.
Extending Flipper
Flipper is built as a platform. In addition to using the tools already included, you can create your own plugins to visualize and debug data from your mobile apps. Flipper takes care of sending data back and forth, calling functions, and listening for events on the mobile app.
Contributing to Flipper
Both Flipper's desktop app, native mobile SDKs, JS SDKs are open-source and MIT licensed. This enables you to see and understand how we are building plugins, and of course, join the community and help to improve Flipper. We are excited to see what you will build on this platform.
In this repo
This repository includes all parts of Flipper. This includes:
- Flipper's desktop app built using Electron
(
/desktop) - native Flipper SDKs for iOS (
/iOS) - native Flipper SDKs for Android (
/android) - React Native Flipper SDK (
/react-native) - JS Flipper SDK (
/js) - Plugins:
- Logs (
/desktop/plugins/public/logs) - Layout inspector (
/desktop/plugins/public/layout) - Network inspector (
/desktop/plugins/public/network) - Shared Preferences/NSUserDefaults inspector
(
/desktop/plugins/public/shared_preferences)
- Logs (
- website and documentation (
/website//docs)
Getting started
Please refer to our
Getting Started guide to set
up Flipper.
Or, (still experimental) run npx flipper-server for a browser based version of Flipper.
Requirements
- node >= 8
- yarn >= 1.5
- iOS developer tools (for developing iOS plugins)
- Android SDK and adb
Building from Source
Desktop
Running from source
git clone https://github.com/facebook/flipper.git
cd flipper/desktop
yarn
yarn start
NOTE: If you're on Windows, you need to use Yarn 1.5.1 until this issue is resolved.
Building standalone application
Provide either --mac, --win, --linux or any combination of them to
yarn build to build a release zip file for the given platform(s). E.g.
yarn build --mac --version $buildNumber
You can find the resulting artifact in the dist/ folder.
iOS SDK + Sample App
cd iOS/Sample
rm -f Podfile.lock
pod install --repo-update
open Sample.xcworkspace
<Run app from xcode>
You can omit --repo-update to speed up the installation, but watch out as you
may be building against outdated dependencies.
Android SDK + Sample app
Start up an android emulator and run the following in the project root:
./gradlew :sample:installDebug
React Native SDK + Sample app
cd react-native/ReactNativeFlipperExample
yarn
yarn android
Note that the first 2 steps need to be done only once.
Alternatively, the app can be started on iOS by running yarn ios.
If this is the first time running, you will also need to run
pod install --repo-update from the
react-native/ReactNativeFlipperExample/ios folder.
JS SDK + Sample React app
cd js/react-flipper-example
yarn
yarn start
Troubleshooting
Older yarn versions might show an error / hang with the message 'Waiting for the
other yarn instance to finish'. If that happens, run the command yarn first
separately in the directory react-native/react-native-flipper.
Documentation
Find the full documentation for this project at fbflipper.com.
Our documentation is built with Docusaurus. You can build it locally by running this:
cd website
yarn
yarn start
Contributing
See the CONTRIBUTING file for how to help out.
License
Flipper is MIT licensed, as found in the LICENSE file.
