diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 52929a81cf..c800b9d996 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -35,3 +35,8 @@ -dontwarn org.conscrypt.** -dontwarn org.bouncycastle.** -dontwarn org.openjsse.** + +# Needed for Posthog +-keepclassmembers class android.view.JavaViewSpy { + static int windowAttachCount(android.view.View); +} diff --git a/changelog.d/+crash-sending-image-with-latest-posthog.bugfix b/changelog.d/+crash-sending-image-with-latest-posthog.bugfix new file mode 100644 index 0000000000..1b299991bb --- /dev/null +++ b/changelog.d/+crash-sending-image-with-latest-posthog.bugfix @@ -0,0 +1 @@ +Fix crash sending image with latest Posthog because of an usage of an internal Android method.