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

After upgrade to expo sdk 51 YaMap.init() crashes the app #278

Open
etareduction opened this issue May 9, 2024 · 1 comment
Open

After upgrade to expo sdk 51 YaMap.init() crashes the app #278

etareduction opened this issue May 9, 2024 · 1 comment

Comments

@etareduction
Copy link

App crashes with the following error:

@example/expo:dev: java.lang.IncompatibleClassChangeError: Found interface com.google.android.gms.location.FusedLocationProviderClient, but class was expected (declaration of 'com.google.android.gms.location.FusedLocationProviderClient' appears in /data/app/~~MzJmh4kFaJk2p1Lfy_prWQ==/example.com-eyDxkEVHUy_ZPyZEw3wVbg==/base.apk!classes6.dex)
@example/expo:dev:   com.yandex.runtime.sensors.internal.FusedLocationSubscription.onConnected(FusedLocationSubscription.java:71)
@example/expo:dev:   com.google.android.gms.common.internal.zak.zad(com.google.android.gms:play-services-base@@18.1.0:11)
@example/expo:dev:   com.google.android.gms.common.api.internal.zabe.zab(com.google.android.gms:play-services-base@@18.1.0:3)
@example/expo:dev:   com.google.android.gms.common.api.internal.zaaw.zaC(com.google.android.gms:play-services-base@@18.1.0:11)
@example/expo:dev:   com.google.android.gms.common.api.internal.zaaw.zag(com.google.android.gms:play-services-base@@18.1.0:4)
@example/expo:dev:   com.google.android.gms.common.api.internal.zabi.onConnected(com.google.android.gms:play-services-base@@18.1.0:2)
@example/expo:dev:   com.google.android.gms.common.api.internal.zat.onConnected(com.google.android.gms:play-services-base@@18.1.0:1)
@example/expo:dev:   com.google.android.gms.common.internal.zah.onConnected(com.google.android.gms:play-services-base@@18.1.0:1)
@example/expo:dev:   com.google.android.gms.common.internal.zzf.zzd(com.google.android.gms:play-services-basement@@18.1.0:10)
@example/expo:dev:   com.google.android.gms.common.internal.zza.zza(com.google.android.gms:play-services-basement@@18.1.0:4)
@example/expo:dev:   com.google.android.gms.common.internal.zzc.zze(com.google.android.gms:play-services-basement@@18.1.0:3)
@example/expo:dev:   com.google.android.gms.common.internal.zzb.handleMessage(com.google.android.gms:play-services-basement@@18.1.0:31)
@example/expo:dev:   android.os.Handler.dispatchMessage(Handler.java:106)
@example/expo:dev:   android.os.Looper.loopOnce(Looper.java:232)
@example/expo:dev:   android.os.Looper.loop(Looper.java:334)
@example/expo:dev:   android.app.ActivityThread.main(ActivityThread.java:8291)
@example/expo:dev:   java.lang.reflect.Method.invoke(Native Method)
@example/expo:dev:   com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:557)
@example/expo:dev:   com.android.internal.os.ZygoteInit.main(ZygoteInit.java:981)

Upgrading mapkit sdk and/or google gms would probably help

@z3hdro
Copy link

z3hdro commented May 23, 2024

I have the same issue, seems like there are need some changes in native code

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

2 participants