- 
                Notifications
    You must be signed in to change notification settings 
- Fork 929
Closed
Labels
Description
In the 1st section of autolinking.md, it shows this text:
React Native libraries often come with platform-specific (native) code. Autolinking is a mechanism that allows your project to discover and use this code.
Add a library using your favorite package manager and run the build:
# install
yarn add react-native-webview
cd ios && pod install && cd .. # CocoaPods on iOS needs this extra step
# run
yarn react-native run-ios
yarn react-native run-android
That's it. No more editing build config files to use native code.
It clearly shows the process for installing a package that supports autolinking.
But it doesn't show the process for uninstalling, and in my opinion it's not a good idea to assume it's obvious and that any reader can figure it out themselves. The popularity of this question, and especially the popularity of this answer, shows that many people struggle with understanding package uninstallation. And the autolinking docs in this repo don't mention uninstallation.
So I suggest we add this text (to be placed below the section I showed above) to autolinking.md =>
To uninstall, you follow a similar process as installing:
yarn remove react-native-webview
# (iOS only) update your pods
cd ios && pod install && cd ..
When uninstalling a package, the package is automatically unlinked.