I am running a Safari extension on my phone and getting this error when running browser.runtime.sendNativeMessage({...});
I am only getting this error when sending a specific message, other messages return as expected. When I run on the simulator I do not get this error.
Does anyone one what Code=3
represents?
To add some additional clarity, the message that is failing returns an array of of dictionaries
[[String: Any]]
. It seems that when the array length is greater than6
the error occurs, however if the array is less than6
it does not occur.