react-native-geo-activity-kit 4.0.0 → 4.0.1
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.md +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A **production-grade, battery-efficient background tracking and activity recognition library for React Native**.
|
|
4
4
|
|
|
5
|
-
This library is designed for **
|
|
5
|
+
This library is designed for **apps that require reliable background location tracking and activity recognition**. It combines **Google Fused Location Provider** with the **Activity Recognition Transition API** to create a **Smart Tracking Engine** that automatically adjusts GPS frequency based on user movement — ensuring **high accuracy when moving** and **near-zero battery drain when stationary**.
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -132,8 +132,8 @@ import GeoKit from 'react-native-geo-activity-kit';
|
|
|
132
132
|
|
|
133
133
|
const startTracking = async () => {
|
|
134
134
|
await GeoKit.startForegroundService(
|
|
135
|
-
'
|
|
136
|
-
'
|
|
135
|
+
'Location Service Active',
|
|
136
|
+
'Tracking location in background',
|
|
137
137
|
9991
|
|
138
138
|
);
|
|
139
139
|
|
|
@@ -183,8 +183,8 @@ useEffect(() => {
|
|
|
183
183
|
### Geofence Alerts
|
|
184
184
|
|
|
185
185
|
```javascript
|
|
186
|
-
GeoKit.fireGeofenceAlert('OUT', '
|
|
187
|
-
GeoKit.fireGeofenceAlert('IN', '
|
|
186
|
+
GeoKit.fireGeofenceAlert('OUT', 'User');
|
|
187
|
+
GeoKit.fireGeofenceAlert('IN', 'User');
|
|
188
188
|
```
|
|
189
189
|
|
|
190
190
|
---
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-geo-activity-kit",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "Battery-efficient location tracking with motion detection and native notifications.",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|