com.facebook.react.common.JavascriptException

undefined is not an object (evaluating 'e.refs.map.animateToRegion'), stack: E/AndroidRuntime(19679): <unknown>@611:5536 E/AndroidRuntime(19679): value@53:3059 E/AndroidRuntime(19679): <unknown>@53:1402 E/AndroidRuntime(19679): d@53:127 E/AndroidRuntime(19679): value@53:1372 E/AndroidRuntime(19679):

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web21

  • via GitHub by raphkr
    ,
  • via GitHub by avishayil
    ,
  • Stack trace

    • com.facebook.react.common.JavascriptException: undefined is not an object (evaluating 'e.refs.map.animateToRegion'), stack: E/AndroidRuntime(19679): <unknown>@611:5536 E/AndroidRuntime(19679): value@53:3059 E/AndroidRuntime(19679): <unknown>@53:1402 E/AndroidRuntime(19679): d@53:127 E/AndroidRuntime(19679): value@53:1372 E/AndroidRuntime(19679): at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:97) at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:81) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:318) at com.facebook.react.cxxbridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:158) at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31) at android.os.Looper.loop(Looper.java:146) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196) at java.lang.Thread.run(Thread.java:841)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    pranavprakashpranavprakash
    Once,