Closed chugunomi closed 4 years ago
Have exact same runtime error Any news on this, friend @MikeChugunov?
@lex-github yup. I opened issue on mapkit-demo-android and found that only mapkit 3.0.0 working nice on 0.59 and 0.60 rn versions.
https://github.com/yandex/mapkit-android-demo/issues/116#issuecomment-522602885
Anyway the issue still remains for mapkit 3.1.0 and higher, waiting for response from yandex and facebook.
Thanks for heads up, will use 3.0.0 until resolved!
@lex-github the problem with 3.0.0 is that they don't iclude 64-bit shared-libraries. So on real devices with arm64-v8a/x86_64 you'll be facing crash with
FATAL EXCEPTION: main
Process: com.mapproject, PID: 1580
java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/com.mapproject/app_lib/libgnustl_shared.so" is 32-bit instead of 64-bit
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.
Recently I started developing wrapper for native YandexMapKit module for iOS and Android. After updating RN from 0.57 to 0.59, and 0.60 (I didn't tested 0.58 yet, but most likely it causes crashes too) I started to get exceptions on android when YandexMapKit View is starts to draw.
React Native version: 0.59.10, 0.60.4, 0.60.5 (also tried 0.59.0 and 0.60.0)
Steps To Reproduce
implementation 'com.yandex.android:mapkit:3.4.0'
to your build.gradle dependenciesimport android.os.Bundle; import android.view.ViewGroup; import android.widget.LinearLayout;
import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity;
import com.yandex.mapkit.MapKitFactory; import com.yandex.mapkit.mapview.MapView;
public class MainActivity extends AppCompatActivity {
}
E/unknown:ReactNative: Exception in native call java.lang.RuntimeException: Native object for N6yandex4maps7runtime4view12PlatformViewE is of wrong smart pointer type! Exception stack trace (top 9 entries):
0: 1621304 libcom.yandex.runtime.so _ZN6yandex4maps7runtime9backtrace9BacktraceC1Ev
yarn add https://github.com/MikeChugunov/react-native-yandex-map
iOS version should render yandex map view, but android throws error screen.
I suppose that crash caused by some NDK library conflicts, and since 0.59 is required to have arm64 builds for Play Store I really looking for help.
Just to clarify: this library works without any problem in native apps