react-native-edgee 1.0.4 → 1.0.5

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.
@@ -56,10 +56,6 @@ android {
56
56
  ? rootProject.ext.get("jvmTarget")
57
57
  : "17"
58
58
  }
59
-
60
- kotlinOptions {
61
- jvmTarget = "1.8"
62
- }
63
59
  }
64
60
 
65
61
  repositories {
package/dist/index.js CHANGED
@@ -138,13 +138,6 @@ class EdgeeClient {
138
138
  void consent_1.ConsentUtils.init();
139
139
  }
140
140
  async track(name, data, components) {
141
- // Check consent before tracking
142
- if (!consent_1.ConsentUtils.canTrack()) {
143
- if (this.config.debug) {
144
- console.log(`[Edgee] Event "${name}" not tracked - consent not granted`);
145
- }
146
- return;
147
- }
148
141
  const context = await (0, context_1.getContext)(this.config.collectDeviceId);
149
142
  // Get native context properties if available and collectDeviceId is enabled
150
143
  let nativeProperties = {};
@@ -175,13 +168,6 @@ class EdgeeClient {
175
168
  this.queue.enqueue(event);
176
169
  }
177
170
  async user(data, components) {
178
- // Check consent before tracking
179
- if (!consent_1.ConsentUtils.canTrack()) {
180
- if (this.config.debug) {
181
- console.log(`[Edgee] User event not tracked - consent not granted`);
182
- }
183
- return;
184
- }
185
171
  const context = await (0, context_1.getContext)(this.config.collectDeviceId);
186
172
  // Get native context properties if available and collectDeviceId is enabled
187
173
  let nativeProperties = {};
@@ -211,13 +197,6 @@ class EdgeeClient {
211
197
  this.queue.enqueue(event);
212
198
  }
213
199
  async screen(screenName, data, components) {
214
- // Check consent before tracking
215
- if (!consent_1.ConsentUtils.canTrack()) {
216
- if (this.config.debug) {
217
- console.log(`[Edgee] Screen "${screenName}" not tracked - consent not granted`);
218
- }
219
- return;
220
- }
221
200
  const context = await (0, context_1.getContext)(this.config.collectDeviceId);
222
201
  // Get native context properties if available and collectDeviceId is enabled
223
202
  let nativeProperties = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-edgee",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Lightweight Edgee data collection client for React Native with native context collection.",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",