com.facebook.react.bridge.UnexpectedNativeTypeException: TypeError: expected dynamic type `int64', but had type `boolean'

GitHub | stief510 | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 1#243898767

    GitHub | 7 months ago | stief510
    com.facebook.react.bridge.UnexpectedNativeTypeException: TypeError: expected dynamic type `int64', but had type `boolean'
  2. 0

    com.facebook.react.bridge.UnexpectedNativeTypeException: TypeError: expected dynamic type `int64', but had type `double'

    GitHub | 10 months ago | mobileDevNativeCross
    com.facebook.react.bridge.UnexpectedNativeTypeException: TypeError: expected dynamic type `int64', but had type `double'

    Root Cause Analysis

    1. com.facebook.react.bridge.UnexpectedNativeTypeException

      TypeError: expected dynamic type `int64', but had type `boolean'

      at com.facebook.react.bridge.ReadableNativeMap.getInt()
    2. com.facebook.react
      ReadableNativeMap.getInt
      1. com.facebook.react.bridge.ReadableNativeMap.getInt(Native Method)
      1 frame
    3. com.cardio
      RNCardIOModule.scanCard
      1. com.cardio.RNCardIOModule.parseConfig(RNCardIOModule.java:61)
      2. com.cardio.RNCardIOModule.scanCard(RNCardIOModule.java:43)
      2 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. com.facebook.react
      NativeRunnable.run
      1. com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:319)
      2. com.facebook.react.cxxbridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:139)
      3. com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
      3 frames
    6. Android Platform
      Handler.dispatchMessage
      1. android.os.Handler.handleCallback(Handler.java:739)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      2 frames
    7. com.facebook.react
      MessageQueueThreadHandler.dispatchMessage
      1. com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
      1 frame
    8. Android Platform
      Looper.loop
      1. android.os.Looper.loop(Looper.java:158)
      1 frame
    9. com.facebook.react
      MessageQueueThreadImpl$3.run
      1. com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
      1 frame
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:818)
      1 frame