affise-attribution-lib 1.6.15 → 1.6.16

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
@@ -113,6 +113,7 @@ Add modules to Android project
113
113
  | Module | Version | Start |
114
114
  |---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|
115
115
  | `ADVERTISING` | [![module-advertising](https://img.shields.io/maven-central/v/com.affise/module-advertising?label=latest)](https://mvnrepository.com/artifact/com.affise/module-advertising) | `Auto` |
116
+ | `ANDROIDID` | [![module-androidid](https://img.shields.io/maven-central/v/com.affise/module-androidid?label=latest)](https://mvnrepository.com/artifact/com.affise/module-androidid) | `Auto` |
116
117
  | `NETWORK` | [![module-network](https://img.shields.io/maven-central/v/com.affise/module-network?label=latest)](https://mvnrepository.com/artifact/com.affise/module-network) | `Auto` |
117
118
  | `PHONE` | [![module-phone](https://img.shields.io/maven-central/v/com.affise/module-phone?label=latest)](https://mvnrepository.com/artifact/com.affise/module-phone) | `Auto` |
118
119
  | `STATUS` | [![module-status](https://img.shields.io/maven-central/v/com.affise/module-status?label=latest)](https://mvnrepository.com/artifact/com.affise/module-status) | `Auto` |
@@ -120,12 +121,15 @@ Add modules to Android project
120
121
  Example [`example/android/app/build.gradle`](example/android/app/build.gradle)
121
122
 
122
123
  ```gradle
124
+ final affise_version = '1.6.38'
125
+
123
126
  dependencies {
124
127
  // Affise modules
125
- implementation 'com.affise:module-advertising:1.6.34'
126
- implementation 'com.affise:module-network:1.6.34'
127
- implementation 'com.affise:module-phone:1.6.34'
128
- implementation 'com.affise:module-status:1.6.34'
128
+ implementation "com.affise:module-advertising:$affise_version"
129
+ implementation "com.affise:module-androidid:$affise_version"
130
+ implementation "com.affise:module-network:$affise_version"
131
+ implementation "com.affise:module-phone:$affise_version"
132
+ implementation "com.affise:module-status:$affise_version"
129
133
  }
130
134
  ```
131
135
 
@@ -135,8 +139,8 @@ Add modules to iOS project
135
139
 
136
140
  | Module | Version | Start |
137
141
  |---------------|:------------------------------------------------------------------------------------:|----------|
138
- | `ADVERTISING` | [`1.6.32`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Manual` |
139
- | `STATUS` | [`1.6.32`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Auto` |
142
+ | `ADVERTISING` | [`1.6.33`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Manual` |
143
+ | `STATUS` | [`1.6.33`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Auto` |
140
144
 
141
145
  Example [example/ios/Podfile](example/ios/Podfile)
142
146
 
@@ -145,8 +149,8 @@ target 'YourAppProject' do
145
149
  # ...
146
150
 
147
151
  # Affise Modules
148
- pod 'AffiseModule/Advertising', `1.6.32`
149
- pod 'AffiseModule/Status', `1.6.32`
152
+ pod 'AffiseModule/Advertising', `1.6.33`
153
+ pod 'AffiseModule/Status', `1.6.33`
150
154
  end
151
155
  ```
152
156
 
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
17
17
  s.source_files = "ios/**/*.{h,m,mm,swift}"
18
18
 
19
19
  s.dependency "React-Core"
20
- s.dependency 'AffiseInternal', '1.6.32'
20
+ s.dependency 'AffiseInternal', '1.6.33'
21
21
 
22
22
  # Don't install the dependencies when we run `pod install` in the old architecture.
23
23
  if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
@@ -2,7 +2,7 @@ buildscript {
2
2
  // Buildscript is evaluated before everything else so we can't use getExtOrDefault
3
3
  def kotlin_version = rootProject.ext.has("kotlinVersion") ? rootProject.ext.get("kotlinVersion") : project.properties["AffiseAttributionNative_kotlinVersion"]
4
4
  ext {
5
- affise_version = '1.6.34'
5
+ affise_version = '1.6.38'
6
6
  agp_version = '7.2.2'
7
7
  }
8
8
 
@@ -27,7 +27,7 @@ class AffisePropertyBuilder {
27
27
  return this;
28
28
  }
29
29
  addRaw(key, value) {
30
- this.data[key] = value;
30
+ this.data[key.toLowerCase()] = value;
31
31
  return this;
32
32
  }
33
33
  build() {
@@ -1 +1 @@
1
- {"version":3,"names":["AffisePropertyBuilder","init","name","toSnakeCase","add","property","value","addByString","toString","key","addRaw","eventProperty","data","build","toAffiseEventProperty"],"sourceRoot":"../../src","sources":["AffisePropertyBuilder.ts"],"mappings":";;;;;;AAAA;AAEA;AAAyD;AAAA;AAAA;AAElD,MAAMA,qBAAqB,CAAC;EAAA;IAAA,8BAES,CAAC,CAAC;IAAA,8BACZ,IAAI;EAAA;EAElCC,IAAI,CAACC,IAAY,EAAyB;IACtC,IAAI,CAACA,IAAI,GAAG,IAAAC,wBAAW,EAACD,IAAI,CAAC;IAC7B,OAAO,IAAI;EACf;EAEAE,GAAG,CAACC,QAAwB,EAAEC,KAAc,EAAyB;IACjE,IAAI,CAACC,WAAW,CAACF,QAAQ,CAACG,QAAQ,EAAE,EAAEF,KAAK,CAAC;IAC5C,OAAO,IAAI;EACf;EAEAC,WAAW,CAACE,GAAW,EAAEH,KAAc,EAAyB;IAC5D,IAAI,CAACI,MAAM,CAAC,IAAI,CAACC,aAAa,CAACF,GAAG,CAAC,EAAEH,KAAK,CAAC;IAC3C,OAAO,IAAI;EACf;EAEAI,MAAM,CAACD,GAAW,EAAEH,KAAc,EAAyB;IACvD,IAAI,CAACM,IAAI,CAACH,GAAG,CAAC,GAAGH,KAAK;IACtB,OAAO,IAAI;EACf;EAEAO,KAAK,GAA4B;IAC7B,OAAO,IAAI,CAACD,IAAI;EACpB;EAEQD,aAAa,CAACF,GAAW,EAAU;IACvC,OAAO,IAAAK,uCAAqB,EAAC,IAAI,CAACZ,IAAI,EAAEO,GAAG,CAAC;EAChD;AACJ;AAAC"}
1
+ {"version":3,"names":["AffisePropertyBuilder","init","name","toSnakeCase","add","property","value","addByString","toString","key","addRaw","eventProperty","data","toLowerCase","build","toAffiseEventProperty"],"sourceRoot":"../../src","sources":["AffisePropertyBuilder.ts"],"mappings":";;;;;;AAAA;AAEA;AAAyD;AAAA;AAAA;AAElD,MAAMA,qBAAqB,CAAC;EAAA;IAAA,8BAES,CAAC,CAAC;IAAA,8BACZ,IAAI;EAAA;EAElCC,IAAI,CAACC,IAAY,EAAyB;IACtC,IAAI,CAACA,IAAI,GAAG,IAAAC,wBAAW,EAACD,IAAI,CAAC;IAC7B,OAAO,IAAI;EACf;EAEAE,GAAG,CAACC,QAAwB,EAAEC,KAAc,EAAyB;IACjE,IAAI,CAACC,WAAW,CAACF,QAAQ,CAACG,QAAQ,EAAE,EAAEF,KAAK,CAAC;IAC5C,OAAO,IAAI;EACf;EAEAC,WAAW,CAACE,GAAW,EAAEH,KAAc,EAAyB;IAC5D,IAAI,CAACI,MAAM,CAAC,IAAI,CAACC,aAAa,CAACF,GAAG,CAAC,EAAEH,KAAK,CAAC;IAC3C,OAAO,IAAI;EACf;EAEAI,MAAM,CAACD,GAAW,EAAEH,KAAc,EAAyB;IACvD,IAAI,CAACM,IAAI,CAACH,GAAG,CAACI,WAAW,EAAE,CAAC,GAAGP,KAAK;IACpC,OAAO,IAAI;EACf;EAEAQ,KAAK,GAA4B;IAC7B,OAAO,IAAI,CAACF,IAAI;EACpB;EAEQD,aAAa,CAACF,GAAW,EAAU;IACvC,OAAO,IAAAM,uCAAqB,EAAC,IAAI,CAACb,IAAI,EAAEO,GAAG,CAAC;EAChD;AACJ;AAAC"}
@@ -8,6 +8,7 @@ let AffiseModules;
8
8
  exports.AffiseModules = AffiseModules;
9
9
  (function (AffiseModules) {
10
10
  AffiseModules["ADVERTISING"] = "Advertising";
11
+ AffiseModules["ANDROIDID"] = "AndroidId";
11
12
  AffiseModules["NETWORK"] = "Network";
12
13
  AffiseModules["PHONE"] = "Phone";
13
14
  AffiseModules["STATUS"] = "Status";
@@ -1 +1 @@
1
- {"version":3,"names":["AffiseModules"],"sourceRoot":"../../src","sources":["AffiseModules.ts"],"mappings":";;;;;;IAAYA,aAAa;AAAA;AAAA,WAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;AAAA,GAAbA,aAAa,6BAAbA,aAAa"}
1
+ {"version":3,"names":["AffiseModules"],"sourceRoot":"../../src","sources":["AffiseModules.ts"],"mappings":";;;;;;IAAYA,aAAa;AAAA;AAAA,WAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;AAAA,GAAbA,aAAa,6BAAbA,aAAa"}
@@ -21,7 +21,7 @@ export class AffisePropertyBuilder {
21
21
  return this;
22
22
  }
23
23
  addRaw(key, value) {
24
- this.data[key] = value;
24
+ this.data[key.toLowerCase()] = value;
25
25
  return this;
26
26
  }
27
27
  build() {
@@ -1 +1 @@
1
- {"version":3,"names":["toSnakeCase","toAffiseEventProperty","AffisePropertyBuilder","init","name","add","property","value","addByString","toString","key","addRaw","eventProperty","data","build"],"sourceRoot":"../../src","sources":["AffisePropertyBuilder.ts"],"mappings":";;;AAAA,SAAQA,WAAW,QAAO,yBAAyB;AAEnD,SAAQC,qBAAqB,QAAO,oBAAoB;AAExD,OAAO,MAAMC,qBAAqB,CAAC;EAAA;IAAA,8BAES,CAAC,CAAC;IAAA,8BACZ,IAAI;EAAA;EAElCC,IAAI,CAACC,IAAY,EAAyB;IACtC,IAAI,CAACA,IAAI,GAAGJ,WAAW,CAACI,IAAI,CAAC;IAC7B,OAAO,IAAI;EACf;EAEAC,GAAG,CAACC,QAAwB,EAAEC,KAAc,EAAyB;IACjE,IAAI,CAACC,WAAW,CAACF,QAAQ,CAACG,QAAQ,EAAE,EAAEF,KAAK,CAAC;IAC5C,OAAO,IAAI;EACf;EAEAC,WAAW,CAACE,GAAW,EAAEH,KAAc,EAAyB;IAC5D,IAAI,CAACI,MAAM,CAAC,IAAI,CAACC,aAAa,CAACF,GAAG,CAAC,EAAEH,KAAK,CAAC;IAC3C,OAAO,IAAI;EACf;EAEAI,MAAM,CAACD,GAAW,EAAEH,KAAc,EAAyB;IACvD,IAAI,CAACM,IAAI,CAACH,GAAG,CAAC,GAAGH,KAAK;IACtB,OAAO,IAAI;EACf;EAEAO,KAAK,GAA4B;IAC7B,OAAO,IAAI,CAACD,IAAI;EACpB;EAEQD,aAAa,CAACF,GAAW,EAAU;IACvC,OAAOT,qBAAqB,CAAC,IAAI,CAACG,IAAI,EAAEM,GAAG,CAAC;EAChD;AACJ"}
1
+ {"version":3,"names":["toSnakeCase","toAffiseEventProperty","AffisePropertyBuilder","init","name","add","property","value","addByString","toString","key","addRaw","eventProperty","data","toLowerCase","build"],"sourceRoot":"../../src","sources":["AffisePropertyBuilder.ts"],"mappings":";;;AAAA,SAAQA,WAAW,QAAO,yBAAyB;AAEnD,SAAQC,qBAAqB,QAAO,oBAAoB;AAExD,OAAO,MAAMC,qBAAqB,CAAC;EAAA;IAAA,8BAES,CAAC,CAAC;IAAA,8BACZ,IAAI;EAAA;EAElCC,IAAI,CAACC,IAAY,EAAyB;IACtC,IAAI,CAACA,IAAI,GAAGJ,WAAW,CAACI,IAAI,CAAC;IAC7B,OAAO,IAAI;EACf;EAEAC,GAAG,CAACC,QAAwB,EAAEC,KAAc,EAAyB;IACjE,IAAI,CAACC,WAAW,CAACF,QAAQ,CAACG,QAAQ,EAAE,EAAEF,KAAK,CAAC;IAC5C,OAAO,IAAI;EACf;EAEAC,WAAW,CAACE,GAAW,EAAEH,KAAc,EAAyB;IAC5D,IAAI,CAACI,MAAM,CAAC,IAAI,CAACC,aAAa,CAACF,GAAG,CAAC,EAAEH,KAAK,CAAC;IAC3C,OAAO,IAAI;EACf;EAEAI,MAAM,CAACD,GAAW,EAAEH,KAAc,EAAyB;IACvD,IAAI,CAACM,IAAI,CAACH,GAAG,CAACI,WAAW,EAAE,CAAC,GAAGP,KAAK;IACpC,OAAO,IAAI;EACf;EAEAQ,KAAK,GAA4B;IAC7B,OAAO,IAAI,CAACF,IAAI;EACpB;EAEQD,aAAa,CAACF,GAAW,EAAU;IACvC,OAAOT,qBAAqB,CAAC,IAAI,CAACG,IAAI,EAAEM,GAAG,CAAC;EAChD;AACJ"}
@@ -1,6 +1,7 @@
1
1
  export let AffiseModules;
2
2
  (function (AffiseModules) {
3
3
  AffiseModules["ADVERTISING"] = "Advertising";
4
+ AffiseModules["ANDROIDID"] = "AndroidId";
4
5
  AffiseModules["NETWORK"] = "Network";
5
6
  AffiseModules["PHONE"] = "Phone";
6
7
  AffiseModules["STATUS"] = "Status";
@@ -1 +1 @@
1
- {"version":3,"names":["AffiseModules"],"sourceRoot":"../../src","sources":["AffiseModules.ts"],"mappings":"AAAA,WAAYA,aAAa;AAKxB,WALWA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;AAAA,GAAbA,aAAa,KAAbA,aAAa"}
1
+ {"version":3,"names":["AffiseModules"],"sourceRoot":"../../src","sources":["AffiseModules.ts"],"mappings":"AAAA,WAAYA,aAAa;AAMxB,WANWA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;AAAA,GAAbA,aAAa,KAAbA,aAAa"}
@@ -1,5 +1,6 @@
1
1
  export declare enum AffiseModules {
2
2
  ADVERTISING = "Advertising",
3
+ ANDROIDID = "AndroidId",
3
4
  NETWORK = "Network",
4
5
  PHONE = "Phone",
5
6
  STATUS = "Status"
@@ -1 +1 @@
1
- {"version":3,"file":"AffiseModules.d.ts","sourceRoot":"","sources":["../../../src/module/AffiseModules.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACrB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,MAAM,WAAW;CACpB"}
1
+ {"version":3,"file":"AffiseModules.d.ts","sourceRoot":"","sources":["../../../src/module/AffiseModules.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACrB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,MAAM,WAAW;CACpB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "affise-attribution-lib",
3
- "version": "1.6.15",
3
+ "version": "1.6.16",
4
4
  "description": "Affise Attribution Library",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -23,7 +23,7 @@ export class AffisePropertyBuilder {
23
23
  }
24
24
 
25
25
  addRaw(key: string, value: unknown): AffisePropertyBuilder {
26
- this.data[key] = value;
26
+ this.data[key.toLowerCase()] = value;
27
27
  return this;
28
28
  }
29
29
 
@@ -1,5 +1,6 @@
1
1
  export enum AffiseModules {
2
2
  ADVERTISING = "Advertising",
3
+ ANDROIDID = "AndroidId",
3
4
  NETWORK = "Network",
4
5
  PHONE = "Phone",
5
6
  STATUS = "Status",