@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.
- package/dist/index.js +4 -4
- 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.
|
|
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
|
-
|
|
230
|
-
|
|
231
|
-
|
|
229
|
+
properties: {
|
|
230
|
+
exchangeStatus: response?.exchangeStatus ?? "unknown",
|
|
231
|
+
attributed: Boolean(response?.attribution)
|
|
232
232
|
}
|
|
233
233
|
});
|
|
234
234
|
}
|
package/package.json
CHANGED