Open JaseElder opened 1 month ago
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!
@JaseElder Thank you for reporting this! One follow up question if you don't mind so that we can try to reproduce this 💪
1) Are you experiencing this on emulators or also on real Android devices? 2) Is this a repeatable thing you are seeing every time? Or is this only happening sometimes?
Thanks!
1. Are you experiencing this on emulators or also on real Android devices?
I haven't checked on emulator - experiencing on real devices. The above was on a Samsung Tab Active 2 running Android API 28 Running on a OnePlus Nord 2T 5G (Android API 34) I get a slightly different set of logs:
W/tomoto.roadbook(10030): Method java.lang.Object androidx.compose.runtime.snapshots.SnapshotStateMap.mutate(kotlin.jvm.functions.Function1) failed lock verification and will run slower. W/tomoto.roadbook(10030): Common causes for lock verification issues are non-optimized dex code W/tomoto.roadbook(10030): and incorrect proguard optimizations. W/tomoto.roadbook(10030): Method void androidx.compose.runtime.snapshots.SnapshotStateMap.update(kotlin.jvm.functions.Function1) failed lock verification and will run slower. W/tomoto.roadbook(10030): Method boolean androidx.compose.runtime.snapshots.SnapshotStateMap.removeIf$runtime_release(kotlin.jvm.functions.Function1) failed lock verification and will run slower.
2. Is this a repeatable thing you are seeing every time? Or is this only happening sometimes?
It seems to happen every time the paywall is invoked
‼️ Required data ‼️
Do not remove any of the steps from the template below. If a step is not applicable to your issue, please leave that step empty.
There are a lot of things that can contribute to things not working. Having a very basic understanding of your environment will help us understand your issue faster!
Environment
flutter doctor
[✓] Flutter (Channel stable, 3.22.2, on macOS 13.6.7 22G720 darwin-x64, locale en-GB) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.2) [✓] Chrome - develop for the web [✓] Android Studio (version 2024.1) [✓] IntelliJ IDEA Community Edition (version 2023.3.5) [✓] Connected device (3 available) [✓] Network resources• No issues found!
[x] Version of
purchases-flutter
purchases_ui_flutter: ^6.30.0 purchases_flutter: ^6.30.0[x] Testing device version e.g.: iOS 15.5, Android API 30, etc. Android API 28
[ ] How often the issue occurs- every one of your customers is impacted? Only in dev?
[x] Debug logs that reproduce the issue
Describe the bug
Getting the below in the above logs, and the paywall is slow to display.
Class androidx.compose.runtime.snapshots.SnapshotStateMap failed lock verification and will run slower. Common causes for lock verification issues are non-optimized dex code and incorrect proguard optimizations.
Additional context
Add any other context about the problem here.