-
Notifications
You must be signed in to change notification settings - Fork 14
Request presentation message is failing in Android release build #23
Comments
Thanks for opening this issue @marcinkiewiczblazej. It seems like this is a problem with Aries Framework JavaScript, but it is weird this is only happening in the release build. Do you have a copy of the proof request you're sending on the verifier side? And maybe also the complete message that is received on the holder side? |
@JamesKEbert is this the issue you were running into with maps? |
Here's the message sent from verifier (it's sent using aca-py admin endpoint
Here's the request that arrives on the holder side:
|
There were also errors about strings, arrays, eg:
|
@TimoGlastra we've found the issue. For Android we've had to enable Hermes, without it we couldn't make agent work properly. It turns out that in release build Hermes is messing up with the validation library used in AFJ, but only in the |
When handling request presentation message I'm getting an error:
Unfortunately the message is quite long and gets truncated. I've been digging deeper and it seems that the provided message is failing on validation. Example error (I've added few more logs to catch that):
In the message that arrived
requestedPredicates
was empty map:The very same message is correctly processed by debug Android build. There's also no problem with iOS version, both release and debug.
I've tested versions 1.14 and 1.15. Result is the same. The only setup difference is that Android version is using Hermes. Without it, it was failing on zmq.
The text was updated successfully, but these errors were encountered: