fingerprintjs / fingerprintjs-pro-react-native

Official React Native client for Fingerprint PRO. 100% accurate device identification for fraud detection.
https://fingerprint.com
MIT License
61 stars 4 forks source link

feat: upgrade rn to 0.73.2 (INTER-48) #103

Closed Alexey-Verkhovsky closed 9 months ago

Alexey-Verkhovsky commented 10 months ago
  1. Most of the changes happened by running npx react-native upgrade
  2. Upgrade requires upgrading node as well (set to latest LTS – 20)
  3. All the other changes happened just by manually solving problem after problem.
github-actions[bot] commented 10 months ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
πŸ”΄ Statements 42.4% 53/125
πŸ”΄ Branches 22.22% 8/36
πŸ”΄ Functions 42.5% 17/40
πŸ”΄ Lines 40.5% 49/121

Test suite run success

10 tests passing in 3 suites.

Report generated by πŸ§ͺjest coverage report action from 8229a3c3dd5314eacba4fa5f0cd22add9ad760a8

Show full coverage report St|File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s --|------------------------------|---------|----------|---------|---------|----------------------------------------- πŸ”΄|All files | 42.4 | 22.22 | 42.5 | 40.49 | 🟑| [FingerprintJsProAgent.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/FingerprintJsProAgent.ts)| 50 | 40 | 66.66 | 50 |[22-39](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/FingerprintJsProAgent.ts#L22-L39),[69](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/FingerprintJsProAgent.ts#L69) 🟑| [FingerprintJsProContext.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/FingerprintJsProContext.ts)| 75 | 100 | 0 | 75 |[5](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/FingerprintJsProContext.ts#L5) 🟒| [FingerprintJsProProvider.tsx](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/FingerprintJsProProvider.tsx)| 93.33 | 50 | 100 | 93.33 |[43](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/FingerprintJsProProvider.tsx#L43) πŸ”΄| [errors.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/errors.ts)| 16 | 11.11 | 16 | 16 |[8-33](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/errors.ts#L8-L33),[56-249](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/errors.ts#L56-L249),[272-273](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/errors.ts#L272-L273),[319-323](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/errors.ts#L319-L323),[330-364](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/errors.ts#L330-L364),[368](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/errors.ts#L368) πŸ”΄| [index.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/index.ts)| 0 | 0 | 0 | 0 | πŸ”΄| [types.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/types.ts)| 0 | 0 | 0 | 0 | 🟒| [useVisitorData.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/288e4b3031d3c0927d372fa5a78130b0e24f7c39/src/useVisitorData.ts)| 100 | 100 | 100 | 100 |
github-actions[bot] commented 9 months ago

Wrong commit message format detected

We use Semantic Commit Messages in our project.

Warning Probably you forgot to activate local git hooks.

Run the next command in the project root to activate local hooks:

sh ./install_hooks.sh

More info you can find in job logs

github-actions[bot] commented 9 months ago

This PR will create a major release :rocket:

3.0.0 (2024-01-22)

⚠ BREAKING CHANGES

Features

Documentation

ilfa commented 9 months ago

:tada: This PR is included in version 2.7.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

ilfa commented 9 months ago

:tada: This PR is included in version 3.0.0-test.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

ilfa commented 9 months ago

:tada: This PR is included in version 3.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: