Skip to content

Commit

Permalink
doc: sdk initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
rnike committed Mar 12, 2021
1 parent 3f81f47 commit b543370
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,17 @@ The `AppDelegate.m` file can only have one method for `openUrl`. If you're also

## Usage

### SDK Initialization

The `autoInitEnabled` option is removed from [facebook-ios-sdk#v9.0.0](https://github.com/facebook/facebook-ios-sdk/blob/master/CHANGELOG.md#900). On iOS, developers are required to initialize the sdk after app launched.

```js
import { Settings } from 'react-native-fbsdk';

Settings.initializeSDK();
```
#### NOTE: This method is also functional on Android

### [Login](https://developers.facebook.com/docs/facebook-login)

#### Login Button + Access Token
Expand Down

0 comments on commit b543370

Please sign in to comment.