diefferson / http_certificate_pinning

Https Certificate pinning for Flutter
Apache License 2.0
83 stars 70 forks source link

Android HttpCertificatePinningPlugin issue #58

Closed nrobi144 closed 8 months ago

nrobi144 commented 8 months ago

Stacktrace

plugins/GeneratedPluginRegistrant.java:114: error: cannot find symbol
      flutterEngine.getPlugins().add(new diefferson.http_certificate_pinning.HttpCertificatePinningPlugin());
                                                                            ^
  symbol:   class HttpCertificatePinningPlugin
  location: package diefferson.http_certificate_pinning

Version

environment:
  sdk: ">=3.0.0 <4.0.0"
  flutter: 3.13.0

http_certificate_pinning: 2.1.1
diefferson commented 8 months ago

Hey @nrobi144 did you added the lib bellow the line: dependencies: ?

nrobi144 commented 8 months ago

yes, weirdly enough it was fixed by flutter clean, but only after the 2nd or 3rd attempt