dependabot[bot] b22ac16c3c Bump org.jetbrains.kotlinx:kotlinx-coroutines-android from 1.6.4 to 1.7.2 (#4914)
Summary:
Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-android](https://github.com/Kotlin/kotlinx.coroutines) from 1.6.4 to 1.7.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/Kotlin/kotlinx.coroutines/releases">org.jetbrains.kotlinx:kotlinx-coroutines-android's releases</a>.</em></p>
<blockquote>
<h2>1.7.2</h2>
<h3>Bug fixes and improvements</h3>
<ul>
<li>Coroutines debugger no longer keeps track of coroutines with empty coroutine context (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3782">https://github.com/facebook/flipper/issues/3782</a>).</li>
<li><code>CopyableThreadContextElement</code> now properly copies an element when crossing the coroutine boundary in <code>flowOn</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3787">https://github.com/facebook/flipper/issues/3787</a>). Thanks <a href="https://github.com/wanyingd1996"><code>@​wanyingd1996</code></a>!</li>
<li>Coroutine timeouts no longer prevent K/N <code>newSingleThreadContext</code> from closing (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3768">https://github.com/facebook/flipper/issues/3768</a>).</li>
<li>A non-linearizability in <code>Mutex</code> during <code>tryLock</code>/<code>unlock</code> sequence with owners is fixed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3745">https://github.com/facebook/flipper/issues/3745</a>).</li>
<li>Atomicfu version is updated to 0.21.0.</li>
</ul>
<h2>1.7.1</h2>
<h3>Bug fixes and improvements</h3>
<ul>
<li>Special characters in coroutine names in JSON dumps are supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3747">https://github.com/facebook/flipper/issues/3747</a>)</li>
<li>The binary compatibility of the experimental overload of <code>runTest</code> is restored (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3673">https://github.com/facebook/flipper/issues/3673</a>)</li>
<li>Channels that don't use <code>onUndeliveredElement</code> now allocate less memory (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3646">https://github.com/facebook/flipper/issues/3646</a>)</li>
</ul>
<h2>1.7.0</h2>
<h3>Core API significant improvements</h3>
<ul>
<li>New <code>Channel</code> implementation with significant performance improvements across the API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3621">https://github.com/facebook/flipper/issues/3621</a>).</li>
<li>New <code>select</code> operator implementation: faster, more lightweight, and more robust (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3020">https://github.com/facebook/flipper/issues/3020</a>).</li>
<li><code>Mutex</code> and <code>Semaphore</code> now share the same underlying data structure (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3020">https://github.com/facebook/flipper/issues/3020</a>).</li>
<li><code>Dispatchers.IO</code> is added to K/N (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3205">https://github.com/facebook/flipper/issues/3205</a>)
<ul>
<li><code>newFixedThreadPool</code> and <code>Dispatchers.Default</code> implementations on K/N were wholly rewritten to support graceful growth under load (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3595">https://github.com/facebook/flipper/issues/3595</a>).</li>
</ul>
</li>
<li><code>kotlinx-coroutines-test</code> rework:
<ul>
<li>Add the <code>timeout</code> parameter to <code>runTest</code> for the whole-test timeout, 10 seconds by default (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3270">https://github.com/facebook/flipper/issues/3270</a>). This replaces the configuration of quiescence timeouts, which is now deprecated (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3603">https://github.com/facebook/flipper/issues/3603</a>).</li>
<li>The <code>withTimeout</code> exception messages indicate if the timeout used the virtual time (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3588">https://github.com/facebook/flipper/issues/3588</a>).</li>
<li><code>TestCoroutineScheduler</code>, <code>runTest</code>, and <code>TestScope</code> API are promoted to stable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3622">https://github.com/facebook/flipper/issues/3622</a>).</li>
<li><code>runTest</code> now also fails if there were uncaught exceptions in coroutines not inherited from the test coroutine (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/1205">https://github.com/facebook/flipper/issues/1205</a>).</li>
</ul>
</li>
</ul>
<h3>Breaking changes</h3>
<ul>
<li>Old K/N memory model is no longer supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3375">https://github.com/facebook/flipper/issues/3375</a>).</li>
<li>New generic upper bounds were added to reactive integration API where the language since 1.8.0 dictates (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3393">https://github.com/facebook/flipper/issues/3393</a>).</li>
<li><code>kotlinx-coroutines-core</code> and <code>kotlinx-coroutines-jdk8</code> artifacts were merged into a single artifact (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3268">https://github.com/facebook/flipper/issues/3268</a>).</li>
<li>Artificial stackframes in stacktrace recovery no longer contain the <code>\b</code> symbol and are now navigable in IDE and supplied with proper documentation (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2291">https://github.com/facebook/flipper/issues/2291</a>).</li>
<li><code>CoroutineContext.isActive</code> returns <code>true</code> for contexts without any job in them (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3300">https://github.com/facebook/flipper/issues/3300</a>).</li>
</ul>
<h3>Bug fixes and improvements</h3>
<ul>
<li>Kotlin version is updated to 1.8.20</li>
<li>Atomicfu version is updated to 0.20.2.</li>
<li><code>JavaFx</code> version is updated to 17.0.2 in <code>kotlinx-coroutines-javafx</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3671">https://github.com/facebook/flipper/issues/3671</a>)..</li>
<li>JPMS is supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2237">https://github.com/facebook/flipper/issues/2237</a>). Thanks <a href="https://github.com/lion7"><code>@​lion7</code></a>!</li>
<li><code>BroadcastChannel</code> and all the corresponding API are deprecated (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2680">https://github.com/facebook/flipper/issues/2680</a>).</li>
<li>Added all supported K/N targets (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3601">https://github.com/facebook/flipper/issues/3601</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/812">https://github.com/facebook/flipper/issues/812</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/855">https://github.com/facebook/flipper/issues/855</a>).</li>
<li>K/N <code>Dispatchers.Default</code> is backed by the number of threads equal to the number of available cores (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3366">https://github.com/facebook/flipper/issues/3366</a>).</li>
<li>Fixed an issue where some coroutines' internal exceptions were not properly serializable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3328">https://github.com/facebook/flipper/issues/3328</a>).</li>
<li>Introduced <code>Job.parent</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3201">https://github.com/facebook/flipper/issues/3201</a>).</li>
<li>Fixed a bug when <code>TestScheduler</code> leaked cancelled jobs (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3398">https://github.com/facebook/flipper/issues/3398</a>).</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md">org.jetbrains.kotlinx:kotlinx-coroutines-android's changelog</a>.</em></p>
<blockquote>
<h2>Version 1.7.2</h2>
<h3>Bug fixes and improvements</h3>
<ul>
<li>Coroutines debugger no longer keeps track of coroutines with empty coroutine context (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3782">https://github.com/facebook/flipper/issues/3782</a>).</li>
<li><code>CopyableThreadContextElement</code> now properly copies an element when crossing the coroutine boundary in <code>flowOn</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3787">https://github.com/facebook/flipper/issues/3787</a>). Thanks <a href="https://github.com/wanyingd1996"><code>@​wanyingd1996</code></a>!</li>
<li>Coroutine timeouts no longer prevent K/N <code>newSingleThreadContext</code> from closing (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3768">https://github.com/facebook/flipper/issues/3768</a>).</li>
<li>A non-linearizability in <code>Mutex</code> during <code>tryLock</code>/<code>unlock</code> sequence with owners is fixed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3745">https://github.com/facebook/flipper/issues/3745</a>).</li>
<li>Atomicfu version is updated to 0.21.0.</li>
</ul>
<h2>Version 1.7.1</h2>
<h3>Bug fixes and improvements</h3>
<ul>
<li>Special characters in coroutine names in JSON dumps are supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3747">https://github.com/facebook/flipper/issues/3747</a>)</li>
<li>The binary compatibility of the experimental overload of <code>runTest</code> is restored (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3673">https://github.com/facebook/flipper/issues/3673</a>)</li>
<li>Channels that don't use <code>onUndeliveredElement</code> now allocate less memory (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3646">https://github.com/facebook/flipper/issues/3646</a>)</li>
</ul>
<h2>Version 1.7.0</h2>
<h3>Core API significant improvements</h3>
<ul>
<li>New <code>Channel</code> implementation with significant performance improvements across the API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3621">https://github.com/facebook/flipper/issues/3621</a>).</li>
<li>New <code>select</code> operator implementation: faster, more lightweight, and more robust (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3020">https://github.com/facebook/flipper/issues/3020</a>).</li>
<li><code>Mutex</code> and <code>Semaphore</code> now share the same underlying data structure (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3020">https://github.com/facebook/flipper/issues/3020</a>).</li>
<li><code>Dispatchers.IO</code> is added to K/N (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3205">https://github.com/facebook/flipper/issues/3205</a>)
<ul>
<li><code>newFixedThreadPool</code> and <code>Dispatchers.Default</code> implementations on K/N were wholly rewritten to support graceful growth under load (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3595">https://github.com/facebook/flipper/issues/3595</a>).</li>
</ul>
</li>
<li><code>kotlinx-coroutines-test</code> rework:
<ul>
<li>Add the <code>timeout</code> parameter to <code>runTest</code> for the whole-test timeout, 10 seconds by default (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3270">https://github.com/facebook/flipper/issues/3270</a>). This replaces the configuration of quiescence timeouts, which is now deprecated (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3603">https://github.com/facebook/flipper/issues/3603</a>).</li>
<li>The <code>withTimeout</code> exception messages indicate if the timeout used the virtual time (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3588">https://github.com/facebook/flipper/issues/3588</a>).</li>
<li><code>TestCoroutineScheduler</code>, <code>runTest</code>, and <code>TestScope</code> API are promoted to stable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3622">https://github.com/facebook/flipper/issues/3622</a>).</li>
<li><code>runTest</code> now also fails if there were uncaught exceptions in coroutines not inherited from the test coroutine (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/1205">https://github.com/facebook/flipper/issues/1205</a>).</li>
</ul>
</li>
</ul>
<h3>Breaking changes</h3>
<ul>
<li>Old K/N memory model is no longer supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3375">https://github.com/facebook/flipper/issues/3375</a>).</li>
<li>New generic upper bounds were added to reactive integration API where the language since 1.8.0 dictates (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3393">https://github.com/facebook/flipper/issues/3393</a>).</li>
<li><code>kotlinx-coroutines-core</code> and <code>kotlinx-coroutines-jdk8</code> artifacts were merged into a single artifact (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3268">https://github.com/facebook/flipper/issues/3268</a>).</li>
<li>Artificial stackframes in stacktrace recovery no longer contain the <code>\b</code> symbol and are now navigable in IDE and supplied with proper documentation (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2291">https://github.com/facebook/flipper/issues/2291</a>).</li>
<li><code>CoroutineContext.isActive</code> returns <code>true</code> for contexts without any job in them (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3300">https://github.com/facebook/flipper/issues/3300</a>).</li>
</ul>
<h3>Bug fixes and improvements</h3>
<ul>
<li>Kotlin version is updated to 1.8.20</li>
<li>Atomicfu version is updated to 0.20.2.</li>
<li><code>JavaFx</code> version is updated to 17.0.2 in <code>kotlinx-coroutines-javafx</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3671">https://github.com/facebook/flipper/issues/3671</a>)..</li>
<li>JPMS is supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2237">https://github.com/facebook/flipper/issues/2237</a>). Thanks <a href="https://github.com/lion7"><code>@​lion7</code></a>!</li>
<li><code>BroadcastChannel</code> and all the corresponding API are deprecated (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2680">https://github.com/facebook/flipper/issues/2680</a>).</li>
<li>Added all supported K/N targets (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3601">https://github.com/facebook/flipper/issues/3601</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/812">https://github.com/facebook/flipper/issues/812</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/855">https://github.com/facebook/flipper/issues/855</a>).</li>
<li>K/N <code>Dispatchers.Default</code> is backed by the number of threads equal to the number of available cores (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3366">https://github.com/facebook/flipper/issues/3366</a>).</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="5b64a1fcf3"><code>5b64a1f</code></a> Merge pull request <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3797">https://github.com/facebook/flipper/issues/3797</a> from Kotlin/version-1.7.2</li>
<li><a href="71793d9abe"><code>71793d9</code></a> Version 1.7.2</li>
<li><a href="c7545b5b20"><code>c7545b5</code></a> Fix newSingleThreadContext awaiting cancelled scheduled coroutines (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3769">https://github.com/facebook/flipper/issues/3769</a>)</li>
<li><a href="897599fd01"><code>897599f</code></a> Merge branch 'master' into develop</li>
<li><a href="d4f45b60a0"><code>d4f45b6</code></a> Do not track coroutines with empty coroutine context in DebugProbes (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3784">https://github.com/facebook/flipper/issues/3784</a>)</li>
<li><a href="56647138ac"><code>5664713</code></a> Formalize the internal IDEA dependencies for binary compatibility (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3746">https://github.com/facebook/flipper/issues/3746</a>)</li>
<li><a href="c48511826e"><code>c485118</code></a> Merge pull request <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3791">https://github.com/facebook/flipper/issues/3791</a> from Kotlin/bobova/up-config</li>
<li><a href="a241dcf55c"><code>a241dcf</code></a> Update atomicfu &amp; binary-compatibility-validator (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3792">https://github.com/facebook/flipper/issues/3792</a>)</li>
<li><a href="c6a39204bb"><code>c6a3920</code></a> Update user projects config: adapt build script to new TeamCity variables</li>
<li><a href="acc6acd919"><code>acc6acd</code></a> OptIn for ExperimentalNativeApi (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3788">https://github.com/facebook/flipper/issues/3788</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.4...1.7.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.jetbrains.kotlinx:kotlinx-coroutines-android&package-manager=gradle&previous-version=1.6.4&new-version=1.7.2)](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/4914

Reviewed By: lblasa

Differential Revision: D47592091

Pulled By: passy

fbshipit-source-id: 78a6cb146016fe21c7f7596d54f5244dcfd09f81
2023-07-21 11:33:05 -07:00
2023-05-24 09:04:58 -07:00
OSS
2023-07-21 04:47:13 -07:00
2023-07-21 07:48:17 -07:00
2023-07-20 06:41:58 -07:00
2023-01-10 06:14:43 -08:00
2023-07-19 07:00:09 -07:00
2020-07-08 07:10:46 -07:00
2020-11-09 08:24:28 -08:00
2020-03-26 05:53:53 -07:00
2023-05-17 09:33:45 -07:00
2019-09-30 06:41:57 -07:00
2018-06-01 11:03:58 +01:00
2020-04-14 09:21:58 -07:00
2018-07-31 08:15:12 -07:00
2019-08-29 23:21:14 -07:00
2020-11-09 08:24:28 -08:00
2023-07-19 02:47:42 -07:00
2023-07-19 02:47:42 -07:00
2022-12-05 07:57:16 -08:00
2023-06-23 14:42:14 -07:00
2020-08-10 08:47:32 -07:00

logo

Flipper

Android Maven Badge iOS

Flipper (formerly Sonar) is a platform for debugging mobile apps on iOS and Android and 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.

Flipper

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)
  • 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

Requires RN 0.69+!

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.

React Native Windows (Experimental)

An experimental version of Flipper for React Native Windows is available. The following steps prepare the React Native Flipper project:

cd react-native/react-native-flipper
vcpkg install openssl:x64-uwp openssl:arm-uwp
vcpkg integrate install
yarn install
cd windows
nuget install ReactNativeFlipper/packages.config

In a nutshell, vcpkg is used to install OpenSSL. Nuget is used to install Boost.

Then, the sample application can be built and run as follows:

cd ../../ReactNativeFlipperExample
yarn install
yarn relative-deps
npx react-native run-windows

At the moment there's no available package for React Native Flipper. This means that to integrate Flipper with any other existing applications, an explicit reference to the project needs to be added just as is done with the sample application.

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.

Description
No description provided
Readme 106 MiB
Languages
TypeScript 61.2%
Java 9.9%
Objective-C 7%
Kotlin 5.8%
C++ 4.8%
Other 11.2%