Update docs to use latest Flipper SDK (#3970)

Summary:
Since react-native 0.69 the use_flipper method has been refactored to a different way to enable flipper within a react-native project.

After upgrading to react-native 0.69.0 my Flipper SDK version downgraded to version 0.125.0. I had to find a new way to be able to pass the version as parameter so i can use the latest flipper SDK. As i could not find any documentation about this, I read the source code and had to figure it out myself. Hope to save some time for some people in the future.

## Changelog

Updated docs to use latest Flipper SDK

Pull Request resolved: https://github.com/facebook/flipper/pull/3970

Test Plan:
No tests as it is a documentation change.

**Static Docs Preview: flipper**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D38784983/V2/flipper/)|

|**Modified Pages**|
|[docs/getting-started/react-native](https://our.intern.facebook.com/intern/staticdocs/eph/D38784983/V2/flipper/docs/getting-started/react-native/)|

Reviewed By: passy

Differential Revision: D38784983

Pulled By: mweststrate

fbshipit-source-id: 98ef423c6812f1fa009d79171fcbd8a9a779ef1c
This commit is contained in:
Ronald van der Horst
2022-08-17 11:22:11 -07:00
committed by Facebook GitHub Bot
parent 739550e1e2
commit e797be6bd2

View File

@@ -37,6 +37,11 @@ Android:
iOS: iOS:
react-native version => 0.69.0
1. Call `FlipperConfiguration.enabled` with a specific version in `ios/Podfile`, for example: `:flipper_configuration => FlipperConfiguration.enabled(["Debug"], { 'Flipper' => '0.159.0' }),`.
2. Run `pod install --repo-update` in the `ios` directory.
react-native version < 0.69.0
1. Call `use_flipper` with a specific version in `ios/Podfile`, for example: `use_flipper!({ 'Flipper' => '0.159.0' })`. 1. Call `use_flipper` with a specific version in `ios/Podfile`, for example: `use_flipper!({ 'Flipper' => '0.159.0' })`.
2. Run `pod install --repo-update` in the `ios` directory. 2. Run `pod install --repo-update` in the `ios` directory.