From 8b4888eb7be8fdbe998ecf13e1d4188277debca5 Mon Sep 17 00:00:00 2001 From: Matteo Mazzarolo Date: Wed, 22 Sep 2021 18:27:48 +0200 Subject: [PATCH] docs(website): update auto-linking info for macOS Since React Native for macOS 0.63, autolink works (as long as `platform :macos, '10.14'` is set in Podfile See #587 --- website/docs/Installation.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/website/docs/Installation.md b/website/docs/Installation.md index 473e7cfc..54de3fc0 100644 --- a/website/docs/Installation.md +++ b/website/docs/Installation.md @@ -51,4 +51,10 @@ react-native link @react-native-async-storage/async-storage For earlier versions check [manual linking](Linking.md) #### macOS -For `macOS` the [manual linking](Linking.md) is currently the only linking option. +- **React Native macOS >= 0.63** +1. Set `platform :macos, '10.14'` in `macos/Podfile` +2. Install the pods +3. From now on [CLI autolink feature](https://microsoft.github.io/react-native-windows/docs/native-modules-autolinking) will link the module while building the app. + +- **React Native Windows <= 0.62** +For earlier versions check [manual linking](Linking.md)