@tolinku/react-native-sdk 0.7.0 → 0.7.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/README.md CHANGED
@@ -315,6 +315,64 @@ await Tolinku.destroy();
315
315
  | `onButtonPress` | Callback for button presses, including your own app's deep link scheme |
316
316
  | `onDismiss` | Callback for message dismissal |
317
317
 
318
+ ## Privacy
319
+
320
+ This package ships no `PrivacyInfo.xcprivacy`, and that is the correct answer
321
+ rather than a gap. It has no native iOS code: `android/` holds a small Java
322
+ module for the Play Install Referrer, and everything on iOS runs in JavaScript
323
+ over `fetch`. A privacy manifest is read out of a bundle, an iOS package has no
324
+ bundle unless it compiles something, and Apple requires a manifest of an SDK
325
+ that calls a required-reason API. This package calls none.
326
+
327
+ What could apply reaches you through a dependency that declares it itself.
328
+ `@react-native-async-storage/async-storage`, which we use for in-app message
329
+ dismissal state, impressions and last-shown timestamps, ships a manifest
330
+ declaring `NSPrivacyAccessedAPICategoryFileTimestamp` with reason `C617.1`,
331
+ checked against 3.1.1. Our peer range allows versions older than the manifest
332
+ requirement, so if you are pinned below 1.21 check your own copy rather than
333
+ taking this on trust. We add nothing to it either way.
334
+
335
+ If you are auditing us, the equivalent for our other packages is
336
+ `Sources/TolinkuSDK/PrivacyInfo.xcprivacy` in
337
+ [ios-sdk](https://github.com/tolinku/ios-sdk) and
338
+ `ios/tolinku/Sources/tolinku/PrivacyInfo.xcprivacy` in
339
+ [flutter-sdk](https://github.com/tolinku/flutter-sdk). Both declare
340
+ `NSPrivacyTracking` false.
341
+
342
+ ### Tracking
343
+
344
+ The SDK never reads the advertising identifier, never calls App Tracking
345
+ Transparency, and never joins a person's activity to data from another
346
+ company's apps or sites. Deferred matching compares coarse device signals
347
+ inside Tolinku and discards them. You do not need an ATT prompt on our account.
348
+
349
+ ### What the SDK sends, and which of your calls cause it
350
+
351
+ Apple's privacy label and Google's Data Safety form both ask you to describe
352
+ your dependencies. This is the table to fill them from. It covers the whole
353
+ surface, which is almost certainly more than your integration uses. Nothing is
354
+ sent on your behalf: `Tolinku.links.resolve` makes no analytics call, and
355
+ `trackLinkOpen` is something you invoke.
356
+
357
+ | Apple's category | Triggered by | What is sent |
358
+ |---|---|---|
359
+ | Other Data Types | `Tolinku.deferred.claimBySignals` | IANA timezone, BCP-47 language with region, screen size, pixel ratio, OS version. Compared against the signals recorded at click time, then discarded. Not linked to an identity. |
360
+ | Product Interaction | `trackLinkOpen`, `track`, and the ecommerce interaction events (`viewItem`, `addToCart`, `removeFromCart`, `viewCart`, `addToWishlist`, `share`, `rate`) | The event name and whatever properties you attach |
361
+ | Search History | `Tolinku.ecommerce.search` | The `search_term` you pass |
362
+ | Purchase History | `purchase`, `refund`, `beginCheckout` | Transaction id, revenue, currency, line items |
363
+ | User ID | `Tolinku.setUserId`, and the referral calls | Your own identifier for the person. The SDK never derives one |
364
+ | Name | The optional `userName` on the referral calls | A display name for a referral leaderboard. Omit it and nothing in this category is sent |
365
+
366
+ Everything above except Other Data Types is linked to identity once you call
367
+ `Tolinku.setUserId`, because the SDK then attaches `user_id` to every event. If
368
+ you never call it, those flows carry no identifier from us.
369
+
370
+ On Android, the Play Install Referrer is read through
371
+ `com.android.installreferrer`, which needs no permission. Our
372
+ `AndroidManifest.xml` declares none.
373
+
374
+ If you integrate only link resolution, none of the six apply to you.
375
+
318
376
  ## Documentation
319
377
 
320
378
  Full documentation is available at [tolinku.com/docs](https://tolinku.com/docs).
package/dist/index.d.mts CHANGED
@@ -450,7 +450,7 @@ declare class Links {
450
450
  * await Tolinku.track('signup', { source: 'onboarding' });
451
451
  */
452
452
  declare class Tolinku {
453
- static readonly VERSION = "0.7.0";
453
+ static readonly VERSION = "0.7.1";
454
454
  private static client;
455
455
  private static analyticsInstance;
456
456
  private static ecommerceInstance;
package/dist/index.d.ts CHANGED
@@ -450,7 +450,7 @@ declare class Links {
450
450
  * await Tolinku.track('signup', { source: 'onboarding' });
451
451
  */
452
452
  declare class Tolinku {
453
- static readonly VERSION = "0.7.0";
453
+ static readonly VERSION = "0.7.1";
454
454
  private static client;
455
455
  private static analyticsInstance;
456
456
  private static ecommerceInstance;
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ var AsyncStorage__default = /*#__PURE__*/_interopDefault(AsyncStorage);
11
11
  var React__default = /*#__PURE__*/_interopDefault(React);
12
12
 
13
13
  // src/types.ts
14
- var SDK_VERSION = "0.7.0";
14
+ var SDK_VERSION = "0.7.1";
15
15
 
16
16
  // src/debug.ts
17
17
  var _debugEnabled = false;