affise-attribution-lib 1.6.25 → 1.6.26
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 +7 -1
- package/android/build.gradle +1 -1
- package/lib/commonjs/module/AffiseModules.js +1 -0
- package/lib/commonjs/module/AffiseModules.js.map +1 -1
- package/lib/module/module/AffiseModules.js +1 -0
- package/lib/module/module/AffiseModules.js.map +1 -1
- package/lib/typescript/module/AffiseModules.d.ts +2 -1
- package/lib/typescript/module/AffiseModules.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/module/AffiseModules.ts +1 -0
package/README.md
CHANGED
|
@@ -131,11 +131,12 @@ Add modules to Android project
|
|
|
131
131
|
| `STATUS` | [](https://mvnrepository.com/artifact/com.affise/module-status) | `Auto` |
|
|
132
132
|
| `SUBSCRIPTION` | [](https://mvnrepository.com/artifact/com.affise/module-subscription) | `Auto` |
|
|
133
133
|
| `RUSTORE` | [](https://mvnrepository.com/artifact/com.affise/module-rustore) | `Auto` |
|
|
134
|
+
| `HUAWEI` | [](https://mvnrepository.com/artifact/com.affise/module-huawei) | `Auto` |
|
|
134
135
|
|
|
135
136
|
Example [`example/android/app/build.gradle`](example/android/app/build.gradle)
|
|
136
137
|
|
|
137
138
|
```gradle
|
|
138
|
-
final affise_version = '1.6.
|
|
139
|
+
final affise_version = '1.6.50'
|
|
139
140
|
|
|
140
141
|
dependencies {
|
|
141
142
|
// Affise modules
|
|
@@ -147,6 +148,7 @@ dependencies {
|
|
|
147
148
|
implementation "com.affise:module-status:$affise_version"
|
|
148
149
|
implementation "com.affise:module-subscription:$affise_version"
|
|
149
150
|
// implementation "com.affise:module-rustore:$affise_version"
|
|
151
|
+
// implementation "com.affise:module-huawei:$affise_version"
|
|
150
152
|
}
|
|
151
153
|
```
|
|
152
154
|
|
|
@@ -1170,6 +1172,8 @@ Use the next public method of SDK
|
|
|
1170
1172
|
|
|
1171
1173
|
> To get Install referrer by installing from `Android` `RuStore` include module [`RuStore`](#modules)
|
|
1172
1174
|
|
|
1175
|
+
> To get Install referrer by installing from `Android` `AppGallery` include module [`Huawei`](#modules)
|
|
1176
|
+
|
|
1173
1177
|
```typescript
|
|
1174
1178
|
Affise.getReferrerUrl().then((referrer) => {
|
|
1175
1179
|
// handle referrer
|
|
@@ -1182,6 +1186,8 @@ Use the next public method of SDK to get referrer value by
|
|
|
1182
1186
|
|
|
1183
1187
|
> To get Install referrer by installing from `Android` `RuStore` include module [`RuStore`](#modules)
|
|
1184
1188
|
|
|
1189
|
+
> To get Install referrer by installing from `Android` `AppGallery` include module [`Huawei`](#modules)
|
|
1190
|
+
|
|
1185
1191
|
```typescript
|
|
1186
1192
|
Affise.getReferrerUrlValue(ReferrerKey.CLICK_ID, (value) => {
|
|
1187
1193
|
// handle referrer
|
package/android/build.gradle
CHANGED
|
@@ -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.
|
|
5
|
+
affise_version = '1.6.50'
|
|
6
6
|
agp_version = '7.2.2'
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -15,5 +15,6 @@ exports.AffiseModules = AffiseModules;
|
|
|
15
15
|
AffiseModules["STATUS"] = "Status";
|
|
16
16
|
AffiseModules["SUBSCRIPTION"] = "Subscription";
|
|
17
17
|
AffiseModules["RUSTORE"] = "RuStore";
|
|
18
|
+
AffiseModules["HUAWEI"] = "Huawei";
|
|
18
19
|
})(AffiseModules || (exports.AffiseModules = AffiseModules = {}));
|
|
19
20
|
//# sourceMappingURL=AffiseModules.js.map
|
|
@@ -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;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;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;AAAA,GAAbA,aAAa,6BAAbA,aAAa"}
|
|
@@ -8,5 +8,6 @@ export let AffiseModules;
|
|
|
8
8
|
AffiseModules["STATUS"] = "Status";
|
|
9
9
|
AffiseModules["SUBSCRIPTION"] = "Subscription";
|
|
10
10
|
AffiseModules["RUSTORE"] = "RuStore";
|
|
11
|
+
AffiseModules["HUAWEI"] = "Huawei";
|
|
11
12
|
})(AffiseModules || (AffiseModules = {}));
|
|
12
13
|
//# sourceMappingURL=AffiseModules.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["AffiseModules"],"sourceRoot":"../../src","sources":["AffiseModules.ts"],"mappings":"AAAA,WAAYA,aAAa;
|
|
1
|
+
{"version":3,"names":["AffiseModules"],"sourceRoot":"../../src","sources":["AffiseModules.ts"],"mappings":"AAAA,WAAYA,aAAa;AAUxB,WAVWA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;AAAA,GAAbA,aAAa,KAAbA,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
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,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,YAAY,iBAAiB;IAC7B,OAAO,YAAY;
|
|
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,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,MAAM,WAAW;CACpB"}
|
package/package.json
CHANGED