@attryio/react-native 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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Attry, ATTRY_EVENTS, MemoryStorage, parseAttryUrl } from "@attryio/sdk-core";
2
2
  const SDK_NAME = "attry-react-native";
3
- const SDK_VERSION = "0.1.8";
3
+ const SDK_VERSION = "0.1.9";
4
4
  export { parseAttryUrl };
5
5
  export async function createAttryReactNative(config) {
6
6
  const rn = loadReactNative();
@@ -226,9 +226,9 @@ export async function collectInstallAttribution(client, rn) {
226
226
  if (token) {
227
227
  const response = await client.submitAppleAdsToken(token);
228
228
  await client.track("apple_ads_token_collected", {
229
- attribution: response?.attribution ?? {
230
- source: "apple_ads_adservices",
231
- confidence: "deterministic"
229
+ properties: {
230
+ exchangeStatus: response?.exchangeStatus ?? "unknown",
231
+ attributed: Boolean(response?.attribution)
232
232
  }
233
233
  });
234
234
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@attryio/react-native",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "React Native SDK for Attry mobile app analytics, attribution, deep links, deferred deep links, and revenue events.",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",