You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is hoped that this bug will not occur in production, as users are experiencing application crashes or long loading times.
Current Behavior
ARN error:
at com.amplitude.core.platform.Mediator.applyClosure (Mediator.kt:8)
The main thread is blocked here. It is waiting, trying to acquire lock 0x0392f8ad (java.util.ArrayList), held by thread 132. [Learn more](https://developer.android.com/topic/performance/anrs/find-unresponsive-thread#lock-contention)
at com.amplitude.core.platform.Timeline.applyClosure (Timeline.kt:34)
at com.amplitude.core.Amplitude.flush (Amplitude.kt:5)
at com.amplitude.amplitude_flutter.AmplitudeFlutterPlugin.onMethodCall (AmplitudeFlutterPlugin.kt:171)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage (MethodChannel.java:18)
at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler (DartMessenger.java:19)
at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0 (DartMessenger.java:42)
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loopOnce (Looper.java:233)
at android.os.Looper.loop (Looper.java:344)
at android.app.ActivityThread.main (ActivityThread.java:8212)
at java.lang.reflect.Method.invoke (Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:584)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1034)
Possible Solution
Steps to Reproduce
add amplitude_flutter: ^4.0.0-beta.1 in your pubspec.yaml
run on android device
It is not easy to replicate, as the console does not throw errors but internally it fails.
Environment
[✓] Flutter (Channel stable, 3.24.5, on macOS 14.6.1 23G93 darwin-arm64 (Rosetta), locale en-CL)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
Device: [OnePlus Nord (OnePlus Nord)] (Multiples devices)
Device OS and Version: [Android 12 (SDK 31)] (Multiples versions and OS)
The text was updated successfully, but these errors were encountered:
Expected Behavior
It is hoped that this bug will not occur in production, as users are experiencing application crashes or long loading times.
Current Behavior
ARN error:
Possible Solution
Steps to Reproduce
Environment
[✓] Flutter (Channel stable, 3.24.5, on macOS 14.6.1 23G93 darwin-arm64 (Rosetta), locale en-CL)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
The text was updated successfully, but these errors were encountered: