I am passing enum
to the android native module, but I get this error at run time:
[ERROR] : JNIUtil: !!! Unable to convert unknown Java object class 'miy.Enums$Status' to Js value !!!
[INFO] : libc: Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 6614 (KrollRuntimeThr)
The above error is displayed before the function in the native module is even called, so it seems like the issue is in JNI layer.
So how do I pass enum
to a native module?