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
Merge pull request #231 from mateusz1913/chore/eslint-and-contributing
chore: fix lint on CI, CONTRIBUTING and upgrade GH Actions to v4
- mark import/no-unresolved as warning and fix CONTRIBUTING
- fix TS config
- fix incorrect workspace versioning in example
@@ -20,21 +20,24 @@ To get started with the project, run `yarn` in the root directory to install the
20
20
yarn
21
21
```
22
22
23
-
While developing, you can run the [example app](/packages/example/) to test your changes. Any changes you make in your library's JavaScript code will be reflected in the example app without a rebuild. If you change any native code, then you'll need to rebuild the example app.
23
+
While developing, you can run the [example app](/packages/expo-example/) to test your changes. Any changes you make in your library's JavaScript code will be reflected in the example app without a rebuild. If you change any native code, then you'll need to rebuild the example app.
24
24
25
-
To start the packager, run `cd packages/example` and then run `yarn start`
25
+
```sh
26
+
cd packages/expo-example
27
+
yarn prebuild
28
+
```
26
29
27
30
To run the example app on Android:
28
31
29
32
```sh
30
-
cd packages/example
33
+
cd packages/expo-example
31
34
yarn android
32
35
```
33
36
34
37
To run the example app on iOS:
35
38
36
39
```sh
37
-
cd packages/example
40
+
cd packages/expo-example
38
41
yarn ios
39
42
```
40
43
@@ -53,19 +56,18 @@ yarn format:js
53
56
54
57
To edit the Objective-C files
55
58
56
-
- install Pods with `yarn install:pods`
57
-
- open XCode with
59
+
- install Pods and open XCode with
58
60
59
61
```sh
60
-
cd packages/example
62
+
cd packages/expo-example
61
63
xed ios
62
64
```
63
65
64
66
- find the source files in XCode at `Pods > Development Pods > ReactNativeAvoidSoftinput`.
65
67
66
68
To edit the Kotlin files:
67
69
68
-
- open `packages/example/android` in Android Studio and find the source files at `react-native-avoid-softinput` under `Android`.
70
+
- open `packages/expo-example/android` in Android Studio and find the source files at `react-native-avoid-softinput` under `Android`.
69
71
70
72
To run Docusaurus documentation locally, run the following:
71
73
@@ -140,8 +142,6 @@ The `package.json` file contains various scripts for common tasks:
140
142
-`yarn format:android`: format (Spotless/Ktfmt) all Kotlin/Java files.
141
143
-`yarn format:ios:objc`: format (ClangFormat) all ObjC/ObjC++ files (install [ClangFormat](https://clang.llvm.org/) e.g. with Homebrew).
142
144
-`yarn release` release library to npm.
143
-
-`yarn install:pods`: setup project's pods.
144
-
-`yarn install:pods:fabric`: setup project's pods with new arch.
145
145
-`yarn reset`: clean all project's dependencies and pods.
146
146
-`yarn reset:node_modules`: clean all project's dependencies.
0 commit comments