Open sureshg opened 8 years ago
First of all, you should not only import api.dart
, because it does not provide implementations of the algorithms. Import pointycastle.dart
instead: it exports api.dart
and impl.dart
.
The error seems to be related to Angular. Did you add the Angular piece to your pubspec.yaml
file?
I know this sounds silly, but try changing the transformer order (reflectable first or angular first), that might make a difference.
Luckily, the next version of Dart should support conditional imports, so we can get rid of reflectable.
Btw, right now, you can use PC without mirrors or reflectable.
Tried using pointy castle in an Angular Dart2 app, but it failed to load the component . Is this something recommended to use in client-side apps?
Configuration used,
Things are fine if i remove the
pointycastle
imports.