@blife/rn-step-counter 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.kr.md +6 -0
- package/README.md +39 -4
- package/package.json +18 -1
package/README.kr.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# React-Native Step Counter Library
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@blife/rn-step-counter)
|
|
4
|
+
|
|
5
|
+
**npm:** [@blife/rn-step-counter](https://www.npmjs.com/package/@blife/rn-step-counter) · **GitHub:** [bonnmh/rn-step-counter](https://github.com/bonnmh/rn-step-counter)
|
|
6
|
+
|
|
3
7
|
English-speaking developers, please return to the repository main page or click [the following link](README.md)
|
|
4
8
|
|
|
5
9
|
사용자가 일정 시간 걸은 걸음 수를 계산하기 위한 리액트 네이티브 모듈입니다. 이 패키지는 Android의 `StepCounter` 센서, Android 기기에서 하드웨어 스텝 카운터를 사용할 수 없을 때의 가속도계 기반 폴백, iOS의 `Core Motion` 프레임워크를 사용합니다.
|
|
@@ -10,6 +14,8 @@ English-speaking developers, please return to the repository main page or click
|
|
|
10
14
|
npm install @blife/rn-step-counter
|
|
11
15
|
```
|
|
12
16
|
|
|
17
|
+
npm 패키지: https://www.npmjs.com/package/@blife/rn-step-counter
|
|
18
|
+
|
|
13
19
|
```shell
|
|
14
20
|
yarn add @blife/rn-step-counter
|
|
15
21
|
```
|
package/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# React-Native Step Counter Library
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@blife/rn-step-counter)
|
|
4
|
+
[](https://www.npmjs.com/package/@blife/rn-step-counter)
|
|
5
|
+
[](https://github.com/bonnmh/rn-step-counter/blob/main/LICENSE)
|
|
6
|
+
|
|
7
|
+
**npm:** [@blife/rn-step-counter](https://www.npmjs.com/package/@blife/rn-step-counter) · **GitHub:** [bonnmh/rn-step-counter](https://github.com/bonnmh/rn-step-counter)
|
|
4
8
|
|
|
5
9
|
한국어 사용자는 [Korean version.](README.kr.md)를 참조하십시오.
|
|
6
10
|
|
|
@@ -8,12 +12,20 @@ This library provides an interface for tracking the number of steps taken by the
|
|
|
8
12
|
|
|
9
13
|
## Installation
|
|
10
14
|
|
|
15
|
+
Install from npm:
|
|
16
|
+
|
|
11
17
|
```shell
|
|
12
18
|
npm install @blife/rn-step-counter
|
|
13
19
|
```
|
|
14
20
|
|
|
21
|
+
Package page: https://www.npmjs.com/package/@blife/rn-step-counter
|
|
22
|
+
|
|
23
|
+
Alternatives:
|
|
24
|
+
|
|
15
25
|
```shell
|
|
16
26
|
bun add @blife/rn-step-counter
|
|
27
|
+
yarn add @blife/rn-step-counter
|
|
28
|
+
pnpm add @blife/rn-step-counter
|
|
17
29
|
```
|
|
18
30
|
|
|
19
31
|
Native modules will automatically connect after React Native 0.60 version. So you don't need to link the native modules manually.
|
|
@@ -151,10 +163,33 @@ See the [`Release Notes`](CHANGELOG.md) for a list of changes.
|
|
|
151
163
|
|
|
152
164
|
See the [`Contributing Guide`](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
|
|
153
165
|
|
|
154
|
-
##
|
|
166
|
+
## Support the project
|
|
155
167
|
|
|
156
|
-
|
|
168
|
+
Help others discover this library:
|
|
169
|
+
|
|
170
|
+
1. **Star the repo:** https://github.com/bonnmh/rn-step-counter
|
|
171
|
+
2. **Install from npm:** `npm install @blife/rn-step-counter`
|
|
172
|
+
3. **Ask or answer on Stack Overflow** with tags `react-native`, `pedometer`, and `step-counter`. Mention the package name `@blife/rn-step-counter`.
|
|
173
|
+
4. **Open a GitHub Discussion** for questions, ideas, or show-and-tell: https://github.com/bonnmh/rn-step-counter/discussions
|
|
174
|
+
|
|
175
|
+
### Stack Overflow template
|
|
157
176
|
|
|
158
|
-
|
|
177
|
+
```text
|
|
178
|
+
Title: How do I track steps in React Native with @blife/rn-step-counter?
|
|
159
179
|
|
|
160
|
-
|
|
180
|
+
Body:
|
|
181
|
+
I'm using [@blife/rn-step-counter](https://www.npmjs.com/package/@blife/rn-step-counter)
|
|
182
|
+
(React Native TurboModule for iOS Core Motion / Android step counter).
|
|
183
|
+
|
|
184
|
+
Environment:
|
|
185
|
+
- React Native: ...
|
|
186
|
+
- Platform: iOS / Android
|
|
187
|
+
- New Architecture: enabled
|
|
188
|
+
|
|
189
|
+
Question:
|
|
190
|
+
...
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
## License
|
|
194
|
+
|
|
195
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blife/rn-step-counter",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "This library provides an interface for tracking the number of steps taken by the user in a React Native app.",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|
|
@@ -44,6 +44,23 @@
|
|
|
44
44
|
},
|
|
45
45
|
"keywords": [
|
|
46
46
|
"react-native",
|
|
47
|
+
"react-native-step-counter",
|
|
48
|
+
"step-counter",
|
|
49
|
+
"step-counter-sensor",
|
|
50
|
+
"pedometer",
|
|
51
|
+
"CMPedometer",
|
|
52
|
+
"CoreMotion",
|
|
53
|
+
"core-motion",
|
|
54
|
+
"ACTIVITY_RECOGNITION",
|
|
55
|
+
"TYPE_STEP_COUNTER",
|
|
56
|
+
"accelerometer",
|
|
57
|
+
"turbomodule",
|
|
58
|
+
"turbo-module",
|
|
59
|
+
"new-architecture",
|
|
60
|
+
"fabric",
|
|
61
|
+
"health",
|
|
62
|
+
"fitness",
|
|
63
|
+
"walking",
|
|
47
64
|
"ios",
|
|
48
65
|
"android"
|
|
49
66
|
],
|