hyperledger-archives / aries-mobile-agent-xamarin

Apache License 2.0
38 stars 31 forks source link

Credential - Send Offer state not changing #16

Closed sahil-khanna closed 3 years ago

sahil-khanna commented 3 years ago

Describe the bug

I have the following setup

The connection between the mobile app and the ACA-Py agent is established and active. The ACA-Py agent wants to issue a credential to the Mobile agent. Below are the steps being followed.

  1. ACA-Py sends a credential offer to the Mobile agent
  2. The state of the credential in ACA-Py is offer_sent
  3. The mobile agent gets the offer with the state Offered
  4. The Mobile agent invokes the below method credentialService.CreateRequestAsync
  5. The state of the credential in the Mobile agent is changed from Offered to Requested
  6. The state of the credential in the ACA-Py agent remains offer_sent

Issue

The state of the credential in the ACA-Py agent should change from offer_sent to request_received (after step 5), however, it doesn't change.

This seems to work fine when two ACA-Py agents exchange credentials with each other

Steps To Reproduce

Given in the description

Screenshots

NA

Desktop (please complete the following information):

Additional context

NA

sahil-khanna commented 3 years ago

This works fine if the below order if followed