affise-attribution-lib 1.6.31 → 1.6.32

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
@@ -16,6 +16,7 @@
16
16
  - [Android](#android)
17
17
  - [iOS](#ios)
18
18
  - [Module Advertising](#module-advertising)
19
+ - [Module Huawei](#module-huawei)
19
20
  - [Module Link](#module-link)
20
21
  - [Module Status](#module-status)
21
22
  - [Module Subscription](#module-subscription)
@@ -30,6 +31,8 @@
30
31
  - [ProviderType identifiers collection](#providertype-identifiers-collection)
31
32
  - [Attribution](#attribution)
32
33
  - [Advertising](#advertising)
34
+ - [AndroidId](#androidid)
35
+ - [Huawei](#huawei)
33
36
  - [Network](#network)
34
37
  - [Phone](#phone)
35
38
  - [Event send control](#event-send-control)
@@ -146,7 +149,7 @@ Add modules to Android project
146
149
  Example [`example/android/app/build.gradle`](example/android/app/build.gradle)
147
150
 
148
151
  ```gradle
149
- final affise_version = '1.6.55'
152
+ final affise_version = '1.6.56'
150
153
 
151
154
  dependencies {
152
155
  // Affise modules
@@ -168,11 +171,11 @@ Add modules to iOS project
168
171
 
169
172
  | Module | Version | Start |
170
173
  |----------------|:------------------------------------------------------------------------------------:|----------|
171
- | `ADVERTISING` | [`1.6.48`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Manual` |
172
- | `LINK` | [`1.6.48`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Auto` |
173
- | `PERSISTENT` | [`1.6.48`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Auto` |
174
- | `STATUS` | [`1.6.48`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Auto` |
175
- | `SUBSCRIPTION` | [`1.6.48`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Auto` |
174
+ | `ADVERTISING` | [`1.6.49`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Manual` |
175
+ | `LINK` | [`1.6.49`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Auto` |
176
+ | `PERSISTENT` | [`1.6.49`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Auto` |
177
+ | `STATUS` | [`1.6.49`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Auto` |
178
+ | `SUBSCRIPTION` | [`1.6.49`](https://github.com/CocoaPods/Specs/tree/master/Specs/0/3/d/AffiseModule/) | `Auto` |
176
179
 
177
180
  Example [example/ios/Podfile](example/ios/Podfile)
178
181
 
@@ -180,7 +183,7 @@ Example [example/ios/Podfile](example/ios/Podfile)
180
183
  target 'YourAppProject' do
181
184
  # ...
182
185
 
183
- affise_version = '1.6.48'
186
+ affise_version = '1.6.49'
184
187
  # Affise Modules
185
188
  pod 'AffiseModule/Advertising', affise_version
186
189
  pod 'AffiseModule/Link', affise_version
@@ -220,6 +223,22 @@ This module required to Use [`IDFA`](https://developer.apple.com/documentation/a
220
223
 
221
224
  Open `info.plist` and add key `NSUserTrackingUsageDescription` with string value. For more information [read requirements](#requirements)
222
225
 
226
+ #### Module Huawei
227
+
228
+ > **Warning**
229
+ >
230
+ > 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥
231
+ >
232
+ > Use `Android` [Huawei Module](#modules) to get OAID (Open Advertising Identifier)
233
+ >
234
+ > 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥
235
+
236
+ ```typescript
237
+ Affise.getProviders().then((providers) => {
238
+ const oaid = providers[ProviderType.OAID];
239
+ });
240
+ ```
241
+
223
242
  #### Module Link
224
243
 
225
244
  Return last url in chan of redirection
@@ -440,8 +459,6 @@ To match users with events and data library is sending, these `ProviderType` ide
440
459
  - `DEVICE_ATLAS_ID`
441
460
  - `AFFISE_DEVICE_ID`
442
461
  - `AFFISE_ALT_DEVICE_ID`
443
- - `ANDROID_ID`
444
- - `ANDROID_ID_MD5`
445
462
  - `REFTOKEN`
446
463
  - `REFTOKENS`
447
464
  - `REFERRER`
@@ -488,13 +505,21 @@ To match users with events and data library is sending, these `ProviderType` ide
488
505
 
489
506
  - `GAID_ADID`
490
507
  - `GAID_ADID_MD5`
491
- - `OAID`
492
- - `OAID_MD5`
493
508
  - `ADID`
494
509
  - `ALTSTR_ADID`
495
510
  - `FIREOS_ADID`
496
511
  - `COLOROS_ADID`
497
512
 
513
+ ### AndroidId
514
+
515
+ - `ANDROID_ID`
516
+ - `ANDROID_ID_MD5`
517
+
518
+ ### Huawei
519
+
520
+ - `OAID`
521
+ - `OAID_MD5`
522
+
498
523
  ### Network
499
524
 
500
525
  - `MAC_SHA1`
@@ -820,10 +845,18 @@ but if there is no network connection or device is disabled, events are kept loc
820
845
 
821
846
  ## Advertising Identifier (google) tracking
822
847
 
848
+ > **Note**
849
+ >
850
+ > Requires [Affise Advertising Module](#modules)
851
+
823
852
  Advertising Identifier (google) tracking is supported automatically, no actions needed
824
853
 
825
854
  ## Open Advertising Identifier (huawei) tracking
826
855
 
856
+ > **Note**
857
+ >
858
+ > Requires [Affise Huawei Module](#modules)
859
+
827
860
  Open Advertising Identifier is supported automatically, no actions needed
828
861
 
829
862
  ## Install referrer tracking
@@ -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.48'
20
+ s.dependency 'AffiseInternal', '1.6.49'
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.55'
5
+ affise_version = '1.6.56'
6
6
  agp_version = '7.2.2'
7
7
  }
8
8
 
@@ -398,7 +398,7 @@ _defineProperty(Affise, "debug", class {
398
398
  * Debug get version of flutter library
399
399
  */
400
400
  static version() {
401
- return "1.6.31";
401
+ return "1.6.32";
402
402
  }
403
403
 
404
404
  /**
@@ -379,7 +379,7 @@ _defineProperty(Affise, "debug", class {
379
379
  * Debug get version of flutter library
380
380
  */
381
381
  static version() {
382
- return "1.6.31";
382
+ return "1.6.32";
383
383
  }
384
384
 
385
385
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "affise-attribution-lib",
3
- "version": "1.6.31",
3
+ "version": "1.6.32",
4
4
  "description": "Affise Attribution Library",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
package/src/index.ts CHANGED
@@ -401,7 +401,7 @@ export class Affise {
401
401
  * Debug get version of flutter library
402
402
  */
403
403
  static version(): string {
404
- return "1.6.31";
404
+ return "1.6.32";
405
405
  }
406
406
 
407
407
  /**