Incomplete Response from UtilsApi.vcxGetMessages method
STEPS TO REPRODUCE
- Scan the QR code from the test server to make a connection.
- Successfully make a connection.
- Go to test server and create schema and credential definition (if not done before)
- Issue a digital credential to the already connected recipient(give dummy values to the credential attributes).
- Click on Send Credential Offer
Now from the app, retrieve the response from UtilsApi.vcxGetMessages
method
The first two messages( with MS-104 as message status) for the DID is related to the connection.
The third message is the one related to the credential offered.
So, I expected to receive the credential offer which is present in the cloud agent by calling the UtilsApi.vcxGetMessages
method. I have received the message with status, MS-103, and contains the credential offered. But the response is incomplete and is in a bad JSON format. I need this credential offer to proceed with https://github.com/evernym/mobile-sdk/blob/master/4.Credentials.md#Receive-and-generate-the-credential step, which is to accept the credential offered.
Edited by prajwal s belagavi