@traqio/react-native 0.3.0 → 0.3.1
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 -0
- package/android/build.gradle +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -148,6 +148,14 @@ Traqio.init({ sdkKey: "SDK_KEY", endpoint: "https://api.traqio.app", collectAdve
|
|
|
148
148
|
- **Android**: add `com.google.android.gms:play-services-ads-identifier` and the
|
|
149
149
|
`com.google.android.gms.permission.AD_ID` permission; nothing is sent when the user
|
|
150
150
|
limited ad tracking.
|
|
151
|
+
- **Your app asks for consent after the first launch** (GDPR CMP, ATT after onboarding)?
|
|
152
|
+
Start with `waitForAdvertisingIdConsent: true` and report the answer — the id is not read
|
|
153
|
+
before it, and the install's Meta / TikTok postback waits up to one hour for it:
|
|
154
|
+
|
|
155
|
+
```ts
|
|
156
|
+
Traqio.init({ sdkKey: "SDK_KEY", endpoint: "https://api.traqio.app", waitForAdvertisingIdConsent: true });
|
|
157
|
+
await Traqio.setAdvertisingIdConsent(userAgreed); // after your CMP / ATT prompt
|
|
158
|
+
```
|
|
151
159
|
|
|
152
160
|
It goes with the install, or once later when ATT is granted after the first launch. Traqio
|
|
153
161
|
matches it hashed against tracked clicks, keeps it on that install, and sends it to Meta
|
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.3.
|
|
9
|
+
version = '0.3.1'
|
|
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.3.
|
|
31
|
+
versionName "0.3.1"
|
|
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.3.
|
|
3
|
+
"version": "0.3.1",
|
|
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.11.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@react-native-async-storage/async-storage": ">=1.21.0",
|