Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Conversation

@xster
Copy link
Member

@xster xster commented Mar 24, 2021

@@ -1,3 +1,6 @@
## 2.0.1
* Make sure androidx.lifecycle.DefaultLifecycleObservable doesn't get shrunk
away.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: empty line

# The point of this package is to specify that a dependent plugin intends to
# use the AndroidX lifecycle classes. Make sure no R8 heuristics shrink classes
# brought in by the embedding's pom.
-keep class androidx.lifecycle.DefaultLifecycleObserver
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. This is definitely a better fix than #3766. I'm surprised that by slightly changing the code, this rule isn't needed

Copy link

@blasten blasten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@blasten blasten mentioned this pull request Mar 30, 2021
11 tasks
@xster xster merged commit c631fa1 into flutter:master Mar 30, 2021
@xster xster deleted the lifecycle branch March 30, 2021 05:03
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 30, 2021
fluttergithubbot pushed a commit to flutter/flutter that referenced this pull request Mar 30, 2021
fotiDim pushed a commit to fotiDim/plugins that referenced this pull request Sep 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

2 participants