Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How could I get offered credentials? #29

Closed
ILoomans opened this issue Mar 23, 2021 · 3 comments
Closed

How could I get offered credentials? #29

ILoomans opened this issue Mar 23, 2021 · 3 comments

Comments

@ILoomans
Copy link

Im finding the listener for the state changing in credentials to be a bit unreliable at the moment. I would like to add a refresh button to find new offered credentials. Does anyone by chance know how I could fetch all offered credentials for my agent?

So instead of using this
agentContext.agent.credentials.events.removeAllListeners(CredentialEventType.StateChanged) agentContext.agent.credentials.events.on(CredentialEventType.StateChanged, handleCredentialStateChange)

Have a button that onPress I can fetch the offered credentials for my existing connections.

Thanks allot!

@TimoGlastra
Copy link
Contributor

Not possible at the moment, but should definitely be possible. This is more a limitation of Aries Framework JavaScript than the mobile agent however. Can you open this issue over there?

@ILoomans
Copy link
Author

Sorry I will close this issue, the problem wasnt with the mobile app but with my aca-py demo.

@TimoGlastra
Copy link
Contributor

We already have query methods, but they don't store state at the moment. What other parameters would you like to query on?

jcdrouin21 pushed a commit to MCN-ING/aries-mobile-agent-react-native that referenced this issue May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants