@traqio/react-native 0.2.1 → 0.2.2

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 CHANGED
@@ -118,7 +118,8 @@ Traqio.init({ /* … */ adRevenue: { admob: true, applovinMax: true } });
118
118
  - **react-native-google-mobile-ads (12.4+)**: interstitial, rewarded, rewarded interstitial, app open and native ads are **automatic**. A `<BannerAd>` takes one prop: `onPaid={Traqio.admobPaid(AD_UNIT_ID)}`.
119
119
  - **react-native-applovin-max (5+)**: interstitial, rewarded, app open, programmatic banners and MRECs are **automatic**, beside your own listeners. A MAX `<AdView>` takes one prop: `onAdRevenuePaid={Traqio.maxRevenuePaid}`.
120
120
  - Neither library becomes a dependency: Traqio listens to the events they already emit.
121
- - Manual: `Traqio.trackAdRevenue({ valueMicros, currency, … })` / `Traqio.trackMaxAdRevenue({ revenue, … })`. Never together with the option for the same network, or impressions count twice. `testAds: true` while on test ad units.
121
+ - **Turn the option on, then call nothing by hand for that network.** Once Traqio captures it, the manual calls for it (`trackAdRevenue`, `trackMaxAdRevenue`, and `admobPaid` on a format already captured) are ignored with one warning in the log, so an impression can never be counted twice. The two one-line props above stay valid: they cover what the capture cannot reach.
122
+ - Manual, with the option off: `Traqio.trackAdRevenue({ valueMicros, currency, … })` / `Traqio.trackMaxAdRevenue({ revenue, … })`. `testAds: true` while on test ad units.
122
123
 
123
124
  Details, the manual fallback and the automation level of every platform: https://traqio.app/docs/integrations/admob
124
125
 
@@ -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.1'
9
+ version = '0.2.2'
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.1"
31
+ versionName "0.2.2"
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.1",
3
+ "version": "0.2.2",
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.4.0"
47
+ "@traqio/core": "0.5.0"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@react-native-async-storage/async-storage": ">=1.21.0",