oblador / react-native-vector-icons

Customizable Icons for React Native with support for image source and full styling.
https://oblador.github.io/react-native-vector-icons/
MIT License
17.31k stars 2.12k forks source link

RNVectorIconsModule.getImageForFont got 7 arguments, expected 6 #1391

Closed naumanpathan closed 11 months ago

naumanpathan commented 2 years ago
2021-10-27 17:08:51.028 9288-9374/com.jivemarket E/unknown:ReactNative: Exception in native call
    com.facebook.react.bridge.NativeArgumentsParseException: RNVectorIconsModule.getImageForFont got 7 arguments, expected 6
        at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:353)
        at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:160)
        at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
        at android.os.Handler.handleCallback(Handler.java:938)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)
        at android.os.Looper.loop(Looper.java:223)
        at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:192)
        at java.lang.Thread.run(Thread.java:923)
2021-10-27 17:08:51.030 9288-9288/com.jivemarket E/unknown:ReactNative: Unable to launch redbox because react activity is not available, here is the error that redbox would've displayed: RNVectorIconsModule.getImageForFont got 7 arguments, expected 6

The configuration is:

Node: v10.16.0
npm: 6.9.0

A package.json:

 ...
 ...
"dependencies": {
    ....
    ....
    "react-native-vector-icons": "^6.1.0",
    ....
    ....
  },
  ...
  ...

Waiting for the solution.

Thanks in advance. :-)

johnf commented 11 months ago

If this is still an issue, please comment with some example code and I'll reopen and assist