affise-attribution-lib 1.6.24 → 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 +13 -1
- package/android/build.gradle +1 -1
- package/lib/commonjs/module/AffiseModules.js +2 -0
- package/lib/commonjs/module/AffiseModules.js.map +1 -1
- package/lib/module/module/AffiseModules.js +2 -0
- package/lib/module/module/AffiseModules.js.map +1 -1
- package/lib/typescript/module/AffiseModules.d.ts +3 -1
- package/lib/typescript/module/AffiseModules.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/module/AffiseModules.ts +2 -0
package/README.md
CHANGED
|
@@ -130,11 +130,13 @@ Add modules to Android project
|
|
|
130
130
|
| `PHONE` | [](https://mvnrepository.com/artifact/com.affise/module-phone) | `Auto` |
|
|
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
|
+
| `RUSTORE` | [](https://mvnrepository.com/artifact/com.affise/module-rustore) | `Auto` |
|
|
134
|
+
| `HUAWEI` | [](https://mvnrepository.com/artifact/com.affise/module-huawei) | `Auto` |
|
|
133
135
|
|
|
134
136
|
Example [`example/android/app/build.gradle`](example/android/app/build.gradle)
|
|
135
137
|
|
|
136
138
|
```gradle
|
|
137
|
-
final affise_version = '1.6.
|
|
139
|
+
final affise_version = '1.6.50'
|
|
138
140
|
|
|
139
141
|
dependencies {
|
|
140
142
|
// Affise modules
|
|
@@ -145,6 +147,8 @@ dependencies {
|
|
|
145
147
|
implementation "com.affise:module-phone:$affise_version"
|
|
146
148
|
implementation "com.affise:module-status:$affise_version"
|
|
147
149
|
implementation "com.affise:module-subscription:$affise_version"
|
|
150
|
+
// implementation "com.affise:module-rustore:$affise_version"
|
|
151
|
+
// implementation "com.affise:module-huawei:$affise_version"
|
|
148
152
|
}
|
|
149
153
|
```
|
|
150
154
|
|
|
@@ -1166,6 +1170,10 @@ Affise.isFirstRun().then((isFirstRun) => {
|
|
|
1166
1170
|
|
|
1167
1171
|
Use the next public method of SDK
|
|
1168
1172
|
|
|
1173
|
+
> To get Install referrer by installing from `Android` `RuStore` include module [`RuStore`](#modules)
|
|
1174
|
+
|
|
1175
|
+
> To get Install referrer by installing from `Android` `AppGallery` include module [`Huawei`](#modules)
|
|
1176
|
+
|
|
1169
1177
|
```typescript
|
|
1170
1178
|
Affise.getReferrerUrl().then((referrer) => {
|
|
1171
1179
|
// handle referrer
|
|
@@ -1176,6 +1184,10 @@ Affise.getReferrerUrl().then((referrer) => {
|
|
|
1176
1184
|
|
|
1177
1185
|
Use the next public method of SDK to get referrer value by
|
|
1178
1186
|
|
|
1187
|
+
> To get Install referrer by installing from `Android` `RuStore` include module [`RuStore`](#modules)
|
|
1188
|
+
|
|
1189
|
+
> To get Install referrer by installing from `Android` `AppGallery` include module [`Huawei`](#modules)
|
|
1190
|
+
|
|
1179
1191
|
```typescript
|
|
1180
1192
|
Affise.getReferrerUrlValue(ReferrerKey.CLICK_ID, (value) => {
|
|
1181
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
|
|
|
@@ -14,5 +14,7 @@ exports.AffiseModules = AffiseModules;
|
|
|
14
14
|
AffiseModules["PHONE"] = "Phone";
|
|
15
15
|
AffiseModules["STATUS"] = "Status";
|
|
16
16
|
AffiseModules["SUBSCRIPTION"] = "Subscription";
|
|
17
|
+
AffiseModules["RUSTORE"] = "RuStore";
|
|
18
|
+
AffiseModules["HUAWEI"] = "Huawei";
|
|
17
19
|
})(AffiseModules || (exports.AffiseModules = AffiseModules = {}));
|
|
18
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;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"}
|
|
@@ -7,5 +7,7 @@ export let AffiseModules;
|
|
|
7
7
|
AffiseModules["PHONE"] = "Phone";
|
|
8
8
|
AffiseModules["STATUS"] = "Status";
|
|
9
9
|
AffiseModules["SUBSCRIPTION"] = "Subscription";
|
|
10
|
+
AffiseModules["RUSTORE"] = "RuStore";
|
|
11
|
+
AffiseModules["HUAWEI"] = "Huawei";
|
|
10
12
|
})(AffiseModules || (AffiseModules = {}));
|
|
11
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;
|
|
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