@mustafaaksoy41/react-native-offline-queue 0.1.8 → 0.1.10
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/LICENSE +1 -1
- package/README.md +8 -0
- package/package.json +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -60,6 +60,14 @@ Queue operations when offline, sync automatically or manually when connectivity
|
|
|
60
60
|
- **Customizable restore UI** — Alert, Toast, BottomSheet, or silent — you decide
|
|
61
61
|
- **Background task compatible** — use `OfflineManager.flushQueue()` from any context
|
|
62
62
|
|
|
63
|
+
## Example App (Video)
|
|
64
|
+
|
|
65
|
+
A demo app showing offline mutations, optimistic UI updates, and auto-sync when connectivity returns.
|
|
66
|
+
|
|
67
|
+
[](https://www.youtube.com/shorts/G72jW65lIno)
|
|
68
|
+
|
|
69
|
+
*Tap the thumbnail to watch on YouTube*
|
|
70
|
+
|
|
63
71
|
## Network Status
|
|
64
72
|
|
|
65
73
|
The most basic thing: know if the user is online or offline. Use this anywhere in your app — only the component that reads `isOnline` re-renders when it changes.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mustafaaksoy41/react-native-offline-queue",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "A flexible, high-performance offline queue and synchronizer for React Native. Works great with React Query (TanStack Query).",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|