@advenue/react-native 1.1.0 → 1.1.1
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/android/build.gradle
CHANGED
|
@@ -8,14 +8,20 @@ plugins {
|
|
|
8
8
|
id 'expo-module-gradle-plugin'
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
// Single source of truth, mirroring AdvenueIos.podspec (`s.version =
|
|
12
|
+
// package['version']`): a hardcoded copy here shipped 0.6.3 while the
|
|
13
|
+
// package was 1.1.0. Inert at runtime — an autolinked Expo module is never
|
|
14
|
+
// published to Maven — but a wrong version misleads every build scan.
|
|
15
|
+
def packageJson = new groovy.json.JsonSlurper().parseText(file('../package.json').text)
|
|
16
|
+
|
|
11
17
|
group = 'expo.modules.advenue'
|
|
12
|
-
version =
|
|
18
|
+
version = packageJson.version
|
|
13
19
|
|
|
14
20
|
android {
|
|
15
21
|
namespace "expo.modules.advenue"
|
|
16
22
|
defaultConfig {
|
|
17
23
|
versionCode 1
|
|
18
|
-
versionName
|
|
24
|
+
versionName packageJson.version
|
|
19
25
|
}
|
|
20
26
|
}
|
|
21
27
|
|
package/dist/index.cjs
CHANGED
|
@@ -65,10 +65,19 @@ module.exports = __toCommonJS(index_exports);
|
|
|
65
65
|
// package.json
|
|
66
66
|
var package_default = {
|
|
67
67
|
name: "@advenue/react-native",
|
|
68
|
-
version: "1.1.
|
|
68
|
+
version: "1.1.1",
|
|
69
69
|
description: "Advenue MMP React Native SDK \u2014 attribution, install tracking, and deep links (bundled iOS/Android Expo native modules)",
|
|
70
70
|
type: "module",
|
|
71
71
|
license: "MIT",
|
|
72
|
+
repository: {
|
|
73
|
+
type: "git",
|
|
74
|
+
url: "git+https://github.com/broverse/advenue.git",
|
|
75
|
+
directory: "packages/sdk-react-native"
|
|
76
|
+
},
|
|
77
|
+
homepage: "https://advenue.io",
|
|
78
|
+
bugs: {
|
|
79
|
+
url: "https://github.com/broverse/advenue/issues"
|
|
80
|
+
},
|
|
72
81
|
main: "./dist/index.js",
|
|
73
82
|
types: "./dist/index.d.ts",
|
|
74
83
|
exports: {
|
package/dist/index.js
CHANGED
|
@@ -54,10 +54,19 @@ var require_native_require = __commonJS({
|
|
|
54
54
|
// package.json
|
|
55
55
|
var package_default = {
|
|
56
56
|
name: "@advenue/react-native",
|
|
57
|
-
version: "1.1.
|
|
57
|
+
version: "1.1.1",
|
|
58
58
|
description: "Advenue MMP React Native SDK \u2014 attribution, install tracking, and deep links (bundled iOS/Android Expo native modules)",
|
|
59
59
|
type: "module",
|
|
60
60
|
license: "MIT",
|
|
61
|
+
repository: {
|
|
62
|
+
type: "git",
|
|
63
|
+
url: "git+https://github.com/broverse/advenue.git",
|
|
64
|
+
directory: "packages/sdk-react-native"
|
|
65
|
+
},
|
|
66
|
+
homepage: "https://advenue.io",
|
|
67
|
+
bugs: {
|
|
68
|
+
url: "https://github.com/broverse/advenue/issues"
|
|
69
|
+
},
|
|
61
70
|
main: "./dist/index.js",
|
|
62
71
|
types: "./dist/index.d.ts",
|
|
63
72
|
exports: {
|
|
@@ -277,7 +277,7 @@ final class FacadeState: @unchecked Sendable {
|
|
|
277
277
|
osVersion: osVersion,
|
|
278
278
|
sdkVersion: String((config.sdkVersion ?? AdvenueVersion.current).prefix(32)),
|
|
279
279
|
requireConsent: config.requireConsent, sessionWindowMs: config.sessionWindowMs,
|
|
280
|
-
batchSize: config.batchSize),
|
|
280
|
+
batchSize: config.batchSize, piiScrubEnabled: config.piiScrubEnabled),
|
|
281
281
|
store: store, clock: SystemClock(), scheduler: TimerScheduler(), uuid: uuid,
|
|
282
282
|
transport: eventTransport,
|
|
283
283
|
onError: config.onError)
|
|
@@ -8,7 +8,7 @@ public struct AdvenueConfig: Sendable {
|
|
|
8
8
|
public var appVersion: String?
|
|
9
9
|
public var requireConsent: Bool
|
|
10
10
|
public var sessionWindowMs: Int64
|
|
11
|
-
/// Events per request. Matches
|
|
11
|
+
/// Events per request. Matches the other SDKs.
|
|
12
12
|
public var batchSize: Int
|
|
13
13
|
/// Auto-flush period. Zero disables the timer, which is what tests want and
|
|
14
14
|
/// no shipping app does.
|
|
@@ -35,6 +35,10 @@ public struct AdvenueConfig: Sendable {
|
|
|
35
35
|
/// Leave off in production; route failures through `onError` instead.
|
|
36
36
|
public var debug: Bool
|
|
37
37
|
|
|
38
|
+
/// B1: track/install properties PII scrub. On by default; disable only
|
|
39
|
+
/// explicitly (documented risk — raw PII reaches ingest). Same as Android.
|
|
40
|
+
public var piiScrubEnabled: Bool
|
|
41
|
+
|
|
38
42
|
/// Overrides the version stamped on every event. Set by a WRAPPER SDK, never
|
|
39
43
|
/// by an app.
|
|
40
44
|
///
|
|
@@ -68,7 +72,8 @@ public struct AdvenueConfig: Sendable {
|
|
|
68
72
|
onError: @escaping @Sendable (String, any Error) -> Void = { _, _ in },
|
|
69
73
|
sdkVersion: String? = nil,
|
|
70
74
|
allowInsecureHttp: Bool = false,
|
|
71
|
-
debug: Bool = false
|
|
75
|
+
debug: Bool = false,
|
|
76
|
+
piiScrubEnabled: Bool = true
|
|
72
77
|
) {
|
|
73
78
|
precondition(
|
|
74
79
|
allowInsecureHttp || Self.isSecureEndpoint(endpoint),
|
|
@@ -85,6 +90,7 @@ public struct AdvenueConfig: Sendable {
|
|
|
85
90
|
self.conversionValues = conversionValues
|
|
86
91
|
self.onError = onError
|
|
87
92
|
self.sdkVersion = sdkVersion
|
|
93
|
+
self.piiScrubEnabled = piiScrubEnabled
|
|
88
94
|
}
|
|
89
95
|
}
|
|
90
96
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@advenue/react-native",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Advenue MMP React Native SDK — attribution, install tracking, and deep links (bundled iOS/Android Expo native modules)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/broverse/advenue.git",
|
|
10
|
+
"directory": "packages/sdk-react-native"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://advenue.io",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/broverse/advenue/issues"
|
|
15
|
+
},
|
|
7
16
|
"main": "./dist/index.js",
|
|
8
17
|
"types": "./dist/index.d.ts",
|
|
9
18
|
"exports": {
|