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
What is "sometimes"? Can you say how many times you have to show/hide before it crashes or do you have steps to reproduce? Generally, it is a bad idea to hide the map after it's shown. We're hacking the layout on Android to allow the plugin to work so messing around with the views is not recommended.
Sometimes the app crashes when doing mapHide()
W/dalvikvm( 6250): threadid=1: thread exiting with uncaught exception (group=0x4184cda0)
E/AndroidRuntime( 6250): FATAL EXCEPTION: main
E/AndroidRuntime( 6250): Process: com.superapp.SuperApp, PID: 6250
E/AndroidRuntime( 6250): java.lang.NullPointerException
E/AndroidRuntime( 6250): at com.phonegap.plugins.mapkit.MapKit$4.run(MapKit.java:369)
E/AndroidRuntime( 6250): at android.os.Handler.handleCallback(Handler.java:733)
E/AndroidRuntime( 6250): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 6250): at android.os.Looper.loop(Looper.java:157)
E/AndroidRuntime( 6250): at android.app.ActivityThread.main(ActivityThread.java:5356)
E/AndroidRuntime( 6250): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 6250): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 6250): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
E/AndroidRuntime( 6250): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
E/AndroidRuntime( 6250): at dalvik.system.NativeStart.main(Native Method)
The text was updated successfully, but these errors were encountered: