@lapwy/react-native 0.1.1 → 0.1.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.md +7 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lapwy/react-native
|
|
2
2
|
|
|
3
|
-
lapwy for React Native and Expo.
|
|
3
|
+
[lapwy](https://lapwy.com) for React Native and Expo.
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
6
|
npm install @lapwy/react-native @react-native-async-storage/async-storage
|
|
@@ -18,3 +18,9 @@ track("add_to_cart", { product: "monstera" });
|
|
|
18
18
|
Screens can be followed for you: `navigationTracker` for React Navigation, `useScreen` for Expo Router or any screen component.
|
|
19
19
|
|
|
20
20
|
A user is told apart by one random id per install, kept in the storage you pass. Events wait in a queue that survives being offline and the app being closed. Time on a screen counts only while the app is in the foreground.
|
|
21
|
+
|
|
22
|
+
## Links
|
|
23
|
+
|
|
24
|
+
- [lapwy.com](https://lapwy.com): add your site and get its key (`lw_…`) under Settings → Install
|
|
25
|
+
- [SDK reference](https://lapwy.com/docs): every option, cookie modes, page grouping
|
|
26
|
+
- [llms.txt](https://lapwy.com/llms.txt): the same reference for AI coding agents
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lapwy/react-native",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "lapwy for React Native and Expo: init, screen, track, with an offline queue.",
|
|
5
|
+
"homepage": "https://lapwy.com",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"type": "module",
|
|
7
8
|
"sideEffects": false,
|