@attribra/react-native 2.9.9 → 2.9.11

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/INSTALL.md CHANGED
@@ -39,7 +39,7 @@ Attribra.configure({
39
39
 
40
40
  6. Product events: `await Attribra.track('sign_in')`
41
41
 
42
- **Offline events (SDK 2.9+):** if the device is offline or the request times out / 5xx, `track` / `trackBatch` / `open_app` / `app_install` / `reattributed` are stored locally (up to 100) and sent when the network is back (app foreground, next successful send, or NetInfo if installed). `AurionSignal.flushQueue()` forces a flush; `pendingQueueSize()` shows how many are waiting.
42
+ **Offline events (SDK 2.9+):** if the device is offline or the request times out / 5xx, `track` / `trackBatch` / `open_app` / `app_install` / `reattributed` are stored locally (up to 100) and sent when the network is back (app foreground, next successful send, or NetInfo if installed). `Attribra.flushQueue()` forces a flush; `pendingQueueSize()` shows how many are waiting.
43
43
 
44
44
  Deep links with `campaign_id` / `utm_*` are captured automatically. One `app_install` is sent per device after a short grace window so cold-start App Links are attributed.
45
45
 
@@ -60,9 +60,9 @@ After install, the SDK also sends `open_app` on cold start and when the app retu
60
60
 
61
61
  ```tsx
62
62
  // Tests / manual paste — not required for production deep links
63
- AurionSignal.applyAttributionFromUrl(url)
64
- AurionSignal.applyInstallReferrer(referrer)
65
- await AurionSignal.flushInstall()
63
+ Attribra.applyAttributionFromUrl(url)
64
+ Attribra.applyInstallReferrer(referrer)
65
+ await Attribra.flushInstall()
66
66
  ```
67
67
 
68
68
  ## SKAdNetwork (iOS, SDK 2.7+)
package/README.md CHANGED
@@ -44,8 +44,6 @@ await Attribra.track('sign_in')
44
44
 
45
45
  Create an API key in the Attribra dashboard (**API Keys**, prefix `asg_`).
46
46
 
47
- > Older apps may still `import { AurionSignal }` — it is the same object as `Attribra` (deprecated alias).
48
-
49
47
  ## What the SDK does
50
48
 
51
49
  1. Captures launch / warm deep links and short links (`/l/...`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@attribra/react-native",
3
- "version": "2.9.9",
3
+ "version": "2.9.11",
4
4
  "description": "Attribra attribution and event SDK for React Native — deep links, install/reinstall, offline queue, SKAN, Appnext. Import { Attribra } from '@attribra/react-native'.",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -154,7 +154,7 @@ const STORE_PENDING_URL = 'asg_pending_attribution_url'
154
154
  const STORE_ATTRIBUTION_AT = 'asg_attribution_at'
155
155
  const STORE_LOCATION = 'asg_location'
156
156
  const STORE_EVENT_QUEUE = 'asg_event_queue'
157
- const SDK_VERSION = '2.9.9'
157
+ const SDK_VERSION = '2.9.11'
158
158
  let cachedGaid: string | null = null
159
159
  const DEFAULT_DEEP_LINK_GRACE_MS = 3000
160
160
  const DEFAULT_ATTRIBUTION_WINDOW_DAYS = 30
@@ -2108,7 +2108,7 @@ export const AurionSignal = {
2108
2108
  },
2109
2109
  }
2110
2110
 
2111
- /** Preferred public API name. Same runtime object as legacy `AurionSignal`. */
2111
+ /** Public API — import { Attribra } from '@attribra/react-native'. */
2112
2112
  export const Attribra = AurionSignal
2113
2113
 
2114
2114
  export type AttribraConfig = AurionConfig
package/src/index.ts CHANGED
@@ -1,15 +1,10 @@
1
1
  export {
2
2
  Attribra,
3
- /** @deprecated Use `Attribra` — kept for older apps. */
4
- AurionSignal,
5
3
  detectPlatform,
6
4
  parseAttributionFromUrl,
7
5
  type AttribraAttribution,
8
6
  type AttribraConfig,
9
7
  type AttribraPlatform,
10
- type AurionAttribution,
11
- type AurionConfig,
12
- type AurionPlatform,
13
8
  type TrackProperties,
14
9
  type TrackEventInput,
15
10
  } from './AurionSignal'