You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## 📜 Description
Updated installation guide.
## 💡 Motivation and Context
People sometimes complain about the problem when package is not linked,
so I decided to improve docs to reduce similar issues in the future.
Closes#786
## 📢 Changelog
<!-- High level overview of important changes -->
<!-- For example: fixed status bar manipulation; added new types
declarations; -->
<!-- If your changes don't affect one of platform/language below - then
remove this platform/language -->
### Docs
- clearly mention expo setup (because expo uses its own installation
command);
- mention a problem and solution of build caches;
- move expo note under expo installation tab.
## 🤔 How Has This Been Tested?
Tested locally and via preview.
## 📸 Screenshots (if appropriate):
<img width="989" alt="image"
src="https://github.com/user-attachments/assets/223f534f-60fc-4a42-8330-c8ed506f26d3"
/>
## 📝 Checklist
- [x] CI successfully passed
- [x] I added new mocks and corresponding unit-tests if library API was
changed
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
+
40
51
</TabItem>
41
52
</Tabs>
42
53
@@ -51,14 +62,11 @@ This package supports [autolinking](https://github.com/react-native-community/cl
51
62
52
63
:::tip Pods update
53
64
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.
55
66
67
+
If you still experience issues like **package doesn't seem to be linked** try performing a [fresh build](https://github.com/kirillzyusko/react-native-keyboard-controller/issues/786#issuecomment-2741464142) to clear any outdated cache.
56
68
:::
57
69
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
-
62
70
## Adding provider
63
71
64
72
In order to use it you'll need to wrap your app with `KeyboardProvider` component.
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
+
40
51
</TabItem>
41
52
</Tabs>
42
53
@@ -51,14 +62,11 @@ This package supports [autolinking](https://github.com/react-native-community/cl
51
62
52
63
:::tip Pods update
53
64
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.
55
66
67
+
If you still experience issues like **package doesn't seem to be linked** try performing a [fresh build](https://github.com/kirillzyusko/react-native-keyboard-controller/issues/786#issuecomment-2741464142) to clear any outdated cache.
56
68
:::
57
69
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
-
62
70
## Adding provider
63
71
64
72
In order to use it you'll need to wrap your app with `KeyboardProvider` component.
0 commit comments