@layers/react-native 3.2.13 → 3.2.14
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/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/react.js +1 -1
- package/dist/react.mjs +1 -1
- package/dist/{src-ClIAcYj2.mjs → src-BByIGgBm.mjs} +2 -2
- package/dist/{src-ClIAcYj2.mjs.map → src-BByIGgBm.mjs.map} +1 -1
- package/dist/{src-Q-qwLf6V.js → src-w1LpkvTi.js} +1 -1
- package/ios/PrivacyInfo.xcprivacy +58 -18
- package/package.json +2 -2
|
@@ -937,7 +937,7 @@ function hostAppIsRegisteredOn(rn) {
|
|
|
937
937
|
}
|
|
938
938
|
}
|
|
939
939
|
const DUPLICATE_REACT_NATIVE_MESSAGE = "[Layers] The SDK resolved a SECOND copy of react-native, not the one your app runs. React Native delivers native lifecycle events to a single copy, so this listener can never fire: $app_background and $app_foreground will not be emitted and the background crash-safety snapshot will not run, which loses every event queued since the last flush on any launch that ends in a kill. Fix the duplicate in your bundler — in a Metro monorepo set `resolver.disableHierarchicalLookup = true` and list every workspace node_modules in `resolver.nodeModulesPaths` — or hand the SDK your app's module: `new LayersReactNative({ ..., appState: AppState })` with AppState imported from 'react-native'.";
|
|
940
|
-
const SDK_VERSION = "3.2.
|
|
940
|
+
const SDK_VERSION = "3.2.14";
|
|
941
941
|
var LayersReactNative = class LayersReactNative {
|
|
942
942
|
core;
|
|
943
943
|
eagerPersistence;
|
|
@@ -23,15 +23,19 @@
|
|
|
23
23
|
pod's Swift/ObjC actually does — scripts/check-tarballs.mjs greps
|
|
24
24
|
the shipped sources and fails on any undeclared usage.
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
does
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
26
|
+
Re-audited 2026-08-28 against the code as shipped in 3.2.13. What the
|
|
27
|
+
SDK does with the data, why every identity type below is Linked, why
|
|
28
|
+
the host app must answer "Yes" to tracking in App Store Connect when
|
|
29
|
+
ad-network forwarding is on, and why NSPrivacyTracking is still
|
|
30
|
+
false — all written out in the Swift manifest's header and at
|
|
31
|
+
https://layers.com/docs/sdk/app-store-privacy. The reasoning is
|
|
32
|
+
identical for this wrapper.
|
|
33
|
+
|
|
34
|
+
NSPrivacyTrackingDomains stays EMPTY on purpose: iOS blocks
|
|
35
|
+
connections to declared tracking domains when the user has not
|
|
36
|
+
granted ATT authorization, and in.layers.com is the event ingest
|
|
37
|
+
endpoint. Listing it would silently drop all delivery for every
|
|
38
|
+
non-authorized user.
|
|
35
39
|
-->
|
|
36
40
|
|
|
37
41
|
<key>NSPrivacyTracking</key>
|
|
@@ -42,13 +46,16 @@
|
|
|
42
46
|
<!--
|
|
43
47
|
Data types this SDK collects.
|
|
44
48
|
|
|
45
|
-
Deliberately NOT a copy of the
|
|
46
|
-
declare CrashData
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
Deliberately NOT a copy of the Unity/Flutter manifests. Those SDKs
|
|
50
|
+
declare CrashData because they ship exception capture that is on by
|
|
51
|
+
default (unity/Runtime/ExceptionModule.cs,
|
|
52
|
+
flutter/lib/src/exception_capture.dart). The React Native SDK
|
|
53
|
+
installs no global error handler and captures no crashes, so
|
|
54
|
+
declaring CrashData here would push a data type the SDK never
|
|
55
|
+
collects into every host app's privacy nutrition label. (The Swift
|
|
56
|
+
wrapper is in the same position: its ExceptionModule.swift and
|
|
57
|
+
MetricKitModule.swift are never instantiated, and its manifest no
|
|
58
|
+
longer declares them either.)
|
|
52
59
|
-->
|
|
53
60
|
<key>NSPrivacyCollectedDataTypes</key>
|
|
54
61
|
<array>
|
|
@@ -58,12 +65,28 @@
|
|
|
58
65
|
<key>NSPrivacyCollectedDataType</key>
|
|
59
66
|
<string>NSPrivacyCollectedDataTypeDeviceID</string>
|
|
60
67
|
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
68
|
+
<true/>
|
|
69
|
+
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
61
70
|
<false/>
|
|
71
|
+
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
72
|
+
<array>
|
|
73
|
+
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
|
|
74
|
+
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
|
|
75
|
+
<string>NSPrivacyCollectedDataTypePurposeDeveloperAdvertising</string>
|
|
76
|
+
</array>
|
|
77
|
+
</dict>
|
|
78
|
+
<!-- User id after identify(), on every subsequent event. -->
|
|
79
|
+
<dict>
|
|
80
|
+
<key>NSPrivacyCollectedDataType</key>
|
|
81
|
+
<string>NSPrivacyCollectedDataTypeUserID</string>
|
|
82
|
+
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
83
|
+
<true/>
|
|
62
84
|
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
63
85
|
<false/>
|
|
64
86
|
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
65
87
|
<array>
|
|
66
88
|
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
|
|
89
|
+
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
|
|
67
90
|
</array>
|
|
68
91
|
</dict>
|
|
69
92
|
<!-- track()/screen() events, app_open, deep links, session data. -->
|
|
@@ -71,12 +94,13 @@
|
|
|
71
94
|
<key>NSPrivacyCollectedDataType</key>
|
|
72
95
|
<string>NSPrivacyCollectedDataTypeProductInteraction</string>
|
|
73
96
|
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
74
|
-
<
|
|
97
|
+
<true/>
|
|
75
98
|
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
76
99
|
<false/>
|
|
77
100
|
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
78
101
|
<array>
|
|
79
102
|
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
|
|
103
|
+
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
|
|
80
104
|
</array>
|
|
81
105
|
</dict>
|
|
82
106
|
<!-- trackPurchase / trackPurchaseFailed and the RevenueCat and
|
|
@@ -86,12 +110,28 @@
|
|
|
86
110
|
<key>NSPrivacyCollectedDataType</key>
|
|
87
111
|
<string>NSPrivacyCollectedDataTypePurchaseHistory</string>
|
|
88
112
|
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
89
|
-
<
|
|
113
|
+
<true/>
|
|
90
114
|
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
91
115
|
<false/>
|
|
92
116
|
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
93
117
|
<array>
|
|
94
118
|
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
|
|
119
|
+
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
|
|
120
|
+
</array>
|
|
121
|
+
</dict>
|
|
122
|
+
<!-- Click identifiers and campaign parameters captured for
|
|
123
|
+
attribution and forwarded to the matching network. -->
|
|
124
|
+
<dict>
|
|
125
|
+
<key>NSPrivacyCollectedDataType</key>
|
|
126
|
+
<string>NSPrivacyCollectedDataTypeAdvertisingData</string>
|
|
127
|
+
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
128
|
+
<true/>
|
|
129
|
+
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
130
|
+
<false/>
|
|
131
|
+
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
132
|
+
<array>
|
|
133
|
+
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
|
|
134
|
+
<string>NSPrivacyCollectedDataTypePurposeDeveloperAdvertising</string>
|
|
95
135
|
</array>
|
|
96
136
|
</dict>
|
|
97
137
|
</array>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layers/react-native",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.14",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"mobile"
|
|
68
68
|
],
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@layers/core-wasm": "3.2.
|
|
70
|
+
"@layers/core-wasm": "3.2.14"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"@react-native-async-storage/async-storage": ">=1.21.0",
|