Skip to content

Commit cdae3e7

Browse files
pioner92pioner921227
authored andcommitted
Update README.md
1 parent 5de34c5 commit cdae3e7

File tree

2 files changed

+30
-7
lines changed

2 files changed

+30
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 🚀 SyncTasksManager (JSI)
22

33
<p align="center">
4-
<img src="./assets/img.png" width="600"/>
4+
<img src="./assets/img.png" width="700"/>
55
</p>
66

77
**SyncTasksManager** is a native JSI-based library for React Native that allows you to manage and execute background sync tasks (such as periodic API polling) efficiently from JavaScript, while delegating the actual execution to the native layer for better performance.
@@ -25,7 +25,7 @@
2525
2626
```bash
2727
# Install your native module here (replace with real package)
28-
npm install react-native-sync-tasks-manager
28+
npm install react-native-sync-tasks
2929
```
3030

3131
> Don’t forget to run `pod install` for iOS if using CocoaPods.
@@ -35,7 +35,7 @@ npm install react-native-sync-tasks-manager
3535
## 🛠️ Usage
3636

3737
```ts
38-
import { createTask, SyncTasksManager } from 'react-native-sync-tasks-manager';
38+
import { createTask, SyncTasksManager } from 'react-native-sync-tasks';
3939

4040
const task = createTask<{ response: string }>({
4141
config: {

package.json

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"name": "react-native-sync-tasks",
33
"version": "0.1.0",
4-
"description": "api sync tasks",
5-
"main": "./lib/commonjs/index.js",
4+
"description": "JSI-based task manager for React Native that periodically fetches data from a server, deduplicates responses using hashing, and provides centralized task control via native C++ module.""main": "./lib/commonjs/index.js",
65
"module": "./lib/module/index.js",
76
"types": "lib/typescript/index.d.ts",
87
"react-native": "src/index",
@@ -38,7 +37,31 @@
3837
"keywords": [
3938
"react-native",
4039
"ios",
41-
"android"
40+
"android",
41+
"react-native",
42+
"jsi",
43+
"native-module",
44+
"task-manager",
45+
"background-tasks",
46+
"http-polling",
47+
"api-sync",
48+
"react-native-native-module",
49+
"high-performance",
50+
"c++",
51+
"jni",
52+
"bridge-less",
53+
"sync",
54+
"data-fetching",
55+
"react-native-jsi",
56+
"react-native-task-manager",
57+
"react-native-background-fetch",
58+
"react-native-background-tasks",
59+
"react-native-background-job",
60+
"react-native-background-fetching",
61+
"react-native-background-api",
62+
"react-native-background-sync",
63+
"react-native-background-polling",
64+
"react-native-sync-tasks"
4265
],
4366
"repository": {
4467
"type": "git",
@@ -156,4 +179,4 @@
156179
"languages": "cpp",
157180
"version": "0.49.8"
158181
}
159-
}
182+
}

0 commit comments

Comments
 (0)