@traqio/react-native 0.2.3 → 0.2.4
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 +8 -3
- package/android/build.gradle +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -101,13 +101,18 @@ attributes by that id (**Unity Ads**, **AppLovin**):
|
|
|
101
101
|
Traqio.init({ sdkKey: "SDK_KEY", endpoint: "https://api.traqio.app", collectAdvertisingId: true });
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
-
- **iOS**: ask ATT in your app
|
|
105
|
-
the user said yes.
|
|
104
|
+
- **iOS**: ask ATT in your app — whenever your onboarding does — and link AdSupport; the
|
|
105
|
+
IDFA is read only if the user said yes. Asked after `init`? The SDK re-reads it at every
|
|
106
|
+
start and return to the foreground and sends it once (`POST /ingest/advertising-id`).
|
|
106
107
|
- **Android**: add `com.google.android.gms:play-services-ads-identifier` and the
|
|
107
108
|
`com.google.android.gms.permission.AD_ID` permission; nothing is sent when the user
|
|
108
109
|
limited ad tracking.
|
|
109
110
|
|
|
110
|
-
It
|
|
111
|
+
It goes with the install, or once later when ATT is granted after the first launch. Traqio
|
|
112
|
+
matches it hashed against tracked clicks, keeps it on that install, and sends it to Meta
|
|
113
|
+
(`madid`, with `advertiser_tracking_enabled: true` — iOS only under ATT `authorized`) and
|
|
114
|
+
TikTok with the device's later conversions. Dropped when the user denies consent or
|
|
115
|
+
withdraws ATT. Never used as the user's identity.
|
|
111
116
|
|
|
112
117
|
## Ad revenue (AdMob, AppLovin MAX)
|
|
113
118
|
|
package/android/build.gradle
CHANGED
|
@@ -6,7 +6,7 @@ apply plugin: 'kotlin-android'
|
|
|
6
6
|
apply plugin: 'maven-publish'
|
|
7
7
|
|
|
8
8
|
group = 'io.khufu.traqio'
|
|
9
|
-
version = '0.2.
|
|
9
|
+
version = '0.2.4'
|
|
10
10
|
|
|
11
11
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
12
12
|
apply from: expoModulesCorePlugin
|
|
@@ -28,7 +28,7 @@ android {
|
|
|
28
28
|
defaultConfig {
|
|
29
29
|
minSdk safeExtGet("minSdkVersion", 24)
|
|
30
30
|
versionCode 1
|
|
31
|
-
versionName "0.2.
|
|
31
|
+
versionName "0.2.4"
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
compileOptions {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@traqio/react-native",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Traqio SDK for React Native / Expo — deterministic install attribution (Play Install Referrer) + SKAN. No IDFA, no fingerprinting.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"README.md"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@traqio/core": "0.
|
|
47
|
+
"@traqio/core": "0.6.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@react-native-async-storage/async-storage": ">=1.21.0",
|