Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dart 2.0 can't find ExtraInjector with Proguard minify enabled #214

Open
jt535 opened this issue May 24, 2018 · 0 comments
Open

Dart 2.0 can't find ExtraInjector with Proguard minify enabled #214

jt535 opened this issue May 24, 2018 · 0 comments

Comments

@jt535
Copy link

jt535 commented May 24, 2018

Dart 2.0.3 couldn't find the ExtraInjector for any of my Activities when I had proguard turned on with minifyEnabled true

In my proguard-rules.pro, I had the rules from the wiki

...
-keep class **__ExtraBinder { *; }
...

I think that line should be replaced with

...
-keep class **$$ExtraInjector { *; } //this is needed so that proguard doesn't delete the injectors
-keepnames class **$$ExtraInjector { *; } //this is needed so that proguard doesn't change their names
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant