Giter Site home page Giter Site logo

fingerprintjs / fingerprintjs-pro-flutter Goto Github PK

View Code? Open in Web Editor NEW
35.0 11.0 13.0 378 KB

A Flutter plugin for the native FingerprintJS Pro libraries

License: MIT License

Kotlin 8.90% Shell 0.90% Ruby 2.99% Swift 9.86% Objective-C 0.87% Dart 70.19% HTML 5.02% TypeScript 0.08% JavaScript 1.19%
dart fingerprint fingerprinting fingerprintjs fingerprintjs-pro flutter flutter-plugin fraud fraud-detection identification

fingerprintjs-pro-flutter's Issues

Ask about Google and Apple privacy policies

My development team has a question: Does Fringerprint Pro qualify the Google and Apple privacy policies?
As I know, they changed their policies recently for mobile applications to reduce user tracking

Flutter Web Integration?

Hey guys. Is there a reason why you did not implement stuff for the flutter web platform? We use web, android and ios for our app.

Error running while using the extendedResponseFormat set to true.

Hello guys, I hope I could get some help wto identify the issue I'm running into.

Description

When trying to get VisitorData while using the extendedResponseFormat set to true, I receive an error stating Null is not a subtype of Map<dynamic, dynamic>. This error occurs both when importing the library into my own project and when running the example project provided by the library.

Steps to Reproduce

  1. Import the fpjs_pro_plugin library into your project or run the example project.
  2. Call the initializer (initFpjs) with extendedResponseFormat set to true.
  3. Call the getVisitorData function
  4. Run the application.

Error

The log show the following error and stack:

Unhandled Exception: type 'Null' is not a subtype of type 'Map<dynamic, dynamic>'
#0      new FingerprintJSProExtendedResponse.fromJson (package:fpjs_pro_plugin/result.dart:83:63)
#1      FpjsProPlugin.getVisitorData (package:fpjs_pro_plugin/fpjs_pro_plugin.dart:89:46)
<asynchronous suspension>
#2      _MyAppState._getDeviceData (package:fpjs_pro_plugin_example/main.dart:109:26)
<asynchronous suspension>
#3      _ExtendedResultDialog.build.<anonymous closure>.<anonymous closure> (package:fpjs_pro_plugin_example/main.dart:185:35)
<asynchronous suspension>

Environment

  • Library version: 3.0.0
  • Test Devices: iPhone16,1 running iOS 17.5.1, Android emulator
  • Flutter Doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.3, on macOS 14.5 23F79 darwin-x64, locale pt-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.91.1)
[✓] Connected device (6 available)
[✓] Network resources

Android native plugin doesn't support AGP 8.0

Android Flutter plugins should add namespace under android inside the build configuration for the app.
Something like this.

Steps to reproduce

  • Create a new Flutter Application (empty)
  • Use Android Studio's "AGP Upgrade Assistant" to upgrade to Gradle 8
  • flutter pub add fpjs_pro_plugin

Also check official android documentation here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.