From a8521fbf694c918c02a6e6f64c365698a3384fcb Mon Sep 17 00:00:00 2001
From: Kevin Miao
Date: Tue, 22 Sep 2026 14:43:23 -0700
Subject: [PATCH] feat: rename package to RNFingerprint
---
.changeset/config.json | 6 +-
.changeset/new-architecture-support.md | 2 +-
.changeset/pre.json | 2 +-
.changeset/spm-support.md | 2 +-
.changeset/v4-api-migration.md | 14 +-
.github/workflows/e2e-tests.yml | 6 +-
BareRNSPMTest/App.tsx | 2 +-
BareRNSPMTest/ios/Podfile.lock | 10 +-
BareRNSPMTest/package.json | 2 +-
BareRNSPMTest/pnpm-lock.yaml | 2 +-
README.md | 38 +--
e2e-app/App.tsx | 2 +-
e2e-app/app.config.ts | 2 +-
e2e-app/package.json | 2 +-
e2e-app/pnpm-lock.yaml | 2 +-
e2e-app/src/config.types.ts | 2 +-
e2e-app/src/config.web.ts | 2 +-
package.json | 4 +-
sdk/CHANGELOG.md | 254 +++++++++---------
sdk/Package.swift | 32 +--
sdk/README.md | 38 +--
...intjsPro.podspec => RNFingerprint.podspec} | 9 +-
sdk/__tests__/FingerprintClient.test.ts | 2 +-
sdk/__tests__/FingerprintProvider.test.ts | 2 +-
sdk/__tests__/setup.ts | 8 +-
sdk/__tests__/useVisitorData.test.ts | 4 +-
sdk/android/build.gradle | 6 +-
.../reactnative/RNFingerprintModule.kt} | 8 +-
.../reactnative/RNFingerprintPackage.kt} | 14 +-
...SError+React.swift => FPError+React.swift} | 4 +-
...ader.h => RNFingerprint-Bridging-Header.h} | 0
...erprintjsPro.swift => RNFingerprint.swift} | 12 +-
.../project.pbxproj | 60 ++---
...RNFingerprintjsPro.mm => RNFingerprint.mm} | 12 +-
sdk/package.json | 10 +-
sdk/react-native.config.js | 4 +-
sdk/scripts/sync-podspec-version.sh | 2 +-
sdk/src/FingerprintClient.ts | 6 +-
...erprintjsPro.ts => NativeRNFingerprint.ts} | 4 +-
39 files changed, 298 insertions(+), 295 deletions(-)
rename sdk/{RNFingerprintjsPro.podspec => RNFingerprint.podspec} (82%)
rename sdk/android/src/main/java/com/{fingerprintjs/reactnative/RNFingerprintjsProModule.kt => fingerprint/reactnative/RNFingerprintModule.kt} (96%)
rename sdk/android/src/main/java/com/{fingerprintjs/reactnative/RNFingerprintjsProPackage.kt => fingerprint/reactnative/RNFingerprintPackage.kt} (70%)
rename sdk/ios/{FPJSError+React.swift => FPError+React.swift} (98%)
rename sdk/ios/{RNFingerprintjsPro-Bridging-Header.h => RNFingerprint-Bridging-Header.h} (100%)
rename sdk/ios/{RNFingerprintjsPro.swift => RNFingerprint.swift} (92%)
rename sdk/ios/{RNFingerprintjsPro.xcodeproj => RNFingerprint.xcodeproj}/project.pbxproj (75%)
rename sdk/ios/turbomodule/{RNFingerprintjsPro.mm => RNFingerprint.mm} (73%)
rename sdk/src/specs/{NativeRNFingerprintjsPro.ts => NativeRNFingerprint.ts} (94%)
diff --git a/.changeset/config.json b/.changeset/config.json
index df5185bf..b3e38b7c 100644
--- a/.changeset/config.json
+++ b/.changeset/config.json
@@ -3,10 +3,10 @@
"changelog": [
"@fingerprintjs/changesets-native-dependency-format",
{
- "repo": "fingerprintjs/fingerprintjs-pro-react-native",
+ "repo": "fingerprintjs/react-native",
"androidPath": "sdk/android",
- "iosPodspecPath": "sdk/RNFingerprintjsPro.podspec",
- "packageName": "fingerprintjs-pro-react-native"
+ "iosPodspecPath": "sdk/RNFingerprint.podspec",
+ "packageName": "@fingerprint/react-native"
}
],
"commit": false,
diff --git a/.changeset/new-architecture-support.md b/.changeset/new-architecture-support.md
index 0b5001bf..4ca6724c 100644
--- a/.changeset/new-architecture-support.md
+++ b/.changeset/new-architecture-support.md
@@ -1,5 +1,5 @@
---
-'@fingerprintjs/fingerprintjs-pro-react-native': major
+'@fingerprint/react-native': major
---
Dropped React Native Old Architecture support. The native module is now a TurboModule (New Architecture only) exposed via a Codegen spec.
diff --git a/.changeset/pre.json b/.changeset/pre.json
index ec24e9be..de3f7e64 100644
--- a/.changeset/pre.json
+++ b/.changeset/pre.json
@@ -2,7 +2,7 @@
"mode": "pre",
"tag": "rc",
"initialVersions": {
- "@fingerprintjs/fingerprintjs-pro-react-native": "3.17.0"
+ "@fingerprint/react-native": "3.17.0"
},
"changesets": [
"new-architecture-support"
diff --git a/.changeset/spm-support.md b/.changeset/spm-support.md
index 1ea1f205..c6aa6ffb 100644
--- a/.changeset/spm-support.md
+++ b/.changeset/spm-support.md
@@ -1,5 +1,5 @@
---
-'@fingerprintjs/fingerprintjs-pro-react-native': minor
+'@fingerprint/react-native': minor
---
Added experimental support for [Swift Package Manager](https://swift.org/package-manager/). The library now ships with its own `Package.swift`.
diff --git a/.changeset/v4-api-migration.md b/.changeset/v4-api-migration.md
index 5844fab7..d785e6d0 100644
--- a/.changeset/v4-api-migration.md
+++ b/.changeset/v4-api-migration.md
@@ -1,5 +1,5 @@
---
-'@fingerprintjs/fingerprintjs-pro-react-native': major
+'@fingerprint/react-native': major
---
Migrated the SDK to Fingerprint API v4 and realigned the public API with `@fingerprint/react`. This is a breaking change on every platform (web, iOS, Android).
@@ -50,8 +50,8 @@ Migrated the SDK to Fingerprint API v4 and realigned the public API with `@finge
**Provider**
```diff
-- import { FingerprintJsProProvider } from '@fingerprintjs/fingerprintjs-pro-react-native'
-+ import { FingerprintProvider } from '@fingerprintjs/fingerprintjs-pro-react-native'
+- import { FingerprintJsProProvider } from '@fingerprint/react-native'
++ import { FingerprintProvider } from '@fingerprint/react-native'
-
+
@@ -79,8 +79,8 @@ Migrated the SDK to Fingerprint API v4 and realigned the public API with `@finge
**Imperative client**
```diff
-- import { FingerprintJsProAgent } from '@fingerprintjs/fingerprintjs-pro-react-native'
-+ import { start } from '@fingerprintjs/fingerprintjs-pro-react-native'
+- import { FingerprintJsProAgent } from '@fingerprint/react-native'
++ import { start } from '@fingerprint/react-native'
- const client = new FingerprintJsProAgent({ apiKey: 'PUBLIC_API_KEY', region: 'eu' })
- const visitorId = await client.getVisitorId()
@@ -110,8 +110,8 @@ Migrated the SDK to Fingerprint API v4 and realigned the public API with `@finge
**Errors**
```diff
-- import { TooManyRequestError } from '@fingerprintjs/fingerprintjs-pro-react-native'
-+ import { isFingerprintError } from '@fingerprintjs/fingerprintjs-pro-react-native'
+- import { TooManyRequestError } from '@fingerprint/react-native'
++ import { isFingerprintError } from '@fingerprint/react-native'
try {
await fp.get()
diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml
index 2d7b2b3d..7d36e079 100644
--- a/.github/workflows/e2e-tests.yml
+++ b/.github/workflows/e2e-tests.yml
@@ -59,7 +59,7 @@ jobs:
REACT_NATIVE_VERSION: ${{ matrix.react-native }}
- name: Install ${{github.event.release.tag_name}} version of the package
- run: pnpm add @fingerprintjs/fingerprintjs-pro-react-native@${{github.event.release.tag_name}}
+ run: pnpm add @fingerprint/react-native@${{github.event.release.tag_name}}
if: github.event_name == 'release'
working-directory: e2e-app
@@ -259,7 +259,7 @@ jobs:
REACT_NATIVE_VERSION: ${{ matrix.react-native }}
- name: Install ${{github.event.release.tag_name}} version of the package
- run: pnpm add @fingerprintjs/fingerprintjs-pro-react-native@${{github.event.release.tag_name}}
+ run: pnpm add @fingerprint/react-native@${{github.event.release.tag_name}}
if: github.event_name == 'release'
working-directory: e2e-app
@@ -410,7 +410,7 @@ jobs:
working-directory: e2e-app
- name: Install ${{github.event.release.tag_name}} version of the package
- run: pnpm add @fingerprintjs/fingerprintjs-pro-react-native@${{github.event.release.tag_name}}
+ run: pnpm add @fingerprint/react-native@${{github.event.release.tag_name}}
if: github.event_name == 'release'
working-directory: e2e-app
diff --git a/BareRNSPMTest/App.tsx b/BareRNSPMTest/App.tsx
index cf5b5be0..b577e98d 100644
--- a/BareRNSPMTest/App.tsx
+++ b/BareRNSPMTest/App.tsx
@@ -2,7 +2,7 @@
// but it doesn't work nicely with older RN versions that we also run tests against, so keep SafeAreaView import from react-native for now
/* eslint-disable */
import { Pressable, SafeAreaView, Text, View } from 'react-native'
-import { FingerprintProvider, isFingerprintError, useVisitorData } from '@fingerprintjs/fingerprintjs-pro-react-native'
+import { FingerprintProvider, isFingerprintError, useVisitorData } from '@fingerprint/react-native'
import { useEffect } from 'react'
import { API_KEY } from '@env'
function InnerApp() {
diff --git a/BareRNSPMTest/ios/Podfile.lock b/BareRNSPMTest/ios/Podfile.lock
index 367129d3..976c17fa 100644
--- a/BareRNSPMTest/ios/Podfile.lock
+++ b/BareRNSPMTest/ios/Podfile.lock
@@ -1674,7 +1674,7 @@ PODS:
- React-utils (= 0.87.1)
- ReactNativeDependencies
- ReactNativeDependencies (0.87.1)
- - RNFingerprintjsPro (1.0.4):
+ - RNFingerprint (1.0.4):
- Fingerprint-iOS (~> 4.0)
- hermes-engine
- RCTRequired
@@ -1788,7 +1788,7 @@ DEPENDENCIES:
- ReactCodegen (from `build/generated/ios/ReactCodegen`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
- ReactNativeDependencies (from `../node_modules/react-native/third-party-podspecs/ReactNativeDependencies.podspec`)
- - "RNFingerprintjsPro (from `../node_modules/@fingerprintjs/fingerprintjs-pro-react-native`)"
+ - "RNFingerprint (from `../node_modules/@fingerprint/react-native`)"
- SocketRocket (from `build/rndeps-facades/SocketRocket`)
- Yoga (from `build/rncore-facades/Yoga`)
@@ -1966,8 +1966,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon"
ReactNativeDependencies:
:podspec: "../node_modules/react-native/third-party-podspecs/ReactNativeDependencies.podspec"
- RNFingerprintjsPro:
- :path: "../node_modules/@fingerprintjs/fingerprintjs-pro-react-native"
+ RNFingerprint:
+ :path: "../node_modules/@fingerprint/react-native"
SocketRocket:
:path: build/rndeps-facades/SocketRocket
Yoga:
@@ -2059,7 +2059,7 @@ SPEC CHECKSUMS:
ReactCodegen: c5a9b8634e580167b9ca4a175749a30d27dbcf0e
ReactCommon: 749169e12aa3461a3df3656a00e48dbe0456b2d6
ReactNativeDependencies: 94c922c39e0e6150ee9ad05e2ca1946e0ef55783
- RNFingerprintjsPro: fff5c717067a9ff7fea035f253f384e1683b8ec2
+ RNFingerprint: fff5c717067a9ff7fea035f253f384e1683b8ec2
SocketRocket: 37aec555668fb852ec12e3c0de59a86ca58f0871
Yoga: d1c536142c5ff8ec8cd856ab2a7c227a1d875c8e
diff --git a/BareRNSPMTest/package.json b/BareRNSPMTest/package.json
index 0a507bfd..7be4cb66 100644
--- a/BareRNSPMTest/package.json
+++ b/BareRNSPMTest/package.json
@@ -8,7 +8,7 @@
"start": "react-native start"
},
"dependencies": {
- "@fingerprintjs/fingerprintjs-pro-react-native": "../sdk",
+ "@fingerprint/react-native": "../sdk",
"@react-native/new-app-screen": "0.87.1",
"react": "19.2.3",
"react-native": "0.87.1"
diff --git a/BareRNSPMTest/pnpm-lock.yaml b/BareRNSPMTest/pnpm-lock.yaml
index 0e7b7340..c53e559b 100644
--- a/BareRNSPMTest/pnpm-lock.yaml
+++ b/BareRNSPMTest/pnpm-lock.yaml
@@ -8,7 +8,7 @@ importers:
.:
dependencies:
- '@fingerprintjs/fingerprintjs-pro-react-native':
+ '@fingerprint/react-native':
specifier: ../sdk
version: link:../sdk
'@react-native/new-app-screen':
diff --git a/README.md b/README.md
index 64fb5570..7e3071ce 100644
--- a/README.md
+++ b/README.md
@@ -8,14 +8,14 @@
-
-
+
+
-
-
+
+
-
-
+
+
@@ -23,7 +23,7 @@
-
+
@@ -80,18 +80,18 @@ Install the package using your favorite package manager:
- [NPM](https://npmjs.org):
```shell
- npm install @fingerprintjs/fingerprintjs-pro-react-native --save
+ npm install @fingerprint/react-native --save
```
- [Yarn](https://yarnpkg.com):
```shell
- yarn add @fingerprintjs/fingerprintjs-pro-react-native
+ yarn add @fingerprint/react-native
```
- [PNPM](https://pnpm.js.org):
```shell
- pnpm add @fingerprintjs/fingerprintjs-pro-react-native
+ pnpm add @fingerprint/react-native
```
## Expo setup
@@ -127,7 +127,7 @@ Then, use the SDK as you would with the native version.
{
"expo": {
"plugins": [
- "@fingerprintjs/fingerprintjs-pro-react-native"
+ "@fingerprint/react-native"
]
}
}
@@ -191,7 +191,7 @@ Configure the SDK by wrapping your application in `FingerprintProvider`.
// src/index.js
import React from 'react';
import { AppRegistry } from 'react-native';
-import { FingerprintProvider } from '@fingerprintjs/fingerprintjs-pro-react-native';
+import { FingerprintProvider } from '@fingerprint/react-native';
import App from './App';
import { name as appName } from './app.json';
@@ -210,7 +210,7 @@ Use the `useVisitorData` hook in your components to perform visitor identificati
// src/App.js
import React from 'react'
import {Button, SafeAreaView, Text, View} from 'react-native'
-import {useVisitorData} from '@fingerprintjs/fingerprintjs-pro-react-native'
+import {useVisitorData} from '@fingerprint/react-native'
export default function App() {
const {isLoading, isFetched, error, data, getData} = useVisitorData()
@@ -251,7 +251,7 @@ Create a client with `start()` and call `get()`:
```javascript
import React, { useEffect } from 'react';
-import { start } from '@fingerprintjs/fingerprintjs-pro-react-native';
+import { start } from '@fingerprint/react-native';
// ...
@@ -272,7 +272,7 @@ useEffect(() => {
Inside the React tree you can also get the same client from context with the `useFingerprint()` hook:
```javascript
-import { useFingerprint } from '@fingerprintjs/fingerprintjs-pro-react-native';
+import { useFingerprint } from '@fingerprint/react-native';
const fp = useFingerprint();
const result = await fp.get({ linkedId: 'user_1234' });
@@ -298,7 +298,7 @@ Every failure is thrown as a single `FingerprintError` carrying a machine-friend
`too_many_requests`) and a resolution-oriented `message`:
```javascript
-import { isFingerprintError } from '@fingerprintjs/fingerprintjs-pro-react-native';
+import { isFingerprintError } from '@fingerprint/react-native';
try {
await fp.get();
@@ -361,7 +361,7 @@ return (
## API Reference
-See the full [generated API Reference](https://fingerprintjs.github.io/fingerprintjs-pro-react-native/).
+See the full [generated API Reference](https://fingerprintjs.github.io/react-native/).
## Additional Resources
@@ -371,9 +371,9 @@ See the full [generated API Reference](https://fingerprintjs.github.io/fingerpri
## Support and feedback
To report problems, ask questions or provide feedback, please
-use [Issues](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/issues). If you need private support,
+use [Issues](https://github.com/fingerprintjs/react-native/issues). If you need private support,
please email us at `oss-support@fingerprint.com`.
## License
-This project is licensed under the [MIT license](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/main/LICENSE).
+This project is licensed under the [MIT license](https://github.com/fingerprintjs/react-native/blob/main/LICENSE).
diff --git a/e2e-app/App.tsx b/e2e-app/App.tsx
index 5d9fa5e4..78e24fad 100644
--- a/e2e-app/App.tsx
+++ b/e2e-app/App.tsx
@@ -2,7 +2,7 @@
// but it doesn't work nicely with older RN versions that we also run tests against, so keep SafeAreaView import from react-native for now
/* eslint-disable @typescript-eslint/no-deprecated */
import { Pressable, SafeAreaView, Text, View } from 'react-native'
-import { FingerprintProvider, isFingerprintError, useVisitorData } from '@fingerprintjs/fingerprintjs-pro-react-native'
+import { FingerprintProvider, isFingerprintError, useVisitorData } from '@fingerprint/react-native'
import { testIds } from '@/e2e/ids'
import { useEffect } from 'react'
import { testTags } from '@/e2e/tags'
diff --git a/e2e-app/app.config.ts b/e2e-app/app.config.ts
index 56367f82..b6cb8c1e 100644
--- a/e2e-app/app.config.ts
+++ b/e2e-app/app.config.ts
@@ -35,7 +35,7 @@ const config: ExpoConfig = {
package: 'com.fingerprint.e2eapp',
},
plugins: [
- '@fingerprintjs/fingerprintjs-pro-react-native',
+ '@fingerprint/react-native',
[
'expo-build-properties',
{
diff --git a/e2e-app/package.json b/e2e-app/package.json
index 9f6d2db1..80fc948f 100644
--- a/e2e-app/package.json
+++ b/e2e-app/package.json
@@ -19,7 +19,7 @@
"dependencies": {
"@expo/config": "^57.0.3",
"@expo/metro-runtime": "~57.0.3",
- "@fingerprintjs/fingerprintjs-pro-react-native": "../sdk",
+ "@fingerprint/react-native": "../sdk",
"@fingerprint/agent": "^4.1.3",
"dotenv": "^16.4.7",
"expo": "57.0.4",
diff --git a/e2e-app/pnpm-lock.yaml b/e2e-app/pnpm-lock.yaml
index bea6bef1..ac4692ec 100644
--- a/e2e-app/pnpm-lock.yaml
+++ b/e2e-app/pnpm-lock.yaml
@@ -17,7 +17,7 @@ importers:
'@fingerprint/agent':
specifier: ^4.1.3
version: 4.1.3
- '@fingerprintjs/fingerprintjs-pro-react-native':
+ '@fingerprint/react-native':
specifier: ../sdk
version: link:../sdk
dotenv:
diff --git a/e2e-app/src/config.types.ts b/e2e-app/src/config.types.ts
index d232d8cd..d61d88bc 100644
--- a/e2e-app/src/config.types.ts
+++ b/e2e-app/src/config.types.ts
@@ -1,4 +1,4 @@
-import { Region } from '@fingerprintjs/fingerprintjs-pro-react-native'
+import { Region } from '@fingerprint/react-native'
export type Config = {
apiKey: string
diff --git a/e2e-app/src/config.web.ts b/e2e-app/src/config.web.ts
index 1a5fc118..8a6e1011 100644
--- a/e2e-app/src/config.web.ts
+++ b/e2e-app/src/config.web.ts
@@ -1,5 +1,5 @@
import { Config } from '@/src/config.types'
-import { Region } from '@fingerprintjs/fingerprintjs-pro-react-native'
+import { Region } from '@fingerprint/react-native'
const search = new URLSearchParams(window.location.search)
diff --git a/package.json b/package.json
index 9271045b..4c99dc37 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "name": "fingerprintjs-pro-react-native",
+ "name": "fingerprint-react-native",
"version": "0.0.0",
"private": true,
"packageManager": "pnpm@11.5.1",
@@ -20,7 +20,7 @@
},
"repository": {
"type": "git",
- "url": "git+https://github.com/fingerprintjs/fingerprintjs-pro-react-native.git"
+ "url": "git+https://github.com/fingerprintjs/react-native.git"
},
"author": "FingerprintJS, Inc (https://fingerprint.com)",
"license": "MIT",
diff --git a/sdk/CHANGELOG.md b/sdk/CHANGELOG.md
index c74abc14..c15c4e5f 100644
--- a/sdk/CHANGELOG.md
+++ b/sdk/CHANGELOG.md
@@ -1,4 +1,4 @@
-# @fingerprintjs/fingerprintjs-pro-react-native
+# @fingerprint/react-native
## 4.0.0-rc.0
@@ -12,13 +12,13 @@
### Patch Changes
-- Fix logic in `FingerprintJsProProvider` that prevented the agent from being updated after its parameters changed ([01d5667](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/01d56671b991f86bb13025c8f03dc50fc5d2714b))
+- Fix logic in `FingerprintJsProProvider` that prevented the agent from being updated after its parameters changed ([01d5667](https://github.com/fingerprintjs/react-native/commit/01d56671b991f86bb13025c8f03dc50fc5d2714b))
## 3.17.0
### Minor Changes
-- Add an option to rethrow errors from `useVisitorData().getData`. ([86230b3](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/86230b35ccf27e6281cb7dd7670b805cd9b19f28))
+- Add an option to rethrow errors from `useVisitorData().getData`. ([86230b3](https://github.com/fingerprintjs/react-native/commit/86230b35ccf27e6281cb7dd7670b805cd9b19f28))
### Supported Native SDK Version Range
@@ -32,7 +32,7 @@
- Update mobile agents to v2.17.0
- [iOS Agent v2.17.0](https://docs.fingerprint.com/docs/changelog-ios-sdk#v2-17-0)
- - [Android Agent v2.17.0](https://docs.fingerprint.com/docs/changelog-android-sdk#v2-17-0) ([d80abd8](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/d80abd810567a90d54cc009372164041c8330083))
+ - [Android Agent v2.17.0](https://docs.fingerprint.com/docs/changelog-android-sdk#v2-17-0) ([d80abd8](https://github.com/fingerprintjs/react-native/commit/d80abd810567a90d54cc009372164041c8330083))
### Supported Native SDK Version Range
@@ -46,7 +46,7 @@
- Update mobile agents to v2.16.0
- [iOS Agent v2.16.0](https://docs.fingerprint.com/docs/changelog-ios-sdk#v2-16-0)
- - [Android Agent v2.16.0](https://docs.fingerprint.com/docs/changelog-android-sdk#v2-16-0) ([aed5000](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/aed50007498ebd184608c18ec68585586aec27a1))
+ - [Android Agent v2.16.0](https://docs.fingerprint.com/docs/changelog-android-sdk#v2-16-0) ([aed5000](https://github.com/fingerprintjs/react-native/commit/aed50007498ebd184608c18ec68585586aec27a1))
### Supported Native SDK Version Range
@@ -60,235 +60,235 @@
- Update mobile agents to v2.16.0
- [iOS Agent v2.16.0](https://docs.fingerprint.com/docs/changelog-ios-sdk#v2-16-0)
- - [Android Agent v2.16.0](https://docs.fingerprint.com/docs/changelog-android-sdk#v2-16-0) ([aed5000](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/aed50007498ebd184608c18ec68585586aec27a1))
+ - [Android Agent v2.16.0](https://docs.fingerprint.com/docs/changelog-android-sdk#v2-16-0) ([aed5000](https://github.com/fingerprintjs/react-native/commit/aed50007498ebd184608c18ec68585586aec27a1))
-## [3.14.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.13.0...v3.14.0) (2026-05-05)
+## [3.14.0](https://github.com/fingerprintjs/react-native/compare/v3.13.0...v3.14.0) (2026-05-05)
### Features
-- use Fingerprint Pro iOS v2.15.0 ([d0e3807](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/d0e3807fe6d3bc00d908ac09381d7707a9a9a435))
+- use Fingerprint Pro iOS v2.15.0 ([d0e3807](https://github.com/fingerprintjs/react-native/commit/d0e3807fe6d3bc00d908ac09381d7707a9a9a435))
### Supported Native SDK Version Range
- Fingerprint Android SDK Version Range: **`>= 2.15.0 and < 2.16.0`**
- Fingerprint iOS SDK Version Range: **`~> 2.15.0`**
-## [3.13.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.12.0...v3.13.0) (2026-04-28)
+## [3.13.0](https://github.com/fingerprintjs/react-native/compare/v3.12.0...v3.13.0) (2026-04-28)
### Features
-- use Fingerprint Pro Android v2.15.0 ([0b69968](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/0b699685fdb7cca3a432488ea4e70dc886a2426e))
+- use Fingerprint Pro Android v2.15.0 ([0b69968](https://github.com/fingerprintjs/react-native/commit/0b699685fdb7cca3a432488ea4e70dc886a2426e))
### Supported Native SDK Version Range
- Fingerprint Android SDK Version Range: **`>= 2.15.0 and < 2.16.0`**
- Fingerprint iOS SDK Version Range: **`~> 2.14.0`**
-## [3.12.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.11.0...v3.12.0) (2026-03-31)
+## [3.12.0](https://github.com/fingerprintjs/react-native/compare/v3.11.0...v3.12.0) (2026-03-31)
### Features
-- use Fingerprint Pro Android v2.14.0 ([abc4513](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/abc4513c72aaf8bdbaaf2181e005aa3eb2a75c17))
-- use Fingerprint Pro iOS v2.14.0 ([ebbc9e4](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/ebbc9e468b55b54337c9510244407c9b9ac29f18))
+- use Fingerprint Pro Android v2.14.0 ([abc4513](https://github.com/fingerprintjs/react-native/commit/abc4513c72aaf8bdbaaf2181e005aa3eb2a75c17))
+- use Fingerprint Pro iOS v2.14.0 ([ebbc9e4](https://github.com/fingerprintjs/react-native/commit/ebbc9e468b55b54337c9510244407c9b9ac29f18))
### Supported Native SDK Version Range
- Fingerprint Android SDK Version Range: **`>= 2.14.0 and < 2.15.0`**
- Fingerprint iOS SDK Version Range: **`~> 2.14.0`**
-## [3.11.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.10.0...v3.11.0) (2026-02-18)
+## [3.11.0](https://github.com/fingerprintjs/react-native/compare/v3.10.0...v3.11.0) (2026-02-18)
### Features
-- use Fingerprint Pro Android v2.13.0 ([4844102](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/4844102d20268da61b78f4abce38b7198810f588))
-- use Fingerprint Pro iOS v2.13.0 ([3f4252d](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/3f4252d4eb9489f87a3e26397e7855048f692520))
+- use Fingerprint Pro Android v2.13.0 ([4844102](https://github.com/fingerprintjs/react-native/commit/4844102d20268da61b78f4abce38b7198810f588))
+- use Fingerprint Pro iOS v2.13.0 ([3f4252d](https://github.com/fingerprintjs/react-native/commit/3f4252d4eb9489f87a3e26397e7855048f692520))
### Supported Native SDK Version Range
- Fingerprint Android SDK Version Range: **`>= 2.13.1 and < 2.14.0`**
- Fingerprint iOS SDK Version Range: **`~> 2.13.0`**
-## [3.10.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.9.0...v3.10.0) (2025-12-11)
+## [3.10.0](https://github.com/fingerprintjs/react-native/compare/v3.9.0...v3.10.0) (2025-12-11)
### Features
-- use Fingerprint Pro Android v2.12.0 ([332376a](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/332376a641e5232036cfc84c2645459f4aab4520))
-- use Fingerprint Pro iOS v2.12.0 ([0b73ef2](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/0b73ef2ff0b0580f0512ca810a64c1b8d6669545))
+- use Fingerprint Pro Android v2.12.0 ([332376a](https://github.com/fingerprintjs/react-native/commit/332376a641e5232036cfc84c2645459f4aab4520))
+- use Fingerprint Pro iOS v2.12.0 ([0b73ef2](https://github.com/fingerprintjs/react-native/commit/0b73ef2ff0b0580f0512ca810a64c1b8d6669545))
### Supported Native SDK Version Range
- Fingerprint Android SDK Version Range: **`>= 2.12.0 and < 2.13.0`**
- Fingerprint iOS SDK Version Range: **`~> 2.12.0`**
-## [3.9.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.8.0...v3.9.0) (2025-10-28)
+## [3.9.0](https://github.com/fingerprintjs/react-native/compare/v3.8.0...v3.9.0) (2025-10-28)
### Features
-- use Fingerprint Pro Android v2.11.0 ([00ddc39](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/00ddc3936ad26a2aa17bf3e80f17e47ee9d1492e))
-- use Fingerprint Pro iOS v2.11.0 ([fb90c9a](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/fb90c9aa177088826f7a8fc8aead2c75a7b7e9f8))
+- use Fingerprint Pro Android v2.11.0 ([00ddc39](https://github.com/fingerprintjs/react-native/commit/00ddc3936ad26a2aa17bf3e80f17e47ee9d1492e))
+- use Fingerprint Pro iOS v2.11.0 ([fb90c9a](https://github.com/fingerprintjs/react-native/commit/fb90c9aa177088826f7a8fc8aead2c75a7b7e9f8))
### Supported Native SDK Version Range
- Fingerprint Android SDK Version Range: **`>= 2.11.0 and < 2.12.0`**
- Fingerprint iOS SDK Version Range: **`~> 2.11.0`**
-## [3.8.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.7.0...v3.8.0) (2025-09-23)
+## [3.8.0](https://github.com/fingerprintjs/react-native/compare/v3.7.0...v3.8.0) (2025-09-23)
### Features
-- add Proximity Detection init options (`allowUseOfLocationData` - to allow collect location data and `locationTimeoutMillisAndroid` - to configure the location retrieval timeout on Android ([636622c](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/636622cb02f781c3e0a5a0c973d42d34201c3136))
+- add Proximity Detection init options (`allowUseOfLocationData` - to allow collect location data and `locationTimeoutMillisAndroid` - to configure the location retrieval timeout on Android ([636622c](https://github.com/fingerprintjs/react-native/commit/636622cb02f781c3e0a5a0c973d42d34201c3136))
### Bug Fixes
-- remove `src` folder from the release artifacts ([a0c9121](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/a0c9121c9d30c87547424c243ba30a79256dfbc9))
+- remove `src` folder from the release artifacts ([a0c9121](https://github.com/fingerprintjs/react-native/commit/a0c9121c9d30c87547424c243ba30a79256dfbc9))
### Supported Native SDK Version Range
- Fingerprint Android SDK Version Range: **`>= 2.10.0 and < 2.11.0`**
- Fingerprint iOS SDK Version Range: **`~> 2.10.0`**
-## [3.8.0-test.2](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.8.0-test.1...v3.8.0-test.2) (2025-09-23)
+## [3.8.0-test.2](https://github.com/fingerprintjs/react-native/compare/v3.8.0-test.1...v3.8.0-test.2) (2025-09-23)
### Bug Fixes
-- remove `src` folder from the release artifacts ([a0c9121](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/a0c9121c9d30c87547424c243ba30a79256dfbc9))
+- remove `src` folder from the release artifacts ([a0c9121](https://github.com/fingerprintjs/react-native/commit/a0c9121c9d30c87547424c243ba30a79256dfbc9))
### Supported Native SDK Version Range
- Fingerprint Android SDK Version Range: **`>= 2.10.0 and < 2.11.0`**
- Fingerprint iOS SDK Version Range: **`~> 2.10.0`**
-## [3.8.0-test.1](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.7.0...v3.8.0-test.1) (2025-09-23)
+## [3.8.0-test.1](https://github.com/fingerprintjs/react-native/compare/v3.7.0...v3.8.0-test.1) (2025-09-23)
### Features
-- add Proximity Detection init options (`allowUseOfLocationData` - to allow collect location data and `locationTimeoutMillisAndroid` - to configure the location retrieval timeout on Android ([636622c](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/636622cb02f781c3e0a5a0c973d42d34201c3136))
+- add Proximity Detection init options (`allowUseOfLocationData` - to allow collect location data and `locationTimeoutMillisAndroid` - to configure the location retrieval timeout on Android ([636622c](https://github.com/fingerprintjs/react-native/commit/636622cb02f781c3e0a5a0c973d42d34201c3136))
### Supported Native SDK Version Range
- Fingerprint Android SDK Version Range: **`>= 2.10.0 and < 2.11.0`**
- Fingerprint iOS SDK Version Range: **`~> 2.10.0`**
-## [3.7.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.6.0...v3.7.0) (2025-09-09)
+## [3.7.0](https://github.com/fingerprintjs/react-native/compare/v3.6.0...v3.7.0) (2025-09-09)
### Features
-- use Fingerprint Pro Android v2.10.0 ([7553f92](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/7553f925a28a5b0f4d376436271e65f90926c454))
-- use Fingerprint Pro iOS v2.10.0 ([5ece1e6](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/5ece1e6f7a2c9776b7bf3c521c8ac70c9794e047))
+- use Fingerprint Pro Android v2.10.0 ([7553f92](https://github.com/fingerprintjs/react-native/commit/7553f925a28a5b0f4d376436271e65f90926c454))
+- use Fingerprint Pro iOS v2.10.0 ([5ece1e6](https://github.com/fingerprintjs/react-native/commit/5ece1e6f7a2c9776b7bf3c521c8ac70c9794e047))
### Supported Native SDK Version Range
- Fingerprint Android SDK Version Range: **`>= 2.10.0 and < 2.11.0`**
- Fingerprint iOS SDK Version Range: **`~> 2.10.0`**
-## [3.6.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.5.0...v3.6.0) (2025-09-03)
+## [3.6.0](https://github.com/fingerprintjs/react-native/compare/v3.5.0...v3.6.0) (2025-09-03)
### Features
-- add official web support ([44a954c](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/44a954c4c50b938c7625057df582853e1eec8de6))
-- introduce official expo support ([07291e1](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/07291e1a6dffee30c8efc5b801fbc2c020e20dad))
+- add official web support ([44a954c](https://github.com/fingerprintjs/react-native/commit/44a954c4c50b938c7625057df582853e1eec8de6))
+- introduce official expo support ([07291e1](https://github.com/fingerprintjs/react-native/commit/07291e1a6dffee30c8efc5b801fbc2c020e20dad))
### Supported Native SDK Version Range
- Fingerprint Android SDK Version Range: **`>= 2.9.0 and < 2.10.0`**
- Fingerprint iOS SDK Version Range: **`~> 2.9.0`**
-## [3.5.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.4.1...v3.5.0) (2025-08-26)
+## [3.5.0](https://github.com/fingerprintjs/react-native/compare/v3.4.1...v3.5.0) (2025-08-26)
### Features
-- add `InvalidProxyIntegrationHeadersError` and `InvalidProxyIntegrationSecretError` ([4e38a66](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/4e38a66a056c27ff2715cb9c91b1fd8385af034e))
-- add `ProxyIntegrationSecretEnvironmentMismatch` error ([ac29477](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/ac294771cad76fb38980f2e033261757cff665cb))
-- use Fingerprint Pro Android v2.9.0 ([7ca1703](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/7ca17034460105fd162ca1a0bc57b83a0c3342dd))
-- use Fingerprint Pro iOS v2.9.0 ([d20c88d](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/d20c88db445fc45bff6ddf3b848d83bf381d0996))
+- add `InvalidProxyIntegrationHeadersError` and `InvalidProxyIntegrationSecretError` ([4e38a66](https://github.com/fingerprintjs/react-native/commit/4e38a66a056c27ff2715cb9c91b1fd8385af034e))
+- add `ProxyIntegrationSecretEnvironmentMismatch` error ([ac29477](https://github.com/fingerprintjs/react-native/commit/ac294771cad76fb38980f2e033261757cff665cb))
+- use Fingerprint Pro Android v2.9.0 ([7ca1703](https://github.com/fingerprintjs/react-native/commit/7ca17034460105fd162ca1a0bc57b83a0c3342dd))
+- use Fingerprint Pro iOS v2.9.0 ([d20c88d](https://github.com/fingerprintjs/react-native/commit/d20c88db445fc45bff6ddf3b848d83bf381d0996))
### Build System
-- **deps:** bump form-data from 4.0.0 to 4.0.4 ([a495670](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/a49567083c20017dccda91ce076caa709fbe76f9))
+- **deps:** bump form-data from 4.0.0 to 4.0.4 ([a495670](https://github.com/fingerprintjs/react-native/commit/a49567083c20017dccda91ce076caa709fbe76f9))
### Supported Native SDK Version Range
- Fingerprint Android SDK Version Range: **`>= 2.9.0 and < 2.10.0`**
- Fingerprint iOS SDK Version Range: **`~> 2.9.0`**
-## [3.4.1](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.4.0...v3.4.1) (2025-06-26)
+## [3.4.1](https://github.com/fingerprintjs/react-native/compare/v3.4.0...v3.4.1) (2025-06-26)
### Bug Fixes
-- pin Fingerprint native dependencies to MINOR version instead of MAJOR ([280c7de](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/280c7dedfd5152f14915e946f23f3989d7e790b1))
+- pin Fingerprint native dependencies to MINOR version instead of MAJOR ([280c7de](https://github.com/fingerprintjs/react-native/commit/280c7dedfd5152f14915e946f23f3989d7e790b1))
### Supported Native SDK Version Range
- Fingerprint Android SDK Version Range: **`>= 2.8.0 and < 2.9.0`**
- Fingerprint iOS SDK Version Range: **`~> 2.8.2`**
-## [3.4.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.3.1...v3.4.0) (2025-05-12)
+## [3.4.0](https://github.com/fingerprintjs/react-native/compare/v3.3.1...v3.4.0) (2025-05-12)
### Features
-- **android:** set minSdkVersion to 24 ([78a96d9](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/78a96d9f9e5efea0770ff1c51ec9b9d0136c8f49))
+- **android:** set minSdkVersion to 24 ([78a96d9](https://github.com/fingerprintjs/react-native/commit/78a96d9f9e5efea0770ff1c51ec9b9d0136c8f49))
### Bug Fixes
-- don't convert boolean fields of `tag` to int for iOS platform ([82c91a8](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/82c91a8256ef0c98c2a9905fdd77a6fb07bb3a09))
-- **ios:** revert podspec to dsl format ([38fc9ae](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/38fc9aefbf646fd96c678d1d7b5c28ed37a7afde))
+- don't convert boolean fields of `tag` to int for iOS platform ([82c91a8](https://github.com/fingerprintjs/react-native/commit/82c91a8256ef0c98c2a9905fdd77a6fb07bb3a09))
+- **ios:** revert podspec to dsl format ([38fc9ae](https://github.com/fingerprintjs/react-native/commit/38fc9aefbf646fd96c678d1d7b5c28ed37a7afde))
### Documentation
-- **README:** mention support for react-native version up to 0.79 ([a783162](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/a783162f7a6f279f3424d594744f76de71ee221d))
-- **README:** update package description ([62d3f91](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/62d3f91b6fe507b99dfd38176a76e1323d786dd0))
+- **README:** mention support for react-native version up to 0.79 ([a783162](https://github.com/fingerprintjs/react-native/commit/a783162f7a6f279f3424d594744f76de71ee221d))
+- **README:** update package description ([62d3f91](https://github.com/fingerprintjs/react-native/commit/62d3f91b6fe507b99dfd38176a76e1323d786dd0))
### Supported Native SDK Version Range
- Fingerprint Android SDK Version Range: **`>= 2.7.0 and < 3.0.0`**
- Fingerprint iOS SDK Version Range: **`>= 2.7.0 and < 3.0.0`**
-## [3.3.1](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.3.0...v3.3.1) (2025-01-30)
+## [3.3.1](https://github.com/fingerprintjs/react-native/compare/v3.3.0...v3.3.1) (2025-01-30)
### Bug Fixes
-- fix compatibility with React Native new architecture (v0.76+) ([8b2003b](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/8b2003bf4e535721e816106a3a15760fa79baf59))
-- improve Android types to make project Kotlin v2 compatible (RN 0.77+) ([891c9c3](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/891c9c37544ae09e90f94cb51da18c6cf332bb80))
+- fix compatibility with React Native new architecture (v0.76+) ([8b2003b](https://github.com/fingerprintjs/react-native/commit/8b2003bf4e535721e816106a3a15760fa79baf59))
+- improve Android types to make project Kotlin v2 compatible (RN 0.77+) ([891c9c3](https://github.com/fingerprintjs/react-native/commit/891c9c37544ae09e90f94cb51da18c6cf332bb80))
-## [3.3.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.2.0...v3.3.0) (2025-01-09)
+## [3.3.0](https://github.com/fingerprintjs/react-native/compare/v3.2.0...v3.3.0) (2025-01-09)
### Features
-- add custom timeout feature ([02757ef](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/02757ef0beb1caaf887f9380b22ddd492d9efdfc))
-- add sealed result support ([37dbe7f](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/37dbe7f41fcce22ad05e9a52d15300f33ef29d29))
-- update iOS and Android SDKs to v2.7.0 ([eafa1d4](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/eafa1d4e573db6bcd99b5e5f8615f7b5062faca4))
+- add custom timeout feature ([02757ef](https://github.com/fingerprintjs/react-native/commit/02757ef0beb1caaf887f9380b22ddd492d9efdfc))
+- add sealed result support ([37dbe7f](https://github.com/fingerprintjs/react-native/commit/37dbe7f41fcce22ad05e9a52d15300f33ef29d29))
+- update iOS and Android SDKs to v2.7.0 ([eafa1d4](https://github.com/fingerprintjs/react-native/commit/eafa1d4e573db6bcd99b5e5f8615f7b5062faca4))
-## [3.2.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.1.0...v3.2.0) (2024-10-08)
+## [3.2.0](https://github.com/fingerprintjs/react-native/compare/v3.1.0...v3.2.0) (2024-10-08)
### Features
-- use Fingerprint Pro Android v2.6.0 ([8d5c417](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/8d5c417ecb0668cdbeed5bb8fd6c7042b3167c84))
+- use Fingerprint Pro Android v2.6.0 ([8d5c417](https://github.com/fingerprintjs/react-native/commit/8d5c417ecb0668cdbeed5bb8fd6c7042b3167c84))
-## [3.1.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.0.2...v3.1.0) (2024-08-22)
+## [3.1.0](https://github.com/fingerprintjs/react-native/compare/v3.0.2...v3.1.0) (2024-08-22)
### Features
-- add `fallbackEndpointUrls` configuration param ([5ce1864](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/5ce1864bd3a22a8c3b741bcc6c05882c7d1e5a88))
-- update Android agent to v2.5.0 ([6dfcb88](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/6dfcb8883f10696e56e3245d1b42753740651db4))
-- update iOS agent to v2.6.0 ([dfe83b2](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/dfe83b20c4f8e96243d17f4fda9446bc43b600cb))
+- add `fallbackEndpointUrls` configuration param ([5ce1864](https://github.com/fingerprintjs/react-native/commit/5ce1864bd3a22a8c3b741bcc6c05882c7d1e5a88))
+- update Android agent to v2.5.0 ([6dfcb88](https://github.com/fingerprintjs/react-native/commit/6dfcb8883f10696e56e3245d1b42753740651db4))
+- update iOS agent to v2.6.0 ([dfe83b2](https://github.com/fingerprintjs/react-native/commit/dfe83b20c4f8e96243d17f4fda9446bc43b600cb))
### Documentation
-- **README:** unify and simplify linkedId section ([67cb56e](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/67cb56ea9d1913b360dcca28858539efe524568e))
+- **README:** unify and simplify linkedId section ([67cb56e](https://github.com/fingerprintjs/react-native/commit/67cb56ea9d1913b360dcca28858539efe524568e))
-## [3.0.2](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.0.1...v3.0.2) (2024-03-28)
+## [3.0.2](https://github.com/fingerprintjs/react-native/compare/v3.0.1...v3.0.2) (2024-03-28)
### Build System
-- **deps:** bump ip from 1.1.8 to 1.1.9 ([cb27362](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/cb27362394d3b29e87a863e9610eb98bc2dfa91a))
+- **deps:** bump ip from 1.1.8 to 1.1.9 ([cb27362](https://github.com/fingerprintjs/react-native/commit/cb27362394d3b29e87a863e9610eb98bc2dfa91a))
-## [3.0.1](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v3.0.0...v3.0.1) (2024-03-20)
+## [3.0.1](https://github.com/fingerprintjs/react-native/compare/v3.0.0...v3.0.1) (2024-03-20)
### Bug Fixes
-- publish package with correct version in integration info ([a561071](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/a561071d46c3e4f011b7f6d1076d2fe26dc2883c))
+- publish package with correct version in integration info ([a561071](https://github.com/fingerprintjs/react-native/commit/a561071d46c3e4f011b7f6d1076d2fe26dc2883c))
-## [3.0.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v2.6.0...v3.0.0) (2024-01-22)
+## [3.0.0](https://github.com/fingerprintjs/react-native/compare/v2.6.0...v3.0.0) (2024-01-22)
### ⚠ BREAKING CHANGES
@@ -297,106 +297,106 @@
### Features
-- bump major version ([401272a](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/401272a113c16c19affce720c438df983ddb090c))
-- update Android agent to 2.3.4 ([76ac218](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/76ac2181b8b1a2e1265062ef301f8d31920a3143))
-- upgrade rn to 0.73.2 ([ed3148c](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/ed3148c3189d5210ae23bb763fe556f870bf6119))
+- bump major version ([401272a](https://github.com/fingerprintjs/react-native/commit/401272a113c16c19affce720c438df983ddb090c))
+- update Android agent to 2.3.4 ([76ac218](https://github.com/fingerprintjs/react-native/commit/76ac2181b8b1a2e1265062ef301f8d31920a3143))
+- upgrade rn to 0.73.2 ([ed3148c](https://github.com/fingerprintjs/react-native/commit/ed3148c3189d5210ae23bb763fe556f870bf6119))
### Documentation
-- update requirements section ([8229a3c](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/8229a3c3dd5314eacba4fa5f0cd22add9ad760a8))
+- update requirements section ([8229a3c](https://github.com/fingerprintjs/react-native/commit/8229a3c3dd5314eacba4fa5f0cd22add9ad760a8))
-## [2.6.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v2.5.3...v2.6.0) (2023-11-28)
+## [2.6.0](https://github.com/fingerprintjs/react-native/compare/v2.5.3...v2.6.0) (2023-11-28)
### Features
-- update iOS agent to 2.3.1 ([6b6f8cf](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/6b6f8cfedc24602f591e9af6041a7562d8ce61f1))
+- update iOS agent to 2.3.1 ([6b6f8cf](https://github.com/fingerprintjs/react-native/commit/6b6f8cfedc24602f591e9af6041a7562d8ce61f1))
### Documentation
-- update requirements section ([ae5e74f](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/ae5e74f0f8d4e7f68163536133aff69af1638257))
+- update requirements section ([ae5e74f](https://github.com/fingerprintjs/react-native/commit/ae5e74f0f8d4e7f68163536133aff69af1638257))
-## [2.5.3](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v2.5.2...v2.5.3) (2023-10-17)
+## [2.5.3](https://github.com/fingerprintjs/react-native/compare/v2.5.2...v2.5.3) (2023-10-17)
### Documentation
-- add `support and feedback` section, merge `limitations` with `requirements` ([46ba804](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/46ba8043472202d580cd97b84743a7de502ce3b9))
-- add requirements section, revisit README.md ([c298393](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/c298393026de445b627d4e7cbae874ce97661a65))
-- add table of contents ([c95748d](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/c95748d40bca37ad60bedea361d6f0a1dd920a7c))
+- add `support and feedback` section, merge `limitations` with `requirements` ([46ba804](https://github.com/fingerprintjs/react-native/commit/46ba8043472202d580cd97b84743a7de502ce3b9))
+- add requirements section, revisit README.md ([c298393](https://github.com/fingerprintjs/react-native/commit/c298393026de445b627d4e7cbae874ce97661a65))
+- add table of contents ([c95748d](https://github.com/fingerprintjs/react-native/commit/c95748d40bca37ad60bedea361d6f0a1dd920a7c))
-## [2.5.2](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v2.5.1...v2.5.2) (2023-09-20)
+## [2.5.2](https://github.com/fingerprintjs/react-native/compare/v2.5.1...v2.5.2) (2023-09-20)
### Bug Fixes
-- fix package publishing problems ([cb51a80](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/cb51a8037b281c29079d6aa61f3fdedd97ca6626))
-- use `dist` folder instead of `build` for build artifacts to unify dx with other projects ([be9b5ca](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/be9b5cad715b6b79a125f44b84d3cdc9639bf8f2))
+- fix package publishing problems ([cb51a80](https://github.com/fingerprintjs/react-native/commit/cb51a8037b281c29079d6aa61f3fdedd97ca6626))
+- use `dist` folder instead of `build` for build artifacts to unify dx with other projects ([be9b5ca](https://github.com/fingerprintjs/react-native/commit/be9b5cad715b6b79a125f44b84d3cdc9639bf8f2))
-## [2.5.1](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v2.5.0...v2.5.1) (2023-09-07)
+## [2.5.1](https://github.com/fingerprintjs/react-native/compare/v2.5.0...v2.5.1) (2023-09-07)
### Documentation
-- **README:** add minumum OS versions requirement ([c734fc9](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/c734fc90523bd79d422d8e0f394270cf75711306))
+- **README:** add minumum OS versions requirement ([c734fc9](https://github.com/fingerprintjs/react-native/commit/c734fc90523bd79d422d8e0f394270cf75711306))
-## [2.5.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v2.4.0...v2.5.0) (2023-08-07)
+## [2.5.0](https://github.com/fingerprintjs/react-native/compare/v2.4.0...v2.5.0) (2023-08-07)
### Features
-- update Android agent to v2.3.2 ([fb5f655](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/fb5f655e92d6832f3210984ae0e37fd30380d8f2))
+- update Android agent to v2.3.2 ([fb5f655](https://github.com/fingerprintjs/react-native/commit/fb5f655e92d6832f3210984ae0e37fd30380d8f2))
-## [2.4.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v2.3.1...v2.4.0) (2023-06-29)
+## [2.4.0](https://github.com/fingerprintjs/react-native/compare/v2.3.1...v2.4.0) (2023-06-29)
### Features
-- bump iOS Agent to v2.2.0 to introduce new Smart Signals ([e47613b](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/e47613ba74e13dbbc34c30158755c25964188303))
+- bump iOS Agent to v2.2.0 to introduce new Smart Signals ([e47613b](https://github.com/fingerprintjs/react-native/commit/e47613ba74e13dbbc34c30158755c25964188303))
-## [2.3.1](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v2.3.0...v2.3.1) (2023-06-27)
+## [2.3.1](https://github.com/fingerprintjs/react-native/compare/v2.3.0...v2.3.1) (2023-06-27)
### Bug Fixes
-- mark library as not required in MainQueue [#79](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/issues/79) ([e544d7e](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/e544d7e680f945ac46e085bfa88e0858cdb494f8))
+- mark library as not required in MainQueue [#79](https://github.com/fingerprintjs/react-native/issues/79) ([e544d7e](https://github.com/fingerprintjs/react-native/commit/e544d7e680f945ac46e085bfa88e0858cdb494f8))
-## [2.3.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v2.2.2...v2.3.0) (2023-04-28)
+## [2.3.0](https://github.com/fingerprintjs/react-native/compare/v2.2.2...v2.3.0) (2023-04-28)
### Features
-- bump android dependencies ([862b327](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/862b327f3385e9b6a7d111066dbc188e0a39fd28))
+- bump android dependencies ([862b327](https://github.com/fingerprintjs/react-native/commit/862b327f3385e9b6a7d111066dbc188e0a39fd28))
-## [2.2.2](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v2.2.1...v2.2.2) (2023-03-22)
+## [2.2.2](https://github.com/fingerprintjs/react-native/compare/v2.2.1...v2.2.2) (2023-03-22)
### Bug Fixes
-- update Android agent to 2.3.0 ([de724a1](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/de724a1b5914a483cf2ff6f42404ca3973fb9bf7))
+- update Android agent to 2.3.0 ([de724a1](https://github.com/fingerprintjs/react-native/commit/de724a1b5914a483cf2ff6f42404ca3973fb9bf7))
-## [2.2.1](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v2.2.0...v2.2.1) (2023-03-14)
+## [2.2.1](https://github.com/fingerprintjs/react-native/compare/v2.2.0...v2.2.1) (2023-03-14)
### Documentation
-- code snippet fix for FingerprintJsProProvider ([4249f53](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/4249f53fe45b2ebb4eec82634c3bb12e1131f311))
-- readme fix code snippets ([6a11ef3](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/6a11ef36242584fa51f905a55e1296f1aadd2c55))
+- code snippet fix for FingerprintJsProProvider ([4249f53](https://github.com/fingerprintjs/react-native/commit/4249f53fe45b2ebb4eec82634c3bb12e1131f311))
+- readme fix code snippets ([6a11ef3](https://github.com/fingerprintjs/react-native/commit/6a11ef36242584fa51f905a55e1296f1aadd2c55))
-## [2.2.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v2.1.1...v2.2.0) (2023-02-17)
+## [2.2.0](https://github.com/fingerprintjs/react-native/compare/v2.1.1...v2.2.0) (2023-02-17)
### Features
-- update agents to add proxy integrations support ([51a6b45](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/51a6b45a876e25d0cec272a8b9437030ca677727))
+- update agents to add proxy integrations support ([51a6b45](https://github.com/fingerprintjs/react-native/commit/51a6b45a876e25d0cec272a8b9437030ca677727))
### Bug Fixes
-- update Android agent to 2.2.3 to fix Cloudflare support ([cbfd260](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/cbfd260dab73ea8820ca650dbd0134d11091727c))
-- update iOS agent to 2.1.8 to fix fingerprintjs/fingerprintjs-pro-ios[#27](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/issues/27) ([f7929b3](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/f7929b3492edd9b2f77b137a193cfc80b3fa269f))
+- update Android agent to 2.2.3 to fix Cloudflare support ([cbfd260](https://github.com/fingerprintjs/react-native/commit/cbfd260dab73ea8820ca650dbd0134d11091727c))
+- update iOS agent to 2.1.8 to fix fingerprintjs/fingerprintjs-pro-ios[#27](https://github.com/fingerprintjs/react-native/issues/27) ([f7929b3](https://github.com/fingerprintjs/react-native/commit/f7929b3492edd9b2f77b137a193cfc80b3fa269f))
-## [2.1.1](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v2.1.0...v2.1.1) (2023-01-11)
+## [2.1.1](https://github.com/fingerprintjs/react-native/compare/v2.1.0...v2.1.1) (2023-01-11)
### Bug Fixes
-- remove redundant gradle dependency from library ([d7439d2](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/d7439d2b21696828d610277a9d0e3ffe4be729ed))
+- remove redundant gradle dependency from library ([d7439d2](https://github.com/fingerprintjs/react-native/commit/d7439d2b21696828d610277a9d0e3ffe4be729ed))
-## [2.1.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v2.0.0...v2.1.0) (2022-11-18)
+## [2.1.0](https://github.com/fingerprintjs/react-native/compare/v2.0.0...v2.1.0) (2022-11-18)
### Features
-- update android agent to 2.2.0 version ([212f601](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/212f601d8d24629d69378982f21caa6e4b67c6a9))
+- update android agent to 2.2.0 version ([212f601](https://github.com/fingerprintjs/react-native/commit/212f601d8d24629d69378982f21caa6e4b67c6a9))
-## [2.0.0](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/compare/v1.0.4...v2.0.0) (2022-09-27)
+## [2.0.0](https://github.com/fingerprintjs/react-native/compare/v1.0.4...v2.0.0) (2022-09-27)
### ⚠ BREAKING CHANGES
@@ -407,33 +407,33 @@
### Features
-- add `extendedResponseFormat` configuration flag ([2add6cc](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/2add6cc63a23410db0fab86c2097a30ec7dded63))
-- add `getVisitorData` method to the react-native agent ([16b4378](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/16b4378be2acbe97e592fb1fc1e3fed480977280))
-- better error reporting ([f011cb7](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/f011cb76f8d9f8d00ebb9577a8f3d2c03c01eb4e))
-- change `FingerprintJsProAgent` constructor interface ([1b8aab9](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/1b8aab9f89be378be67a15f4603068844f165a41))
-- send integration info ([f52e2cf](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/f52e2cfdb7b617e7d5b56c674024977d19839d71))
-- support `linkedId` param for identification requests ([e8557db](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/e8557db4c9d6ae1e9e341a8c40be0acba91d72c4))
-- update android agent to the latest version ([4051a7b](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/4051a7ba7dc5f91dc439c3c5dcc41b7f7cdab02c))
-- update iOS agent to 2.1.3 ([14a0e42](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/14a0e4232c4ca71bcb204d92aa9e51e64b2c12e7))
-- update iOS agent to the latest version ([a33d160](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/a33d160ad410b1e9bf6f43039f72fa81b5d965e0))
-- update iOS agent to v2.1.1 ([f4541f2](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/f4541f253b0333ee9bcd3e963799a7a78790d579))
-- update iOS native agent to 2.1.2 to return support of iOS 12 ([20c7342](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/20c73420eb882b4e0710f1de598498e9980239be))
-- update react-native to 0.70.1 ([22b8d33](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/22b8d33ee42d4c3d851ba6a97085da1a3eb0cea8))
+- add `extendedResponseFormat` configuration flag ([2add6cc](https://github.com/fingerprintjs/react-native/commit/2add6cc63a23410db0fab86c2097a30ec7dded63))
+- add `getVisitorData` method to the react-native agent ([16b4378](https://github.com/fingerprintjs/react-native/commit/16b4378be2acbe97e592fb1fc1e3fed480977280))
+- better error reporting ([f011cb7](https://github.com/fingerprintjs/react-native/commit/f011cb76f8d9f8d00ebb9577a8f3d2c03c01eb4e))
+- change `FingerprintJsProAgent` constructor interface ([1b8aab9](https://github.com/fingerprintjs/react-native/commit/1b8aab9f89be378be67a15f4603068844f165a41))
+- send integration info ([f52e2cf](https://github.com/fingerprintjs/react-native/commit/f52e2cfdb7b617e7d5b56c674024977d19839d71))
+- support `linkedId` param for identification requests ([e8557db](https://github.com/fingerprintjs/react-native/commit/e8557db4c9d6ae1e9e341a8c40be0acba91d72c4))
+- update android agent to the latest version ([4051a7b](https://github.com/fingerprintjs/react-native/commit/4051a7ba7dc5f91dc439c3c5dcc41b7f7cdab02c))
+- update iOS agent to 2.1.3 ([14a0e42](https://github.com/fingerprintjs/react-native/commit/14a0e4232c4ca71bcb204d92aa9e51e64b2c12e7))
+- update iOS agent to the latest version ([a33d160](https://github.com/fingerprintjs/react-native/commit/a33d160ad410b1e9bf6f43039f72fa81b5d965e0))
+- update iOS agent to v2.1.1 ([f4541f2](https://github.com/fingerprintjs/react-native/commit/f4541f253b0333ee9bcd3e963799a7a78790d579))
+- update iOS native agent to 2.1.2 to return support of iOS 12 ([20c7342](https://github.com/fingerprintjs/react-native/commit/20c73420eb882b4e0710f1de598498e9980239be))
+- update react-native to 0.70.1 ([22b8d33](https://github.com/fingerprintjs/react-native/commit/22b8d33ee42d4c3d851ba6a97085da1a3eb0cea8))
### Bug Fixes
-- async code example ([e0bd804](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/e0bd804190524995c4960a13663d3992ae83a3e3))
-- change substitution literal in .husky/commit_msg ([2267a30](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/2267a302a22e1d0426316f05b53993527652b5af))
-- error description ([c82c45b](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/c82c45bfd8f9f09d7b0d3902f0b41970199b9053))
-- expand Tags type ([08e6a73](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/08e6a73ec91c20f9a01560b9d6eb2856330da171))
-- generate iOS Metadata even if linkedId is nil ([858ac51](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/858ac5171bd95b7c88abfddd08528a244c9b38af))
-- getVisitorId error handling ([c2971cd](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/c2971cd1e55d92e0a200d09eb73370dc18b09e17))
-- pass correct `linkedId` type to the android library ([68fa2e4](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/68fa2e405f924738d255de58d43fe9fd36aab696))
-- tag functionality for new iOS library ([be590e6](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/be590e6a4e944f00327b3484fdc6348dd2743355))
+- async code example ([e0bd804](https://github.com/fingerprintjs/react-native/commit/e0bd804190524995c4960a13663d3992ae83a3e3))
+- change substitution literal in .husky/commit_msg ([2267a30](https://github.com/fingerprintjs/react-native/commit/2267a302a22e1d0426316f05b53993527652b5af))
+- error description ([c82c45b](https://github.com/fingerprintjs/react-native/commit/c82c45bfd8f9f09d7b0d3902f0b41970199b9053))
+- expand Tags type ([08e6a73](https://github.com/fingerprintjs/react-native/commit/08e6a73ec91c20f9a01560b9d6eb2856330da171))
+- generate iOS Metadata even if linkedId is nil ([858ac51](https://github.com/fingerprintjs/react-native/commit/858ac5171bd95b7c88abfddd08528a244c9b38af))
+- getVisitorId error handling ([c2971cd](https://github.com/fingerprintjs/react-native/commit/c2971cd1e55d92e0a200d09eb73370dc18b09e17))
+- pass correct `linkedId` type to the android library ([68fa2e4](https://github.com/fingerprintjs/react-native/commit/68fa2e405f924738d255de58d43fe9fd36aab696))
+- tag functionality for new iOS library ([be590e6](https://github.com/fingerprintjs/react-native/commit/be590e6a4e944f00327b3484fdc6348dd2743355))
### Documentation
-- **README:** add documentation badge ([62a3df1](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/commit/62a3df1a4e9f560dad4c666198ea7492b022ecff))
+- **README:** add documentation badge ([62a3df1](https://github.com/fingerprintjs/react-native/commit/62a3df1a4e9f560dad4c666198ea7492b022ecff))
#### 1.0.4 (2022-08-05)
diff --git a/sdk/Package.swift b/sdk/Package.swift
index 3ea6065d..e56bf3a7 100644
--- a/sdk/Package.swift
+++ b/sdk/Package.swift
@@ -1,7 +1,7 @@
// swift-tools-version: 6.0
//
// Swift Package Manager manifest for
-// @fingerprintjs/fingerprintjs-pro-react-native, consumed by React Native
+// @fingerprint/react-native, consumed by React Native
// 0.87's experimental SwiftPM autolinking (`npx react-native spm`).
//
// ─────────────────────────────────────────────────────────────────────────────
@@ -25,22 +25,22 @@
// detox build):
// 1. The Swift target resolves RCTPromise* via `import React` (RCT_SPM flag).
// 2. The Fingerprint v4 SwiftPM product/module identity below is correct.
-// 3. The ObjC++ glue picks up RNFingerprintjsProSwift-Swift.h.
+// 3. The ObjC++ glue picks up RNFingerprintSwift-Swift.h.
//
-// The package/product name is pinned to `RNFingerprintjsPro` (matching the pod /
+// The package/product name is pinned to `RNFingerprint` (matching the pod /
// native module) via `spm.name` in react-native.config.js. The autolinker uses
// that name for its libs/ symlink and the product it references, so the
// product below must match it.
//
// The React / React-GeneratedCode packages use RELATIVE paths that assume this
-// manifest is reached through the autolinker's libs/RNFingerprintjsPro symlink —
+// manifest is reached through the autolinker's libs/RNFingerprint symlink —
// the same fixed depth `react-native spm scaffold` targets. They are resolved
// from the CONSUMING APP, not this repo; do not repoint them here.
import PackageDescription
let package = Package(
- name: "RNFingerprintjsPro",
+ name: "RNFingerprint",
// 15.0, NOT the podspec's 15.1: RN 0.87's SPM autolinker hardcodes its
// AutolinkedAggregate target at `.iOS(.v15)` (= 15.0) and gives no knob, so
// any library product requiring >15.0 fails resolution with "requires
@@ -49,8 +49,8 @@ let package = Package(
platforms: [.iOS(.v15), .tvOS(.v15)],
products: [
.library(
- name: "RNFingerprintjsPro",
- targets: ["RNFingerprintjsPro"]
+ name: "RNFingerprint",
+ targets: ["RNFingerprint"]
),
],
dependencies: [
@@ -58,7 +58,7 @@ let package = Package(
// they're referenced by local path. `ReactNative` is RN's prebuilt
// xcframeworks + header products; `React-GeneratedCode` is the app's
// per-app codegen output (the `ReactAppHeaders` product). The relative
- // paths resolve from the autolinker's libs/RNFingerprintjsPro symlink
+ // paths resolve from the autolinker's libs/RNFingerprint symlink
// (a fixed depth in /ios/build/generated/autolinking/), NOT from
// this repo, so `../../../../xcframeworks` lands on /ios/build/
// xcframeworks and `../../../ios` on the generated codegen package.
@@ -75,7 +75,7 @@ let package = Package(
// Pure-Swift implementation: all business logic + the Fingerprint SDK
// calls. Kept single-language so SwiftPM accepts the target.
.target(
- name: "RNFingerprintjsProSwift",
+ name: "RNFingerprintSwift",
dependencies: [
.product(name: "ReactHeaders", package: "ReactNative"),
.product(name: "ReactNativeHeaders", package: "ReactNative"),
@@ -85,14 +85,14 @@ let package = Package(
path: "ios",
exclude: [
"turbomodule",
- "RNFingerprintjsPro-Bridging-Header.h",
- "RNFingerprintjsPro.xcodeproj",
+ "RNFingerprint-Bridging-Header.h",
+ "RNFingerprint.xcodeproj",
"build",
],
sources: [
- "FPJSError+React.swift",
+ "FPError+React.swift",
"JSONTypeConvertor.swift",
- "RNFingerprintjsPro.swift",
+ "RNFingerprint.swift",
],
// swift-tools-version 6.0 defaults targets to Swift 6 language mode,
// whose strict concurrency rejects capturing the non-Sendable ObjC
@@ -102,12 +102,12 @@ let package = Package(
swiftSettings: [.define("RCT_SPM"), .swiftLanguageMode(.v5)]
),
// Objective-C++ TurboModule glue: registers the native module and returns
- // the codegen'd C++ JSI spec (`NativeRNFingerprintjsProSpecJSI`). This
+ // the codegen'd C++ JSI spec (`NativeRNFingerprintSpecJSI`). This
// cannot be Swift. Depends on the Swift target for its generated header.
.target(
- name: "RNFingerprintjsPro",
+ name: "RNFingerprint",
dependencies: [
- "RNFingerprintjsProSwift",
+ "RNFingerprintSwift",
.product(name: "ReactHeaders", package: "ReactNative"),
.product(name: "ReactNativeHeaders", package: "ReactNative"),
.product(name: "ReactNativeDependenciesHeaders", package: "ReactNative"),
diff --git a/sdk/README.md b/sdk/README.md
index 64fb5570..7e3071ce 100644
--- a/sdk/README.md
+++ b/sdk/README.md
@@ -8,14 +8,14 @@
-
-
+
+
-
-
+
+
-
-
+
+
@@ -23,7 +23,7 @@
-
+
@@ -80,18 +80,18 @@ Install the package using your favorite package manager:
- [NPM](https://npmjs.org):
```shell
- npm install @fingerprintjs/fingerprintjs-pro-react-native --save
+ npm install @fingerprint/react-native --save
```
- [Yarn](https://yarnpkg.com):
```shell
- yarn add @fingerprintjs/fingerprintjs-pro-react-native
+ yarn add @fingerprint/react-native
```
- [PNPM](https://pnpm.js.org):
```shell
- pnpm add @fingerprintjs/fingerprintjs-pro-react-native
+ pnpm add @fingerprint/react-native
```
## Expo setup
@@ -127,7 +127,7 @@ Then, use the SDK as you would with the native version.
{
"expo": {
"plugins": [
- "@fingerprintjs/fingerprintjs-pro-react-native"
+ "@fingerprint/react-native"
]
}
}
@@ -191,7 +191,7 @@ Configure the SDK by wrapping your application in `FingerprintProvider`.
// src/index.js
import React from 'react';
import { AppRegistry } from 'react-native';
-import { FingerprintProvider } from '@fingerprintjs/fingerprintjs-pro-react-native';
+import { FingerprintProvider } from '@fingerprint/react-native';
import App from './App';
import { name as appName } from './app.json';
@@ -210,7 +210,7 @@ Use the `useVisitorData` hook in your components to perform visitor identificati
// src/App.js
import React from 'react'
import {Button, SafeAreaView, Text, View} from 'react-native'
-import {useVisitorData} from '@fingerprintjs/fingerprintjs-pro-react-native'
+import {useVisitorData} from '@fingerprint/react-native'
export default function App() {
const {isLoading, isFetched, error, data, getData} = useVisitorData()
@@ -251,7 +251,7 @@ Create a client with `start()` and call `get()`:
```javascript
import React, { useEffect } from 'react';
-import { start } from '@fingerprintjs/fingerprintjs-pro-react-native';
+import { start } from '@fingerprint/react-native';
// ...
@@ -272,7 +272,7 @@ useEffect(() => {
Inside the React tree you can also get the same client from context with the `useFingerprint()` hook:
```javascript
-import { useFingerprint } from '@fingerprintjs/fingerprintjs-pro-react-native';
+import { useFingerprint } from '@fingerprint/react-native';
const fp = useFingerprint();
const result = await fp.get({ linkedId: 'user_1234' });
@@ -298,7 +298,7 @@ Every failure is thrown as a single `FingerprintError` carrying a machine-friend
`too_many_requests`) and a resolution-oriented `message`:
```javascript
-import { isFingerprintError } from '@fingerprintjs/fingerprintjs-pro-react-native';
+import { isFingerprintError } from '@fingerprint/react-native';
try {
await fp.get();
@@ -361,7 +361,7 @@ return (
## API Reference
-See the full [generated API Reference](https://fingerprintjs.github.io/fingerprintjs-pro-react-native/).
+See the full [generated API Reference](https://fingerprintjs.github.io/react-native/).
## Additional Resources
@@ -371,9 +371,9 @@ See the full [generated API Reference](https://fingerprintjs.github.io/fingerpri
## Support and feedback
To report problems, ask questions or provide feedback, please
-use [Issues](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/issues). If you need private support,
+use [Issues](https://github.com/fingerprintjs/react-native/issues). If you need private support,
please email us at `oss-support@fingerprint.com`.
## License
-This project is licensed under the [MIT license](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/main/LICENSE).
+This project is licensed under the [MIT license](https://github.com/fingerprintjs/react-native/blob/main/LICENSE).
diff --git a/sdk/RNFingerprintjsPro.podspec b/sdk/RNFingerprint.podspec
similarity index 82%
rename from sdk/RNFingerprintjsPro.podspec
rename to sdk/RNFingerprint.podspec
index 9caeb7ea..cb466384 100644
--- a/sdk/RNFingerprintjsPro.podspec
+++ b/sdk/RNFingerprint.podspec
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|
- s.name = "RNFingerprintjsPro"
+ s.name = "RNFingerprint"
s.version = "3.17.1"
s.summary = "Fingerprint Pro visitor identification in a React Native app"
s.description = "Official React Native client for Fingerprint. Best identification solution for React Native."
s.homepage = "https://github.com/fingerprintjs"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "FingerprintJS, Inc" => "support@fingerprint.com" }
- s.source = { :git => "https://github.com/fingerprintjs/fingerprintjs-pro-react-native.git", :tag => "main" }
+ s.source = { :git => "https://github.com/fingerprintjs/react-native.git", :tag => "main" }
s.ios.deployment_target = "15.1"
s.tvos.deployment_target = "15.1"
s.source_files = "ios/**/*.{h,m,mm,swift}"
@@ -24,5 +24,8 @@ Pod::Spec.new do |s|
# Wires up the TurboModule/Codegen dependencies (ReactCommon, generated specs, ...) and defines
# `RCT_NEW_ARCH_ENABLED` for the pod when the app is built with the New Architecture.
- install_modules_dependencies(s)
+ # Older RN versions don't define this helper, so guard for it.
+ if respond_to?(:install_modules_dependencies, true)
+ install_modules_dependencies(s)
+ end
end
diff --git a/sdk/__tests__/FingerprintClient.test.ts b/sdk/__tests__/FingerprintClient.test.ts
index d42ae92e..64b17c91 100644
--- a/sdk/__tests__/FingerprintClient.test.ts
+++ b/sdk/__tests__/FingerprintClient.test.ts
@@ -2,7 +2,7 @@ import { NativeModules } from 'react-native'
import { FingerprintError, start } from '../src'
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
-const { getVisitorData } = NativeModules.RNFingerprintjsPro as unknown as Record
+const { getVisitorData } = NativeModules.RNFingerprint as unknown as Record
const nativeResponse = {
visitorId: 'some-visitor-id',
diff --git a/sdk/__tests__/FingerprintProvider.test.ts b/sdk/__tests__/FingerprintProvider.test.ts
index 8c6eaf21..d2703372 100644
--- a/sdk/__tests__/FingerprintProvider.test.ts
+++ b/sdk/__tests__/FingerprintProvider.test.ts
@@ -5,7 +5,7 @@ import { FingerprintContext } from '../src'
import { NativeModules } from 'react-native'
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
-const { configure } = NativeModules.RNFingerprintjsPro as unknown as Record
+const { configure } = NativeModules.RNFingerprint as unknown as Record
const pluginVersion = '__VERSION__'
diff --git a/sdk/__tests__/setup.ts b/sdk/__tests__/setup.ts
index 9dd495f3..f744e150 100644
--- a/sdk/__tests__/setup.ts
+++ b/sdk/__tests__/setup.ts
@@ -1,17 +1,17 @@
jest.mock('react-native', () => {
- const RNFingerprintjsPro = {
+ const RNFingerprint = {
configure: jest.fn(),
getVisitorData: jest.fn(),
}
return {
TurboModuleRegistry: {
- get: jest.fn(() => RNFingerprintjsPro),
- getEnforcing: jest.fn(() => RNFingerprintjsPro),
+ get: jest.fn(() => RNFingerprint),
+ getEnforcing: jest.fn(() => RNFingerprint),
},
// Kept so the same mock instances remain reachable via `NativeModules` (legacy access path).
NativeModules: {
- RNFingerprintjsPro,
+ RNFingerprint,
},
Platform: {
OS: 'android',
diff --git a/sdk/__tests__/useVisitorData.test.ts b/sdk/__tests__/useVisitorData.test.ts
index a05b3c70..24a08d3c 100644
--- a/sdk/__tests__/useVisitorData.test.ts
+++ b/sdk/__tests__/useVisitorData.test.ts
@@ -2,10 +2,10 @@ import { act, renderHook, waitFor } from '@testing-library/react'
import { NativeModules } from 'react-native'
import { TagsPrimitive, useVisitorData } from '../src'
import { createWrapper } from './helpers'
-import { NativeVisitorData } from '../src/specs/NativeRNFingerprintjsPro'
+import { NativeVisitorData } from '../src/specs/NativeRNFingerprint'
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
-const { getVisitorData } = NativeModules.RNFingerprintjsPro as unknown as Record
+const { getVisitorData } = NativeModules.RNFingerprint as unknown as Record
const nativeResponse = {
visitorId: 'some-visitor-id',
diff --git a/sdk/android/build.gradle b/sdk/android/build.gradle
index aee5cfca..036f44c4 100644
--- a/sdk/android/build.gradle
+++ b/sdk/android/build.gradle
@@ -4,13 +4,13 @@ plugins {
}
// The SDK supports the New Architecture only. Applying the React Gradle plugin runs library Codegen
-// (generates the `NativeRNFingerprintjsProSpec` base class).
+// (generates the `NativeRNFingerprintSpec` base class).
apply plugin: 'com.facebook.react'
apply from: 'fingerprint.gradle'
android {
- namespace "com.fingerprintjs.reactnative"
+ namespace "com.fingerprint.reactnative"
compileSdk 34
@@ -45,7 +45,7 @@ android {
sourceSets {
main {
- // Generated Codegen sources (the `NativeRNFingerprintjsProSpec` base class).
+ // Generated Codegen sources (the `NativeRNFingerprintSpec` base class).
java.srcDirs += [layout.buildDirectory.dir('generated/source/codegen/java').get().asFile.path]
}
}
diff --git a/sdk/android/src/main/java/com/fingerprintjs/reactnative/RNFingerprintjsProModule.kt b/sdk/android/src/main/java/com/fingerprint/reactnative/RNFingerprintModule.kt
similarity index 96%
rename from sdk/android/src/main/java/com/fingerprintjs/reactnative/RNFingerprintjsProModule.kt
rename to sdk/android/src/main/java/com/fingerprint/reactnative/RNFingerprintModule.kt
index 8d4caf0e..c1e8452b 100644
--- a/sdk/android/src/main/java/com/fingerprintjs/reactnative/RNFingerprintjsProModule.kt
+++ b/sdk/android/src/main/java/com/fingerprint/reactnative/RNFingerprintModule.kt
@@ -1,4 +1,4 @@
-package com.fingerprintjs.reactnative
+package com.fingerprint.reactnative
import com.facebook.react.bridge.*
import com.facebook.react.module.annotations.ReactModule
@@ -35,8 +35,8 @@ import com.fingerprint.android.ProxyIntegrationSecretEnvironmentMismatch
import java.lang.Exception
-@ReactModule(name = RNFingerprintjsProModule.NAME)
-class RNFingerprintjsProModule(reactContext: ReactApplicationContext) : NativeRNFingerprintjsProSpec(reactContext) {
+@ReactModule(name = RNFingerprintModule.NAME)
+class RNFingerprintModule(reactContext: ReactApplicationContext) : NativeRNFingerprintSpec(reactContext) {
private var fpjsClient: Fingerprint? = null
override fun getName(): String {
@@ -155,7 +155,7 @@ class RNFingerprintjsProModule(reactContext: ReactApplicationContext) : NativeRN
}
companion object {
- const val NAME = "RNFingerprintjsPro"
+ const val NAME = "RNFingerprint"
// The Android SDK's `Error.eventId` sentinel for "no event id available" (see the SDK's
// `Error` sealed class default).
diff --git a/sdk/android/src/main/java/com/fingerprintjs/reactnative/RNFingerprintjsProPackage.kt b/sdk/android/src/main/java/com/fingerprint/reactnative/RNFingerprintPackage.kt
similarity index 70%
rename from sdk/android/src/main/java/com/fingerprintjs/reactnative/RNFingerprintjsProPackage.kt
rename to sdk/android/src/main/java/com/fingerprint/reactnative/RNFingerprintPackage.kt
index 60dd7820..98ca863a 100644
--- a/sdk/android/src/main/java/com/fingerprintjs/reactnative/RNFingerprintjsProPackage.kt
+++ b/sdk/android/src/main/java/com/fingerprint/reactnative/RNFingerprintPackage.kt
@@ -1,4 +1,4 @@
-package com.fingerprintjs.reactnative
+package com.fingerprint.reactnative
import com.facebook.react.BaseReactPackage
import com.facebook.react.bridge.NativeModule
@@ -10,10 +10,10 @@ import com.facebook.react.module.model.ReactModuleInfoProvider
/**
* Registers the module as a TurboModule via `BaseReactPackage` + `ReactModuleInfoProvider`.
*/
-class RNFingerprintjsProPackage : BaseReactPackage() {
+class RNFingerprintPackage : BaseReactPackage() {
override fun getModule(name: String, reactContext: ReactApplicationContext): NativeModule? {
- return if (name == RNFingerprintjsProModule.NAME) {
- RNFingerprintjsProModule(reactContext)
+ return if (name == RNFingerprintModule.NAME) {
+ RNFingerprintModule(reactContext)
} else {
null
}
@@ -22,9 +22,9 @@ class RNFingerprintjsProPackage : BaseReactPackage() {
override fun getReactModuleInfoProvider(): ReactModuleInfoProvider {
return ReactModuleInfoProvider {
mapOf(
- RNFingerprintjsProModule.NAME to ReactModuleInfo(
- RNFingerprintjsProModule.NAME,
- RNFingerprintjsProModule.NAME,
+ RNFingerprintModule.NAME to ReactModuleInfo(
+ RNFingerprintModule.NAME,
+ RNFingerprintModule.NAME,
false, // canOverrideExistingModule
false, // needsEagerInit
false, // isCxxModule
diff --git a/sdk/ios/FPJSError+React.swift b/sdk/ios/FPError+React.swift
similarity index 98%
rename from sdk/ios/FPJSError+React.swift
rename to sdk/ios/FPError+React.swift
index e5856ac5..30d87d89 100644
--- a/sdk/ios/FPJSError+React.swift
+++ b/sdk/ios/FPError+React.swift
@@ -1,6 +1,6 @@
//
-// FPJSError+React.swift
-// RNFingerprintjsPro
+// FPError+React.swift
+// RNFingerprint
//
// Created by Petr Palata on 14.09.2022.
//
diff --git a/sdk/ios/RNFingerprintjsPro-Bridging-Header.h b/sdk/ios/RNFingerprint-Bridging-Header.h
similarity index 100%
rename from sdk/ios/RNFingerprintjsPro-Bridging-Header.h
rename to sdk/ios/RNFingerprint-Bridging-Header.h
diff --git a/sdk/ios/RNFingerprintjsPro.swift b/sdk/ios/RNFingerprint.swift
similarity index 92%
rename from sdk/ios/RNFingerprintjsPro.swift
rename to sdk/ios/RNFingerprint.swift
index 7174aa4d..1a5ea465 100644
--- a/sdk/ios/RNFingerprintjsPro.swift
+++ b/sdk/ios/RNFingerprint.swift
@@ -1,6 +1,6 @@
//
-// RNFingerprintjsPro.swift
-// RNFingerprintjsPro
+// RNFingerprint.swift
+// RNFingerprint
//
import Fingerprint
import Foundation
@@ -14,8 +14,8 @@ import Foundation
import React
#endif
-@objc(RNFingerprintjsPro)
-public class RNFingerprintjsPro: NSObject {
+@objc(RNFingerprint)
+public class RNFingerprint: NSObject {
private var fpjsClient: FingerprintClientProviding?
@objc
@@ -23,7 +23,7 @@ public class RNFingerprintjsPro: NSObject {
@objc(configure:pluginVersion:fallbackEndpointUrls:allowUseOfLocationData:locationTimeoutMillis:region:endpointUrl:)
public func configure(_ apiToken: String, _ pluginVersion: String, _ fallbackEndpointUrls: [String], _ allowUseOfLocationData: Bool, _ locationTimeoutMillis: Double, _ region: String?, _ endpointUrl: String?) -> Void {
- let region = RNFingerprintjsPro.parseRegion(region, endpoint: endpointUrl, endpointFallbacks: fallbackEndpointUrls)
+ let region = RNFingerprint.parseRegion(region, endpoint: endpointUrl, endpointFallbacks: fallbackEndpointUrls)
let integrationInfo = [("fingerprint-pro-react-native", pluginVersion)]
let configuration = Configuration(apiKey: apiToken, region: region, integrationInfo: integrationInfo, allowUseOfLocationData: allowUseOfLocationData)
fpjsClient = FingerprintFactory.getInstance(configuration)
@@ -31,7 +31,7 @@ public class RNFingerprintjsPro: NSObject {
@objc(getVisitorData:linkedId:timeout:resolve:reject:)
public func getVisitorData(tag: [String: Any]?, linkedId: String?, timeout: NSNumber?, resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) -> Void {
- let metadata = RNFingerprintjsPro.prepareMetadata(linkedId, tags: tag)
+ let metadata = RNFingerprint.prepareMetadata(linkedId, tags: tag)
let completionHandler: Fingerprint.VisitorIdResponseBlock = { visitorIdResponseResult in
switch visitorIdResponseResult {
diff --git a/sdk/ios/RNFingerprintjsPro.xcodeproj/project.pbxproj b/sdk/ios/RNFingerprint.xcodeproj/project.pbxproj
similarity index 75%
rename from sdk/ios/RNFingerprintjsPro.xcodeproj/project.pbxproj
rename to sdk/ios/RNFingerprint.xcodeproj/project.pbxproj
index 751dbfa6..e8b83e32 100644
--- a/sdk/ios/RNFingerprintjsPro.xcodeproj/project.pbxproj
+++ b/sdk/ios/RNFingerprint.xcodeproj/project.pbxproj
@@ -7,10 +7,10 @@
objects = {
/* Begin PBXBuildFile section */
- 10F8301B27A9CBEC00149386 /* RNFingerprintjsPro.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10F8301A27A9CBEC00149386 /* RNFingerprintjsPro.swift */; };
+ 10F8301B27A9CBEC00149386 /* RNFingerprint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10F8301A27A9CBEC00149386 /* RNFingerprint.swift */; };
7791DF533046F87B00BEC6A6 /* Fingerprint in Frameworks */ = {isa = PBXBuildFile; productRef = 7791DF523046F87B00BEC6A6 /* Fingerprint */; };
- 7791DF553046F9D900BEC6A6 /* FPJSError+React.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7791DF543046F9D900BEC6A6 /* FPJSError+React.swift */; };
- B3E7B58A1CC2AC0600A0062D /* RNFingerprintjsPro.mm in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNFingerprintjsPro.mm */; };
+ 7791DF553046F9D900BEC6A6 /* FPError+React.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7791DF543046F9D900BEC6A6 /* FPError+React.swift */; };
+ B3E7B58A1CC2AC0600A0062D /* RNFingerprint.mm in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNFingerprint.mm */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
@@ -26,12 +26,12 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
- 10F8301927A9CBEC00149386 /* RNFingerprintjsPro-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RNFingerprintjsPro-Bridging-Header.h"; sourceTree = ""; };
- 10F8301A27A9CBEC00149386 /* RNFingerprintjsPro.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RNFingerprintjsPro.swift; sourceTree = ""; };
- 134814201AA4EA6300B7C361 /* libRNFingerprintjsPro.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNFingerprintjsPro.a; sourceTree = BUILT_PRODUCTS_DIR; };
- 7791DF543046F9D900BEC6A6 /* FPJSError+React.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FPJSError+React.swift"; sourceTree = ""; };
- 7DC52BF728242E1900F78B99 /* RNFingerprintjsPro.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = RNFingerprintjsPro.podspec; path = ../RNFingerprintjsPro.podspec; sourceTree = ""; };
- B3E7B5891CC2AC0600A0062D /* RNFingerprintjsPro.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNFingerprintjsPro.mm; sourceTree = ""; };
+ 10F8301927A9CBEC00149386 /* RNFingerprint-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RNFingerprint-Bridging-Header.h"; sourceTree = ""; };
+ 10F8301A27A9CBEC00149386 /* RNFingerprint.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RNFingerprint.swift; sourceTree = ""; };
+ 134814201AA4EA6300B7C361 /* libRNFingerprint.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNFingerprint.a; sourceTree = BUILT_PRODUCTS_DIR; };
+ 7791DF543046F9D900BEC6A6 /* FPError+React.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FPError+React.swift"; sourceTree = ""; };
+ 7DC52BF728242E1900F78B99 /* RNFingerprint.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = RNFingerprint.podspec; path = ../RNFingerprint.podspec; sourceTree = ""; };
+ B3E7B5891CC2AC0600A0062D /* RNFingerprint.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNFingerprint.mm; sourceTree = ""; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -49,7 +49,7 @@
134814211AA4EA7D00B7C361 /* Products */ = {
isa = PBXGroup;
children = (
- 134814201AA4EA6300B7C361 /* libRNFingerprintjsPro.a */,
+ 134814201AA4EA6300B7C361 /* libRNFingerprint.a */,
);
name = Products;
sourceTree = "";
@@ -57,21 +57,21 @@
58B511D21A9E6C8500147676 = {
isa = PBXGroup;
children = (
- 7DC52BF728242E1900F78B99 /* RNFingerprintjsPro.podspec */,
- B3E7B5891CC2AC0600A0062D /* RNFingerprintjsPro.mm */,
- 7791DF543046F9D900BEC6A6 /* FPJSError+React.swift */,
- 10F8301A27A9CBEC00149386 /* RNFingerprintjsPro.swift */,
+ 7DC52BF728242E1900F78B99 /* RNFingerprint.podspec */,
+ B3E7B5891CC2AC0600A0062D /* RNFingerprint.mm */,
+ 7791DF543046F9D900BEC6A6 /* FPError+React.swift */,
+ 10F8301A27A9CBEC00149386 /* RNFingerprint.swift */,
134814211AA4EA7D00B7C361 /* Products */,
- 10F8301927A9CBEC00149386 /* RNFingerprintjsPro-Bridging-Header.h */,
+ 10F8301927A9CBEC00149386 /* RNFingerprint-Bridging-Header.h */,
);
sourceTree = "";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
- 58B511DA1A9E6C8500147676 /* RNFingerprintjsPro */ = {
+ 58B511DA1A9E6C8500147676 /* RNFingerprint */ = {
isa = PBXNativeTarget;
- buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNFingerprintjsPro" */;
+ buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNFingerprint" */;
buildPhases = (
58B511D71A9E6C8500147676 /* Sources */,
58B511D81A9E6C8500147676 /* Frameworks */,
@@ -81,9 +81,9 @@
);
dependencies = (
);
- name = RNFingerprintjsPro;
+ name = RNFingerprint;
productName = RCTDataManager;
- productReference = 134814201AA4EA6300B7C361 /* libRNFingerprintjsPro.a */;
+ productReference = 134814201AA4EA6300B7C361 /* libRNFingerprint.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */
@@ -101,7 +101,7 @@
};
};
};
- buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNFingerprintjsPro" */;
+ buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNFingerprint" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
@@ -117,7 +117,7 @@
projectDirPath = "";
projectRoot = "";
targets = (
- 58B511DA1A9E6C8500147676 /* RNFingerprintjsPro */,
+ 58B511DA1A9E6C8500147676 /* RNFingerprint */,
);
};
/* End PBXProject section */
@@ -127,9 +127,9 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- 7791DF553046F9D900BEC6A6 /* FPJSError+React.swift in Sources */,
- B3E7B58A1CC2AC0600A0062D /* RNFingerprintjsPro.mm in Sources */,
- 10F8301B27A9CBEC00149386 /* RNFingerprintjsPro.swift in Sources */,
+ 7791DF553046F9D900BEC6A6 /* FPError+React.swift in Sources */,
+ B3E7B58A1CC2AC0600A0062D /* RNFingerprint.mm in Sources */,
+ 10F8301B27A9CBEC00149386 /* RNFingerprint.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -234,9 +234,9 @@
);
LIBRARY_SEARCH_PATHS = "$(inherited)";
OTHER_LDFLAGS = "-ObjC";
- PRODUCT_NAME = RNFingerprintjsPro;
+ PRODUCT_NAME = RNFingerprint;
SKIP_INSTALL = YES;
- SWIFT_OBJC_BRIDGING_HEADER = "RNFingerprintjsPro-Bridging-Header.h";
+ SWIFT_OBJC_BRIDGING_HEADER = "RNFingerprint-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
};
@@ -259,9 +259,9 @@
);
LIBRARY_SEARCH_PATHS = "$(inherited)";
OTHER_LDFLAGS = "-ObjC";
- PRODUCT_NAME = RNFingerprintjsPro;
+ PRODUCT_NAME = RNFingerprint;
SKIP_INSTALL = YES;
- SWIFT_OBJC_BRIDGING_HEADER = "RNFingerprintjsPro-Bridging-Header.h";
+ SWIFT_OBJC_BRIDGING_HEADER = "RNFingerprint-Bridging-Header.h";
SWIFT_VERSION = 5.0;
};
name = Release;
@@ -269,7 +269,7 @@
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
- 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNFingerprintjsPro" */ = {
+ 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNFingerprint" */ = {
isa = XCConfigurationList;
buildConfigurations = (
58B511ED1A9E6C8500147676 /* Debug */,
@@ -278,7 +278,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
- 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNFingerprintjsPro" */ = {
+ 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNFingerprint" */ = {
isa = XCConfigurationList;
buildConfigurations = (
58B511F01A9E6C8500147676 /* Debug */,
diff --git a/sdk/ios/turbomodule/RNFingerprintjsPro.mm b/sdk/ios/turbomodule/RNFingerprint.mm
similarity index 73%
rename from sdk/ios/turbomodule/RNFingerprintjsPro.mm
rename to sdk/ios/turbomodule/RNFingerprint.mm
index 590afee8..702add68 100644
--- a/sdk/ios/turbomodule/RNFingerprintjsPro.mm
+++ b/sdk/ios/turbomodule/RNFingerprint.mm
@@ -1,6 +1,6 @@
#import
-@interface RCT_EXTERN_MODULE(RNFingerprintjsPro, NSObject)
+@interface RCT_EXTERN_MODULE(RNFingerprint, NSObject)
RCT_EXTERN_METHOD(configure:(NSString *)apiToken
pluginVersion:(NSString *)pluginVersion
@@ -22,18 +22,18 @@ @interface RCT_EXTERN_MODULE(RNFingerprintjsPro, NSObject)
// Expose the Swift class as a real TurboModule backed by the Codegen-generated spec. The Swift
// implementation already exposes the exact selectors the generated
-// `NativeRNFingerprintjsProSpecJSI` invokes.
-#import
+// `NativeRNFingerprintSpecJSI` invokes.
+#import
-@interface RNFingerprintjsPro (TurboModule)
+@interface RNFingerprint (TurboModule)
- (std::shared_ptr)getTurboModule:
(const facebook::react::ObjCTurboModule::InitParams &)params;
@end
-@implementation RNFingerprintjsPro (TurboModule)
+@implementation RNFingerprint (TurboModule)
- (std::shared_ptr)getTurboModule:
(const facebook::react::ObjCTurboModule::InitParams &)params
{
- return std::make_shared(params);
+ return std::make_shared(params);
}
@end
diff --git a/sdk/package.json b/sdk/package.json
index b3f23fca..dce66ce2 100644
--- a/sdk/package.json
+++ b/sdk/package.json
@@ -1,5 +1,5 @@
{
- "name": "@fingerprintjs/fingerprintjs-pro-react-native",
+ "name": "@fingerprint/react-native",
"version": "4.0.0-rc.0",
"description": "Official React Native client for Fingerprint. Best identification solution for React Native.",
"main": "./dist/index.js",
@@ -26,7 +26,7 @@
"src/specs",
"android",
"ios",
- "RNFingerprintjsPro.podspec",
+ "RNFingerprint.podspec",
"Package.swift",
"react-native.config.js",
"plugin/dist",
@@ -36,11 +36,11 @@
"CHANGELOG.md"
],
"codegenConfig": {
- "name": "RNFingerprintjsProSpec",
+ "name": "RNFingerprintSpec",
"type": "modules",
"jsSrcsDir": "src/specs",
"android": {
- "javaPackageName": "com.fingerprintjs.reactnative"
+ "javaPackageName": "com.fingerprint.reactnative"
}
},
"keywords": [
@@ -57,7 +57,7 @@
],
"repository": {
"type": "git",
- "url": "git+https://github.com/fingerprintjs/fingerprintjs-pro-react-native.git"
+ "url": "git+https://github.com/fingerprintjs/react-native.git"
},
"author": "FingerprintJS, Inc (https://fingerprint.com)",
"license": "MIT",
diff --git a/sdk/react-native.config.js b/sdk/react-native.config.js
index 4b1c472e..ab90aae3 100644
--- a/sdk/react-native.config.js
+++ b/sdk/react-native.config.js
@@ -1,9 +1,9 @@
// Pin this library's Swift Package Manager module name for RN 0.87's SPM
// autolinking. Without an override the autolinker derives the name from the npm
-// package (`FingerprintjsProReactNative`); we pin it to `RNFingerprintjsPro` to
+// package (`FingerprintReactNative`); we pin it to `RNFingerprint` to
// match the CocoaPods pod and the native module name. The autolinker uses this
// for its libs/ symlink and the product it references, so it must equal
// the product/package name declared in Package.swift.
module.exports = {
- spm: { name: 'RNFingerprintjsPro' },
+ spm: { name: 'RNFingerprint' },
}
diff --git a/sdk/scripts/sync-podspec-version.sh b/sdk/scripts/sync-podspec-version.sh
index 8b68ab22..40071535 100755
--- a/sdk/scripts/sync-podspec-version.sh
+++ b/sdk/scripts/sync-podspec-version.sh
@@ -5,7 +5,7 @@ set -euo pipefail
cd "$(dirname "$0")/.."
version=$(node -p "require('./package.json').version")
-podspec=RNFingerprintjsPro.podspec
+podspec=RNFingerprint.podspec
sed -E "s/^([[:space:]]*s\.version[[:space:]]*=[[:space:]]*).*/\1\"$version\"/" "$podspec" > "$podspec.tmp"
mv "$podspec.tmp" "$podspec"
diff --git a/sdk/src/FingerprintClient.ts b/sdk/src/FingerprintClient.ts
index 87edb92e..4f79960c 100644
--- a/sdk/src/FingerprintClient.ts
+++ b/sdk/src/FingerprintClient.ts
@@ -1,5 +1,5 @@
import { Platform, type CodegenTypes } from 'react-native'
-import RNFingerprintjsPro, { type NativeVisitorData } from './specs/NativeRNFingerprintjsPro'
+import RNFingerprint, { type NativeVisitorData } from './specs/NativeRNFingerprint'
import type { FingerprintClient, FingerprintResponse, GetOptions, StartOptions, TagsValue } from './types'
import { unwrapError } from './unwrapError'
import { isDefined, isTruthy } from './utils'
@@ -53,7 +53,7 @@ class NativeFingerprintClient implements FingerprintClient {
(Platform.OS === 'ios' ? ios?.allowUseOfLocationData : android?.allowUseOfLocationData) ?? false
const locationTimeoutMillis = android?.locationTimeoutMillis ?? DEFAULT_LOCATION_TIMEOUT_MILLIS
- RNFingerprintjsPro.configure(
+ RNFingerprint.configure(
apiKey,
packageVersion,
fallbacks,
@@ -66,7 +66,7 @@ class NativeFingerprintClient implements FingerprintClient {
public async get(options?: GetOptions): Promise {
try {
- const data = await RNFingerprintjsPro.getVisitorData(
+ const data = await RNFingerprint.getVisitorData(
toNativeTag(options?.tags),
options?.linkedId ?? null,
options?.timeout ?? null
diff --git a/sdk/src/specs/NativeRNFingerprintjsPro.ts b/sdk/src/specs/NativeRNFingerprint.ts
similarity index 94%
rename from sdk/src/specs/NativeRNFingerprintjsPro.ts
rename to sdk/src/specs/NativeRNFingerprint.ts
index d1ded32a..bbec70c4 100644
--- a/sdk/src/specs/NativeRNFingerprintjsPro.ts
+++ b/sdk/src/specs/NativeRNFingerprint.ts
@@ -17,7 +17,7 @@ export interface NativeVisitorData {
}
/**
- * Codegen TurboModule spec for the `RNFingerprintjsPro` native module.
+ * Codegen TurboModule spec for the `RNFingerprint` native module.
*
* Optional string/object/number arguments are modelled as nullable (`| null`); Codegen relies on
* positional arguments and native treats `null` as "not provided". Genuinely optional parameters
@@ -41,4 +41,4 @@ export interface Spec extends TurboModule {
): Promise
}
-export default TurboModuleRegistry.getEnforcing('RNFingerprintjsPro')
+export default TurboModuleRegistry.getEnforcing('RNFingerprint')