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
[22]: https://gist.github.com/assets/24992535/f6cb9f84-dc50-492b-963d-6d9e9396f451'wear os large round'
56
56
[23]: https://reactnative.dev/docs/debugging
57
+
58
+
### Sending a pull request
59
+
60
+
> **Working on your first pull request?** You can learn how from this _free_ series: [How to Contribute to an Open Source Project on GitHub](https://app.egghead.io/playlists/how-to-contribute-to-an-open-source-project-on-github).
61
+
62
+
When you're sending a pull request:
63
+
64
+
- Prefer small pull requests focused on one change.
65
+
- Verify that linters and tests are passing.
66
+
- Review the documentation to make sure it looks good.
67
+
- Follow the pull request template when opening a pull request.
68
+
- For pull requests that change the API or implementation, discuss with maintainers first by opening an issue.
We use [TypeScript](https://www.typescriptlang.org/) for type checking, [ESLint](https://eslint.org/) with [Prettier](https://prettier.io/) for linting and formatting the code, and [Jest](https://jestjs.io/) for testing.
75
+
76
+
Our pre-commit hooks verify that the linter and tests pass when committing.
77
+
78
+
### Publishing to npm
79
+
80
+
We use [release-it](https://github.com/release-it/release-it) to make it easier to publish new versions. It handles common tasks like bumping version based on semver, creating tags and releases etc.
81
+
82
+
To publish new versions, run the following:
83
+
84
+
```sh
85
+
yarn release
86
+
```
87
+
88
+
### Scripts
89
+
90
+
The `package.json` file contains various scripts for common tasks:
91
+
92
+
-`yarn`: setup project by installing dependencies.
93
+
-`yarn typecheck`: type-check files with TypeScript.
While some error messages are displayed on the metro server for the mobile or wearOS device (port 8082), other warnings are only available through logcat.
126
+
To display them you need to open the android logcat tool from within Android Studio, where you can select the emulator and filter the messages by package name (more info in this [screenshot][41]).
The Android Phone did not install the Wear OS app and did not pair with Wear OS device. Follow this [instructions][21].
132
141
142
+
#### wearOS device too far for bluetooth connection
143
+
144
+
Logcat (wearOS) includes the following warning when sending messages to the mobile device.
145
+
There is no message in the Metro Server.
146
+
147
+
```
148
+
Pixel_8_Pro_API_35Device is too far for bluetooth connection.
149
+
```
150
+
151
+
#### The mobile or wearOS device is not paired with any bluetooth device
152
+
153
+
Metro includes a message that no connected nodes are found message that no connected nodes are found. A node is a bluetooth device connected with another wearOS or Mobile device.
154
+
155
+
```logcat
156
+
No connected nodes found. client: com.google.android.gms.wearable.internal.zzgo@cc11cd connectedNodes: []
157
+
```
158
+
133
159
## Contributing
134
160
135
161
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
0 commit comments