How to pass an array of object to a native expo module

I’m trying to pass an array of objects to Kotlin from react native but when i call it i’m getting

Error: Call to function 'ExpoSettings.printArrayOfRecords' has been rejected.
→ Caused by: java.lang.ClassCastException: com.facebook.react.bridge.ReadableNativeMap cannot be cast to expo.

internal class Person : Record {
  var name: String? = null

Function ("printArrayOfRecords") { array: Array<Person> ->
      array.forEach { record ->

Hi @aburabie

If you don’t get an answer here, maybe try the creating-expo-modules channel on Discord.