Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The plugin is not working #8

Open
gidrokolbaska opened this issue Jul 15, 2024 · 0 comments
Open

The plugin is not working #8

gidrokolbaska opened this issue Jul 15, 2024 · 0 comments

Comments

@gidrokolbaska
Copy link

Hi. I've followed all the instructions, however, when the app starts, it throws the following error:
I/FirebaseApp(20643): Device unlocked: initializing all Firebase APIs for app [DEFAULT]
I/AppMetrica(20643): Initializing of AppMetrica, Release type, Version 6.5.0, API Level 114, Dated 26.04.2024.
W/onedo.kredito2(20643): Accessing hidden method Landroid/app/ActivityThread;->getProcessName()Ljava/lang/String; (greylist, reflection, allowed)
I/AppMetrica(20643): Activate AppMetrica with APIKey 22c7cc6d-xxxx-xxxx-xxxx-xxxxxxxxbf32
I/AppMetrica(20643): Activate reporter with APIKey 20799a27-xxxx-xxxx-xxxx-xxxxxxxx4180
I/AppMetrica(20643): Initializing of Metrica, Release type, Version 4.0.0, API Level 97, Dated 20.09.2021.
E/flutter (20643): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(AppmetricaPush.MethodCallHandlerImpl, YandexMetrica isn't initialized. Use YandexMetrica#activate(android.content.Context, String) method to activate. See more at https://appmetrica.yandex.ru/docs/mobile-sdk-dg/push/android-initialize.html, java.lang.IllegalStateException: YandexMetrica isn't initialized. Use YandexMetrica#activate(android.content.Context, String) method to activate. See more at https://appmetrica.yandex.ru/docs/mobile-sdk-dg/push/android-initialize.html
E/flutter (20643): at com.yandex.metrica.push.impl.a.a(SourceFile:178)
E/flutter (20643): at com.yandex.metrica.push.impl.a.l(SourceFile:1)
E/flutter (20643): at com.yandex.metrica.push.YandexMetricaPush.init(SourceFile:5)
E/flutter (20643): at ru.madbrains.appmetrica_push_android.MethodCallHandlerImpl.onActivate(MethodCallHandlerImpl.kt:60)
E/flutter (20643): at ru.madbrains.appmetrica_push_android.MethodCallHandlerImpl.onMethodCall(MethodCallHandlerImpl.kt:29)
E/flutter (20643): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267)
E/flutter (20643): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292)
E/flutter (20643): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319)
E/flutter (20643): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/flutter (20643): at android.os.Handler.handleCallback(Handler.java:938)
E/flutter (20643): at android.os.Handler.dispatchMessage(Handler.java:99)
E/flutter (20643): at android.os.Looper.loop(Looper.java:223)
E/flutter (20643): at android.app.ActivityThread.main(ActivityThread.java:7656)
E/flutter (20643): at java.lang.reflect.Method.invoke(Native Method)
E/flutter (20643): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/flutter (20643): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
E/flutter (20643): , null)
E/flutter (20643): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:648:7)
E/flutter (20643): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334:18)
E/flutter (20643):
E/flutter (20643): #2 main (package:kredito24/main.dart:40:3)
E/flutter (20643):
E/flutter (20643):
I/AppMetrica(20643): Activate reporter with APIKey 0e5e9c33-xxxx-xxxx-xxxx-xxxxxxxx3f72
I/AppMetrica(20643): Activate reporter with APIKey 20799a27-xxxx-xxxx-xxxx-xxxxxxxx4180

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

No branches or pull requests

1 participant