Skip to content

🐛 Fix not precise ProGuard rules regarding Flutter classes which lead to build failure#151

Open
AlexV525 wants to merge 1 commit into
sensorsdata:masterfrom
AlexV525:fix/android-proguard
Open

🐛 Fix not precise ProGuard rules regarding Flutter classes which lead to build failure#151
AlexV525 wants to merge 1 commit into
sensorsdata:masterfrom
AlexV525:fix/android-proguard

Conversation

@AlexV525
Copy link
Copy Markdown

Fixes sensorsdata/sensors_analytics_flutter_plugin#39

When keeping all classes under io.flutter.embedding.engine and io.flutter.embedding.android, the split application and deferred components feature will require having com.google.android.play.core dependency, leading to unexpected build failure and making it hard to find the root cause.
We only need these rules since the code reflects them. Consider adding more scopes only after further business development.

@zmtzawqlp
Copy link
Copy Markdown

@andoter0501

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

Successfully merging this pull request may close these issues.

打release包时报错 Missing classes detected while running R8.

2 participants