affise-attribution-lib 1.1.3 → 1.1.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 CHANGED
@@ -23,13 +23,13 @@
23
23
  - [Deeplinks](#deeplinks)
24
24
  - [Android](#android-1)
25
25
  - [iOS](#ios)
26
- - [Platform specific](#platform-specific)
27
- - [Get referrer value](#get-referrer-value)
28
26
  - [Offline mode](#offline-mode)
29
27
  - [Disable tracking](#disable-tracking)
30
28
  - [Disable background tracking](#disable-background-tracking)
31
29
  - [GDPR right to be forgotten](#gdpr-right-to-be-forgotten)
32
- - [Get referrer](#get-referrer)
30
+ - [Platform specific](#platform-specific)
31
+ - [Get referrer](#get-referrer)
32
+ - [Get referrer value](#get-referrer-value)
33
33
 
34
34
  # Description
35
35
 
@@ -489,55 +489,6 @@ Add key `CFBundleURLTypes` to `Info.plist` as in `example/ios/AffiseAttributionL
489
489
  </array>
490
490
  ```
491
491
 
492
- ### Platform specific
493
-
494
- #### Get referrer value
495
- > `Android Only`
496
-
497
- Use the next public method of SDK to get referrer value by
498
-
499
- ```typescript
500
- Affise.android.getReferrerValue(ReferrerKey.CLICK_ID, (value) => {
501
-
502
- })
503
- ```
504
-
505
- #### Referrer keys
506
-
507
- In examples above `ReferrerKey.CLICK_ID` is used, but many others is available:
508
-
509
- - `AD_ID`
510
- - `CAMPAIGN_ID`
511
- - `CLICK_ID`
512
- - `AFFISE_AD`
513
- - `AFFISE_AD_ID`
514
- - `AFFISE_AD_TYPE`
515
- - `AFFISE_ADSET`
516
- - `AFFISE_ADSET_ID`
517
- - `AFFISE_AFFC_ID`
518
- - `AFFISE_CHANNEL`
519
- - `AFFISE_CLICK_LOOK_BACK`
520
- - `AFFISE_COST_CURRENCY`
521
- - `AFFISE_COST_MODEL`
522
- - `AFFISE_COST_VALUE`
523
- - `AFFISE_DEEPLINK`
524
- - `AFFISE_KEYWORDS`
525
- - `AFFISE_MEDIA_TYPE`
526
- - `AFFISE_MODEL`
527
- - `AFFISE_OS`
528
- - `AFFISE_PARTNER`
529
- - `AFFISE_REF`
530
- - `AFFISE_SITE_ID`
531
- - `AFFISE_SUB_SITE_ID`
532
- - `AFFC`
533
- - `PID`
534
- - `SUB_1`
535
- - `SUB_2`
536
- - `SUB_3`
537
- - `SUB_4`
538
- - `SUB_5`
539
-
540
-
541
492
  ### Offline mode
542
493
 
543
494
  In some scenarious you would want to limit Affise network usage, to pause that activity call anywhere in your application following code after Affise init:
@@ -619,7 +570,11 @@ Affise.setTrackingEnabled(false);
619
570
  Affise.forget(); // to forget users data
620
571
  ```
621
572
 
573
+
574
+ ### Platform specific
575
+
622
576
  ### Get referrer
577
+ > `Android Only`
623
578
 
624
579
  Use the next public method of SDK
625
580
 
@@ -628,3 +583,49 @@ Affise.getReferrer().then((referrer) => {
628
583
  // returns referrer
629
584
  });
630
585
  ```
586
+
587
+ #### Get referrer value
588
+ > `Android Only`
589
+
590
+ Use the next public method of SDK to get referrer value by
591
+
592
+ ```typescript
593
+ Affise.android.getReferrerValue(ReferrerKey.CLICK_ID, (value) => {
594
+
595
+ })
596
+ ```
597
+
598
+ #### Referrer keys
599
+
600
+ In examples above `ReferrerKey.CLICK_ID` is used, but many others is available:
601
+
602
+ - `AD_ID`
603
+ - `CAMPAIGN_ID`
604
+ - `CLICK_ID`
605
+ - `AFFISE_AD`
606
+ - `AFFISE_AD_ID`
607
+ - `AFFISE_AD_TYPE`
608
+ - `AFFISE_ADSET`
609
+ - `AFFISE_ADSET_ID`
610
+ - `AFFISE_AFFC_ID`
611
+ - `AFFISE_CHANNEL`
612
+ - `AFFISE_CLICK_LOOK_BACK`
613
+ - `AFFISE_COST_CURRENCY`
614
+ - `AFFISE_COST_MODEL`
615
+ - `AFFISE_COST_VALUE`
616
+ - `AFFISE_DEEPLINK`
617
+ - `AFFISE_KEYWORDS`
618
+ - `AFFISE_MEDIA_TYPE`
619
+ - `AFFISE_MODEL`
620
+ - `AFFISE_OS`
621
+ - `AFFISE_PARTNER`
622
+ - `AFFISE_REF`
623
+ - `AFFISE_SITE_ID`
624
+ - `AFFISE_SUB_SITE_ID`
625
+ - `AFFC`
626
+ - `PID`
627
+ - `SUB_1`
628
+ - `SUB_2`
629
+ - `SUB_3`
630
+ - `SUB_4`
631
+ - `SUB_5`
@@ -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 'AffiseAttributionLib', '~> 1.1.2'
20
+ s.dependency 'AffiseAttributionLib', '~> 1.1.3'
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
@@ -73,7 +73,7 @@ dependencies {
73
73
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
74
74
 
75
75
  implementation "com.android.installreferrer:installreferrer:2.2"
76
- implementation "com.affise:attribution:1.5.2"
76
+ implementation "com.affise:attribution:1.5.3"
77
77
  }
78
78
 
79
79
  if (isNewArchitectureEnabled()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "affise-attribution-lib",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Affise Attribution Library",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",