Updated the documentation of the shared preferences plugin

Summary: As per the title

Reviewed By: passy

Differential Revision: D15181533

fbshipit-source-id: ca2b13dc81cd28fd2d6ab84fbdc000006d2d43e9
This commit is contained in:
Pritesh Nandgaonkar
2019-05-02 04:53:38 -07:00
committed by Facebook Github Bot
parent 31542ca790
commit 384568a4a0

View File

@@ -17,6 +17,13 @@ client.addPlugin(
## iOS
If you want to use the Shared Preferences plugin, you need to add `FlipperKit/FlipperKitUserDefaultsPlugin` to your Podfile.
```ruby
pod 'FlipperKit/FlipperKitUserDefaultsPlugin', '~>' + flipperkit_version
```
Initialize the plugin in the following way:
<!--DOCUSAURUS_CODE_TABS-->
<!--Objective-C-->