Skip to content

Commit 65eb5b6

Browse files
committed
docs: updated Expo installation instruction
1 parent e1a4cc4 commit 65eb5b6

File tree

2 files changed

+24
-10
lines changed

2 files changed

+24
-10
lines changed

docs/docs/installation.mdx

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@ yarn add react-native-keyboard-controller
3737
npm install react-native-keyboard-controller --save
3838
```
3939

40+
</TabItem>
41+
<TabItem value="expo" label="EXPO">
42+
43+
```shell
44+
npx expo install react-native-keyboard-controller
45+
```
46+
47+
:::note Only Expo Dev client compatible
48+
This library has native code, so it **does not work** with _Expo Go_ but it's fully compatible with [custom dev client](https://docs.expo.dev/development/getting-started/).
49+
:::
50+
4051
</TabItem>
4152
</Tabs>
4253

@@ -51,14 +62,10 @@ This package supports [autolinking](https://github.com/react-native-community/cl
5162

5263
:::tip Pods update
5364

54-
Don't forget to re-install `pods` after adding the package and don't forget to re-assemble `android` and `ios` applications, since this library contains native code.
65+
After adding the package don't forget to **re-install** `pods` and **re-assemble** `android` and `ios` applications, since this library contains native code.
5566

5667
:::
5768

58-
### Expo
59-
60-
This library has native code, so it does not work with _Expo Go_ but you can easily install it using a [custom dev client](https://docs.expo.dev/development/getting-started/).
61-
6269
## Adding provider
6370

6471
In order to use it you'll need to wrap your app with `KeyboardProvider` component.

docs/versioned_docs/version-1.16.0/installation.mdx

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@ yarn add react-native-keyboard-controller
3737
npm install react-native-keyboard-controller --save
3838
```
3939

40+
</TabItem>
41+
<TabItem value="expo" label="EXPO">
42+
43+
```shell
44+
npx expo install react-native-keyboard-controller
45+
```
46+
47+
:::note Only Expo Dev client compatible
48+
This library has native code, so it **does not work** with _Expo Go_ but it's fully compatible with [custom dev client](https://docs.expo.dev/development/getting-started/).
49+
:::
50+
4051
</TabItem>
4152
</Tabs>
4253

@@ -51,14 +62,10 @@ This package supports [autolinking](https://github.com/react-native-community/cl
5162

5263
:::tip Pods update
5364

54-
Don't forget to re-install `pods` after adding the package and don't forget to re-assemble `android` and `ios` applications, since this library contains native code.
65+
After adding the package don't forget to **re-install** `pods` and **re-assemble** `android` and `ios` applications, since this library contains native code.
5566

5667
:::
5768

58-
### Expo
59-
60-
This library has native code, so it does not work with _Expo Go_ but you can easily install it using a [custom dev client](https://docs.expo.dev/development/getting-started/).
61-
6269
## Adding provider
6370

6471
In order to use it you'll need to wrap your app with `KeyboardProvider` component.

0 commit comments

Comments
 (0)